All of lore.kernel.org
 help / color / mirror / Atom feed
* need for stateful packet inspection
@ 2004-05-23 22:33 Randolph Jones
  2004-05-27  8:04 ` John A. Sullivan III
  2004-05-28  0:06 ` Chris Brenton
  0 siblings, 2 replies; 3+ messages in thread
From: Randolph Jones @ 2004-05-23 22:33 UTC (permalink / raw)
  To: netfilter

I am ignorant re iptables.

I am considering buying a linksys router. It seems to have statefull 
packet inspection that blocks nonmatching incoming packets.

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?

TIA
rfjones


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: need for stateful packet inspection
  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
  1 sibling, 0 replies; 3+ messages in thread
From: John A. Sullivan III @ 2004-05-27  8:04 UTC (permalink / raw)
  To: Randolph Jones; +Cc: netfilter

On Sun, 2004-05-23 at 18:33, Randolph Jones wrote:
> I am ignorant re iptables.
> 
> I am considering buying a linksys router. It seems to have statefull 
> packet inspection that blocks nonmatching incoming packets.
> 
> 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?
> 
> TIA
> rfjones
In short, no.  If your needs are minimal and you do not need to managed
multiple devices a linksys may be fine for you.  I cannot speak to the
quality of Linksys; I have not used them.  However, not all stateful
inspection engines are created equal.  Consider what functionality you
may need in the future.  Consider how important reliability is, i.e., 
if the device occasionally fails and needs to be reset, is that a
problem. However, for very simple needs, a Linksys will probably be
fine.
Does anyone else have any thoughts, comments or insults?
-- 
John A. Sullivan III
Chief Technology Officer
Nexus Management
+1 207-985-7880
john.sullivan@nexusmgmt.com
---
If you are interested in helping to develop a GPL enterprise class
VPN/Firewall/Security device management console, please visit
http://iscs.sourceforge.net 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: need for stateful packet inspection
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Chris Brenton @ 2004-05-28  0:06 UTC (permalink / raw)
  To: Randolph Jones; +Cc: netfilter

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-28  0:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.