ipp2p 0.8.2 fix for iptables 1.3.6
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?
Signature · 1 line
Vytautas
Makefile +1 -1
@@ -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