All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Kearey <mutk@iprimus.com.au>
To: IPtables Users <netfilter@lists.samba.org>
Subject: Re: string is not working, any help?
Date: Wed, 11 Jun 2003 11:16:32 +1000	[thread overview]
Message-ID: <3EE682F0.60800@iprimus.com.au> (raw)
In-Reply-To: <1055289564.829.3.camel@dejawu>

Esteban wrote:
<snip>
> 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



  reply	other threads:[~2003-06-11  1:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-10 23:59 string is not working, any help? Esteban
2003-06-11  1:16 ` Michael Kearey [this message]
2003-06-11 16:31   ` SBlaze
  -- strict thread matches above, loose matches on Subject: below --
2003-06-11  0:35 George Vieira
2003-06-11  1:31 George Vieira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EE682F0.60800@iprimus.com.au \
    --to=mutk@iprimus.com.au \
    --cc=netfilter@lists.samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.