Jan Engelhardt wrote:
On Aug 21 2007 16:21, Marco Aurelio da Silva wrote:
Did you set KERNEL_DIR to your kernel source (/usr/src/linux)? Only with it can you compile libxt_TROXY, libxt_tproxy and some other modules (see extensions/.tproxy-testx)
Yes, I used make KERNELDIR=/usr/src/linux, and nothing. Then I edit .tproxy-testx and point to my kernel (/usr/src/linux-2.6.22.4) and nothing.
chmod 755 extensions/.*-test* then retry.
I did this before but No way.... It didn't compile.
Post an error message!
I don't know more what to do... The kernel modules are OK, I modprobe then OK but I cant use iptables.
Post an error message! (if you have not done so yet)
Jan
No erros are returned: This is what I did: -------------------------------- root@srvsistema:/usr/local/teste/iptables-1.3.8# cat /usr/local/src/tproxy-4.0.1-2.6.22/patches/iptables-r7008-tproxy.diff | patch -p1 patching file extensions/libxt_tproxy.c patching file extensions/libxt_TPROXY.c patching file extensions/libxt_tproxy.man patching file extensions/libxt_TPROXY.man patching file extensions/.tproxy-testx root@srvsistema:/usr/local/src/iptables-1.3.8# chmod 777 extensions/.*-test* in extensions/.tproxy-testx: #!/bin/sh [ -f $KERNEL_DIR/include/linux/netfilter/xt_TPROXY.h ] && echo TPROXY [ -f $KERNEL_DIR/net/netfilter/xt_tproxy.c ] && echo tproxy root@srvsistema:/usr/local/src/iptables-1.3.8# make KERNEL_DIR=/usr/src/linux Extensions found: IPv4:CLUSTERIP IPv4:NFLOG IPv4:connbytes IPv4:dccp IPv4:quota IPv4:recent IPv4:statistic IPv4:string IPv6:NFLOG IPv6:REJECT IPv6:ah IPv6:esp IPv6:frag IPv6:hashlimit IPv6:ipv6header IPv6:mh IPv6:rt IPv6:sctp root@srvsistema:/usr/local/src/iptables-1.3.8# make install ----------------------------------------------------------------- But it don't compile .so files for tproxy root@srvsistema:/usr/local/src/iptables-1.3.8/extensions# iptables -m tproxy --help iptables v1.3.8: Couldn't load match `tproxy':/usr/local/lib/iptables/libipt_tproxy.so: cannot open shared object file: No such file or directory Thanks.