Linux Netfilter discussions
 help / color / mirror / Atom feed
* Questions about the workings of iptables
@ 2004-07-26 12:51 Small, Jim
  2004-07-26 13:17 ` Antony Stone
  0 siblings, 1 reply; 9+ messages in thread
From: Small, Jim @ 2004-07-26 12:51 UTC (permalink / raw)
  To: netfilter

I've been using netfilter/iptables for some time and I'm planning on doing a
presentation on it to a local user group.  I've used most of the major
firewalls (pf, ipfilter, iptables, PIX, and CheckPoint) and I've been
comparing features.  Note--I know there are other firewalls like G2,
NetScreen, and CyberGuard and I'm not trying to knock them by leaving them
out!

Two popular firewall features I'm exploring are stateful inspection and
initial TCP sequence randomizing.  I've looked in the archives and couldn't
find very much.  So please allow me to ask:

1)  How extensive is IPTables stateful packet filtering?  Especially with
TCP and the recent reset paranoia
(http://www.uniras.gov.uk/vuls/2004/236929/index.htm), what is checked for
stateful TCP inspection?  Are the sequence numbers carefully scrutinized as
part of the state check?  For an excellent paper on TCP state checking, I
like the following:
http://home.iae.nl/users/guido/papers/tcp_filtering.ps.gz

Is there a listing of everything the connection tracking modules do?
If connection tracking or stateful inspection does not include TCP sequence
checking, is there a way to add it?  Is it well tested/supported?


2)  Can IPTables randomize initial TCP sequence numbers?  If not, is there
an add-on that can?  I saw IP Personality, that's not really what I want.  I
would prefer something that can randomize all initial TCP sequence numbers
traversing an IPTables firewall.

As to why this is important, many clients have weak TCP ISN (Initial TCP
Sequence Number) generators.  While Linux is good in this aspect, many
clients like Windows are not.  And it is not always possible to replace
Windows clients or other clients with weak ISNs.  Proxying might be an
option, but I would really like to know if there is a stateful firewall
option or add-on.


Thanks,
   <> Jim



^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: Questions about the workings of iptables
@ 2004-07-26 13:43 Jason Opperisano
  0 siblings, 0 replies; 9+ messages in thread
From: Jason Opperisano @ 2004-07-26 13:43 UTC (permalink / raw)
  To: Small, Jim, netfilter

> 1)  How extensive is IPTables stateful packet filtering?  Especially with
> TCP and the recent reset paranoia
> (http://www.uniras.gov.uk/vuls/2004/236929/index.htm), what is checked for
> stateful TCP inspection?  Are the sequence numbers carefully scrutinized as
> part of the state check?  For an excellent paper on TCP state checking, I
> like the following:
> http://home.iae.nl/users/guido/papers/tcp_filtering.ps.gz.ps.gz

the "tcp-window-tracking patch" available in patch-o-matic is based upon the paper by Guido van Rooij that you reference.

-j


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

end of thread, other threads:[~2004-07-28  4:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-26 12:51 Questions about the workings of iptables Small, Jim
2004-07-26 13:17 ` Antony Stone
2004-07-26 14:04   ` Sven Schuster
2004-07-27  7:20   ` Ashutosh
2004-07-27  8:47     ` Antony Stone
2004-07-27 13:41     ` John A. Sullivan III
2004-07-27 14:22       ` Antony Stone
2004-07-28  4:00         ` Ashutosh Naik
  -- strict thread matches above, loose matches on Subject: below --
2004-07-26 13:43 Jason Opperisano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox