i am trying to use string matching with iptables but everytime it says no chain target match by that name...
i've copied libipt_string.so from another place and my iptables version is
iptables v1.2.11
Code:
[root@memati ~]# iptables -I INPUT -m string -p udp --dport 27015 --string '""\"' -j DROP
iptables: No chain/target/match by that name
i also cannot update my iptables to v1.3.7
Code:
[root@memati iptables-1.3.7]# make
Extensions found: IPv4:recent IPv6:esp
cc -O2 -Wall -Wunused -I"/lib/modules/2.6.9-42.0.3.ELsmp/build"/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.7\" -fPIC -o extensions/libipt_ah_sh.o -c extensions/libipt_ah.c
In file included from /lib/modules/2.6.9-42.0.3.ELsmp/build/include/linux/netfilter_ipv4.h:8,
from /lib/modules/2.6.9-42.0.3.ELsmp/build/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_ah.c:8:
/lib/modules/2.6.9-42.0.3.ELsmp/build/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
make: *** [extensions/libipt_ah_sh.o] Error 1
any help =)