From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ralf Braga Subject: state --string Date: Mon, 28 Jul 2003 21:40:52 -0300 Sender: netfilter-admin@lists.netfilter.org Message-ID: <3F25C294.1090506@4linux.com.br> References: <3F2598BD.6050302@sat.com.py> <1059429064.6146.11.camel@localhost> Reply-To: ralf@4linux.com.br Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Shawn Cc: juanca , "netfilter@lists.netfilter.org" 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 >> >> > > > > >