[zorp] Stacking programs doesn’t work and how to modify POST parameters?

thomas.wenz at gmx-topmail.de thomas.wenz at gmx-topmail.de
Fri Jul 4 01:47:48 CEST 2008


Hi,

Thanks for the release. Unfortunately, it doesn't work yet:

The library compiles fine but Zorp itself not. I've attached the error below. It seems like
zorp/misc/zcp.h is missing (which is somewhat clear because the ZCP isn't part of GPL 
version as far as I know).
I then removed the "#include <zorp/misc/zcp.h>" and "ZCPContext *control_proto;"
from the proxystack.h but I'm unsure if this could lead to problems because I'm 
changing the ZStackedProxy struct? Without these two lines, compilation works.

I installed it with this change and upon starting Zorp I get the following error:
===========================================
Starting Zorp Firewall Suite: Traceback (most recent call last):
  File "/home/fw/conf/http.py", line 1, in ?
    from Zorp.Core import *
  File "/usr/share/zorp/pylib/Zorp/Core.py", line 38, in ?
    from Zone import InetZone
  File "/usr/share/zorp/pylib/Zorp/Zone.py", line 135, in ?
    import kznf.kznfnetlink
ImportError: No module named kznf.kznfnetlink
===========================================
This import is used in multiple python-files of Zorp (Dispatch, KZorp, NAT, Service, 
Zone). It seems to be not an official library as I couldn't find anything about it.
I couldn't figure out how to solve this...

Thomas Wenz
 

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/compile/zorp/zorp-3.3.1a+20080704+0000/lib -I/home/compile/zorp/zorp-3.3.1a+20080704+0000 -D_GNU_SOURCE -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/python2.4 -O2 -Wall -W -Werror-implicit-function-declaration -g -D_GNU_SOURCE -MT proxystack.lo -MD -MP -MF .deps/proxystack.Tpo -c proxystack.c  -fPIC -DPIC -o .libs/proxystack.o
In file included from proxystack.c:30:
./zorp/proxystack.h:32:27: error: zorp/misc/zcp.h: File or directory not found
In file included from proxystack.c:30:
./zorp/proxystack.h:50: error: expected specifier-qualifier-list before âZCPContextâ
proxystack.c: In function âz_proxy_stack_tupleâ:
proxystack.c:267: warning: unused variable âprovider_nameâ
proxystack.c:267: warning: unused variable âstack_infoâ
proxystack.c:266: warning: unused variable âsaâ
proxystack.c: In function âz_stacked_proxy_newâ:
proxystack.c:390: error: âZStackedProxyâ has no member named âproxyâ
proxystack.c:392: error: âZStackedProxyâ has no member named âchild_proxyâ
proxystack.c: In function âz_stacked_proxy_destroyâ:
proxystack.c:438: error: âZStackedProxyâ has no member named âchild_proxyâ
proxystack.c:440: error: âZStackedProxyâ has no member named âproxyâ
proxystack.c:440: error: âZStackedProxyâ has no member named âchild_proxyâ
proxystack.c:441: error: âZStackedProxyâ has no member named âchild_proxyâ
proxystack.c:442: error: âZStackedProxyâ has no member named âchild_proxyâ
proxystack.c:444: error: âZStackedProxyâ has no member named âproxyâ
proxystack.c:446: error: âZStackedProxyâ has no member named âproxyâ
proxystack.c:447: error: âZStackedProxyâ has no member named âproxyâ
make[4]: *** [proxystack.lo] Error 1
make[4]: Leaving directory `/home/compile/zorp/zorp-3.3.1a+20080704+0000/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/compile/zorp/zorp-3.3.1a+20080704+0000/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/compile/zorp/zorp-3.3.1a+20080704+0000'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/compile/zorp/zorp-3.3.1a+20080704+0000'
make: *** [build-stamp] Error 2
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser


More information about the zorp mailing list