All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Brenton <cbrenton@chrisbrenton.org>
To: Randolph Jones <jonesrf1@qwest.net>
Cc: netfilter <netfilter@lists.netfilter.org>
Subject: Re: need for stateful packet inspection
Date: Thu, 27 May 2004 20:06:54 -0400	[thread overview]
Message-ID: <1085702814.2093.22.camel@grendel> (raw)
In-Reply-To: <40B126AA.3050106@qwest.net>

On Sun, 2004-05-23 at 18:33, Randolph Jones wrote:
>
> I am considering buying a linksys router. It seems to have statefull 
> packet inspection that blocks nonmatching incoming packets.

Stateful inspection is implemented on a per application basis, so
support for SI may mean that FTP gets inspected but not Telnet, DNS,
etc., etc.

Stateful packet filtering is implemented on a per transport basis, so
TCP and UDP may be handled but not ICMP, GRE, AH, etc., etc.

So you need to look a bit more closely at the device beyond whether it
supports SI or not. You have to see where it has been implemented.

> If I do not have a server exposed to the internet, do I need any
> packet inspection other than checking that all incoming packets match an 
> earlier outgoing request?

And the answer is.... "it depends". ;-)

FTP tends to "break" if you are not inspecting the payload and looking
for the port negotiations. Many devices get around this by only
supporting passive mode, but that requires you to open up all upper
ports. This is a great way to ensure that call home Trojans can get out
as well. Same is true for other complex protocols such as DCOM, Real
Audio, etc. etc. 

Also, you need SI to handle ICMP errors correctly. Type 3's and type
11's seem to be the covert channel of choice these days as many
firewalls let them blow right though. 

So if the Linksys supports all of the above, you are cool. If it does
not but you don't care about any of the above, you are cool as well.
Otherwise, you may want to look into getting something more robust.

I have no idea what the Linksys looks like these days. I know a few
years back it was trivial to use loose source route to communicate with
hosts on the protected side of the device. You may want to test this.

HTH,
Chris




      parent reply	other threads:[~2004-05-28  0:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-23 22:33 need for stateful packet inspection Randolph Jones
2004-05-27  8:04 ` John A. Sullivan III
2004-05-28  0:06 ` Chris Brenton [this message]

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=1085702814.2093.22.camel@grendel \
    --to=cbrenton@chrisbrenton.org \
    --cc=jonesrf1@qwest.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 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.