[zorp] running policy.py error

조성우 chosw at qmoist.com
Fri Apr 4 08:48:56 CEST 2008


 

Now, I’m trying to study your tremendous job, zorp.

So, first of all, thank you for your sharing such a good proxy source.

Anyway, I have some problem with running zorp.

Please see the stack dump log below.

 

Apr 04 21:54:06 (nosession): Starting up; verbose_level='5',
version='3.1.12', startup_id='1207313646'

[New Thread -1208752368 (LWP 31777)]

[Detaching after fork from child process 31780. (Try `set detach-on-fork
off'.)]

[New Thread -1208755312 (LWP 31782)]

Apr 04 21:54:06 (nosession): Outbound service; zone='site-net',
service='intra_http'

Apr 04 21:54:06 (nosession): Outbound service; zone='site-net',
service='intra_ftp'

Apr 04 21:54:06 (nosession): Outbound service; zone='site-net',
service='intra_cvs'

Apr 04 21:54:06 (nosession): Inbound service; zone='local', service='*'

Apr 04 21:54:06 (nosession): Inbound service; zone='internet', service='*'

*** glibc detected *** /home2/zorp/zorptest: munmap_chunk(): invalid
pointer: 0xb7e7e350 ***

 

warning: Missing the separate debug info file: /usr/lib/debug/.build-
id/db/8cb95645d5df469d4aece301cdb5e60087be21.debug

======= Backtrace: =========

/lib/libc.so.6(cfree+0x1bb)[0x50221b]

/usr/local/lib/libzorp.so.0[0x1417bc]

/usr/lib/libpython2.5.so.1.0[0x619361d]

/usr/lib/libpython2.5.so.1.0(PyEval_EvalFrameEx+0x316b)[0x61c95db]

/usr/lib/libpython2.5.so.1.0(PyEval_EvalCodeEx+0x7ef)[0x61cd69f]

/usr/lib/libpython2.5.so.1.0[0x616c1ea]

/usr/lib/libpython2.5.so.1.0(PyObject_Call+0x37)[0x614d137]

/usr/lib/libpython2.5.so.1.0[0x614e423]

/usr/lib/libpython2.5.so.1.0(PyObject_CallFunction+0x3f)[0x614e70f]

/usr/local/lib/libzorp.so.0(z_policy_init+0x89)[0x123a8a]

/usr/local/lib/libzorp.so.0(z_load_policy+0xbf)[0x12579f]

/usr/local/lib/libzorp.so.0(z_main_loop+0x24)[0x125919]

/home2/zorp/zorptest[0x804a682]

/lib/libc.so.6(__libc_start_main+0xe0)[0x4ab390]

 

Actually I can not found DNS.py which is imported in “Matcher.py”

So, I download it from “ <http://pydns.sourceforge.net/index.html>
http://pydns.sourceforge.net/index.html” but there is no method called
“DiscoverNameServers”

So I remarked the line of calling “DiscoverNameServers” and then got the
python error posted above.

 

I guess there are two possibilities, the first is using wrong “policy.py”
and the other is using wrong “DNS.py”.

Please give a direction. Thanks.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/zorp/attachments/20080404/a09bb79b/attachment.htm 


More information about the zorp mailing list