From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Kearey Subject: Re: string is not working, any help? Date: Wed, 11 Jun 2003 11:16:32 +1000 Sender: netfilter-admin@lists.netfilter.org Message-ID: <3EE682F0.60800@iprimus.com.au> References: <1055289564.829.3.camel@dejawu> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1055289564.829.3.camel@dejawu> 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: IPtables Users Esteban wrote: > root@dejawu:~# 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