Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Chris Brenton <cbrenton@chrisbrenton.org>
To: netfilter <netfilter@lists.netfilter.org>
Subject: Re: the impossible "iptables -C" option
Date: Sat, 24 Jul 2004 07:45:45 -0400	[thread overview]
Message-ID: <1090669545.2012.33.camel@grendel> (raw)
In-Reply-To: <200407241127.25946.Antony@Soft-Solutions.co.uk>

On Sat, 2004-07-24 at 06:27, Antony Stone wrote:
>
> > Not quite true as you would just use a sting match, same as you would in
> > a filtering rule.
> 
> I'll assume you meant the "string" match :)   Although the idea of a sting 
> match in a firewall rule is an interesting one....

Dooh! Typing before my morning Pepsi. I think we already sort of have a
"sting" option, its called "Tarpit" ;-)

> I agree that for textual content you could say "a packet from this IP address 
> to TCP port 23 containing the string 'root'", however lots of protocols use 
> binary data

Agreed but that's kind of outside of the scope of the check option. ;-)

We're getting more into "what does a better job of checking payload,
stateful inspection or proxy". I agree proxies are better when it comes
to payload content, but I find the string match useful mostly because of
its simplicity. No proprietary, undocumented language to learn, just set
a few command line switches and away you go. :)

> However, as discussed by other people, there is more than one reason why 
> "check" is hard to implement, payload is just one of them (and I agree that 
> state is a more significant problem, and much harder to deal with).

Ya why burn cycles on trying to code something you can easily check with
nmap, hping & tcpdump. ;-)

Cheers!
Chris




  reply	other threads:[~2004-07-24 11:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-23 23:24 the impossible "iptables -C" option Bruno Negrão
2004-07-24  7:56 ` Antony Stone
2004-07-24  8:36   ` Re[2]: " mortar
2004-07-24 10:16   ` Chris Brenton
2004-07-24 10:27     ` Antony Stone
2004-07-24 11:45       ` Chris Brenton [this message]
2004-07-24 18:46     ` Les Mikesell
2004-07-24 20:13       ` Antony Stone
2004-07-25 17:50         ` Les Mikesell
2004-07-25 18:08           ` Antony Stone

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=1090669545.2012.33.camel@grendel \
    --to=cbrenton@chrisbrenton.org \
    --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