Re: string is not working, any help?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Esteban wrote:
<snip>
root@xxxxxx:~# iptables -t mangle -A PREROUTING -p tcp -m --string
"pepee" -j DROP
iptables v1.2.7a: Couldn't load match
`--string':/lib/iptables/libipt_--string.so:

The clue is above. You don't have 'so' called libipt_--string, it's called libipt_string.so


cannot open shared object
file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.

why is not working --string match??
im using pom version patch-o-matic-20030107 under 2.4.20 kernel.

The correct syntax is :


iptables -t mangle -A PREROUTING -p tcp -m string "pepee" -j DROP

Cheers,
Michael



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux