Skip to contentSkip to conversation

missing ipt_unclean support in 2.6test5

DISCUSSION Harald Welte 1 participant 1 message Sep 15, 2003 1 message not in the archive netfilter

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 6 lines · On Sun, Sep 14, 2003 at 10:03:47PM +0200, [email protected] wrote:

Hi Harald,

I just saw ipt_unclean matching support was removed from the 2.6 tree, is there a place I can find some background on the reason behind this? Couldn't find anything on
the lkml or google that provided a better reason than "we feel it's a
rather insecure part of the netfilter code".

What more background do you want to have? The netfilter coreteam has made this decision at the recent netfilter developer conference, because we think it is a dangerous match.

Filtering like the unclean match can easily introduce forwards-comaptibility problems. Just look what happened when the ECN bits in the ip and tcp header had been defined for congestion notification by the IETF: suddenly everybody sending packets adhering to this new standard was unable to reach any machine/network protected by a netfilter/iptables firewall that used the unclean match.

We just want to make sure that this doesn't ever happen again. We were unable to remove ipt_unclean in 2.4.x because of compatibility reasons. But now in 2.6 it is easy to have it removed.

Quoted 3 lines

Michiel v/d Garde
Operations Engineer
MarketXS.com BV

Signature · 3 lines
- Harald Welte <[email protected]>               http://www.gnumonks.org/
============================================================================
Programming is like sex: One mistake and you have to support it your lifetime