Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Eric Benton <erbenton@comcast.net>
Cc: netfilter@lists.netfilter.org
Subject: Re: STRING agrument
Date: Fri, 26 May 2006 19:49:21 -0700	[thread overview]
Message-ID: <4477BE31.4000405@comcast.net> (raw)
In-Reply-To: <20060526021735.81499.qmail@web30213.mail.mud.yahoo.com>

Allan Parreno wrote:

>Hello,
>
>Good Day.
>
>Anyone could help me out with this error using the string argument.
>
>[root@ja Desktop]# iptables -o eth0 -A FORWARD -p tcp -m string --string
>"X-Kazaa-Username:" -j REJECT --reject-with tcp-reset
>iptables v1.3.4: STRING match: You must specify `--algo'
>Try `iptables -h' or 'iptables --help' for more information.
>[root@ja Desktop]#
>
>However, if I specify the --algo if have this error
>
>[root@ja Desktop]# iptables -o eth0 -A FORWARD -p tcp -m string --string --algo
>"X-Kazaa-Username:" -j REJECT --reject-with tcp-reset
>Bad argument `X-Kazaa-Username:'
>Try `iptables -h' or 'iptables --help' for more information.
>[root@ja Desktop]#
>
>Thanks in advance
>
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around 
>http://mail.yahoo.com 
>
>
>  
>
--algo bm

algo needs to a method but you left out the method
in this case the mthod is "bm"
Eric



  reply	other threads:[~2006-05-27  2:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-23 11:42 Controlling an iptables-match from userspace Manfred Stock
2006-05-23 12:04 ` Sven-Haegar Koch
2006-05-23 15:00   ` Manfred Stock
2006-05-25 22:00     ` Massimiliano Hofer
2006-05-26  2:17       ` STRING agrument Allan Parreno
2006-05-27  2:49         ` Eric Benton [this message]
2006-05-28 18:19       ` Controlling an iptables-match from userspace Manfred Stock
2006-05-28 23:36         ` Massimiliano Hofer
2006-05-30  7:36           ` Manfred Stock

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=4477BE31.4000405@comcast.net \
    --to=erbenton@comcast.net \
    --cc=netfilter@lists.netfilter.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox