RE: Problem using "string" support on iptables

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

 



Hi,

> iptables -I FORWARD -p tcp --dport 1863 -m string --string "someuser" -j
> DROP
> 
> And i get this error:
> 
> iptables v1.3.5: STRING match: You must specify `--algo'
> 
> Why i get that problem?

  1st of all, use the string module in the raw table. Then:

  -m string --string "your string" --algo bm

Ruben




[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