state --string

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

 



Hi Friends,

How do for write the rule as bellow ?

iptables -A FORWARD -p tcp -m state --state NEW -m string --string

Have you what compile the module string ?

Thanks,

Ralf Braga



Shawn wrote:

Having some trouble?

On Mon, 2003-07-28 at 16:42, juanca wrote:


iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -p tcp -m state --state NEW -m string --string "Kazaa" -j DROP


this is my rulset but get this message when run the script what`s wrong?
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
Bad argument `tcp'
Try `iptables -h' or 'iptables --help' for more information.
Bad argument `udp'
Try `iptables -h' or 'iptables --help' for more information.
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables v1.2.6a: Couldn't load match `--string':/lib/iptables/libipt_--string.so: cannot open shared object file: No such file or directory


Try `iptables -h' or 'iptables --help' for more information.
iptables: No chain/target/match by that name












[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