On Tue, Nov 25, 2003 at 04:15:05AM -0500, Jefferson Ogata wrote: > I remember discovering, on one particular platform (I *think* it was SunOS > 4.1.3_U1), that ICMP port unreachables generated (by IP Filter using > return-icmp) for an established TCP connection would not only reset the TCP > connection in question, but also blow away all other TCP connections to the > same host. This taught me to be careful about what arguments I stuck into a
Now that you mention this, I do remember something similar. IIRC correctly this came up with scanner tests of SATAN. > return-icmp rule, and to be careful to use return-rst for TCP. The behavior > of TCP in response to various ICMP message types is something I think is > perhaps more variable than theory would predict, and may vary significantly > from platform to platform. > > Where I'm going with this is that it might be nice to have a choice of > using keep state with limitations on specific classes of "related" packets > passed implicitly. You've sort of got that in this case without the patch, > since you can always let in the ICMP explicitly as part of your ruleset. > Once it becomes implicit with state, there's no method for controlling it > in the current semantics. I do agree with that. The question is how to do this. Should this be a per-rule directive or a general one (e.g. block all icmp error towards an old SunOS box but let unreachable(couldnt fragment) in for all other hosts). -Guido
