[zorp] iptables configuration for zorp alg

Tillmann Werner zorp@lists.balabit.hu
Thu, 24 Feb 2005 05:40:51 +0100


>   Hmm, this may be a problem, since only the 3.0 branch of Zorp is
> compatible with Linux 2.6... (To be more accurate, only TProxy 2.0
> has a Linux 2.6 version available, and only Zorp 3 has support for
> TProxy 2.0.)


>   Yes, as I've stated above it's incompatible with TProxy 2.0. Please
> try to upgrade to Zorp 3 GPL, it is probably a better choice than
> downgrading your UML kernel to 2.4. If you have any compilation
> problems, please let us know.

I downloaded the libzorpll_3.0.5.3.tar.gz, which compiles well.
Zorp itself from zorp_3.0.3.tar.gz does not, it breaks in zorp:

Making all in zorp
make[2]: Entering directory `/usr/src/zorp-'
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/src/zorp- 
-I/usr/src/zorp-  -D_GNU_SOURCE -pthread -I/usr/local/include 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     
-I/usr/include/python2.3 -I/usr/include/python2.3/ExtensionClass  -O2  
-Wall -W -g -D_GNU_SOURCE -MT main.o -MD -MP -MF ".deps/main.Tpo" \
  -c -o main.o `test -f 'main.c' || echo './'`main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
main.c: In function `z_main_loop':
main.c:302: warning: implicit declaration of function 
main.c: In function `z_version':
main.c:348: warning: too few arguments for format
main.c: In function `main':
main.c:643: warning: passing arg 2 of `z_log_init' makes pointer from 
integer without a cast
main.c:643: warning: passing arg 3 of `z_log_init' makes integer from 
pointer without a cast
main.c:643: error: too many arguments to function `z_log_init'
main.c:643: error: wrong type argument to unary exclamation mark
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/usr/src/zorp-'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/zorp-'
make: *** [all] Error 2

A quick look at z_log_init tells that there is no parameter for 
verbose_level, i I am right.