There are some problems with iptables 1.3.6 loading ipp2p dynamic
library libipt_ipp2p.so. One would usually get error like this:

# iptables -m ipp2p -h
iptables v1.3.6: X Couldn't load match `ipp2p'

Solution is to use gcc instead of ld to create the library. It worked
for me on Debian Sarge, but maybe someone else could try on other
distributions?

--
Vytautas

--- ipp2p-0.8.2/Makefile        2006-12-09 03:17:52.000000000 +0200
+++ ipp2p-0.8.2-fix/Makefile    2006-12-09 03:10:37.000000000 +0200
@@ -64,7 +64,7 @@
 
 libipt_ipp2p.so: libipt_ipp2p.c ipt_ipp2p.h
        $(CC) $(CFLAGS) $(IPTABLES_OPTION) $(IPTABLES_INCLUDE) -fPIC -c 
libipt_ipp2p.c
-       ld -shared -o libipt_ipp2p.so libipt_ipp2p.o
+       $(CC) -shared -o libipt_ipp2p.so libipt_ipp2p.o
 
 clean:
        -rm -f *.o *.so *.ko .*.cmd *.mod.c
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Reply via email to