Re: RFC2385 (MD5 signature in TCP packets) support

David S. Miller (davem@redhat.com)
Fri, 15 Mar 2002 15:45:27 -0800 (PST)


From: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: Fri, 15 Mar 2002 23:59:36 +0000 (GMT)

What do you think Ipsec does with an RST frame with an incorrect
IP-AH MD5 signature ? Exactly the same thing.

IPsec is fundamentally different because it encapsulates all IP
traffic, not just TCP. The packet is killed at IP if it doesn't
pass the signature.

I'm not saying the RFC is a good idea (tho its a needed patch to
use Linux for backbone routing sanely with most vendors BGP
kit). Your argument about the RST frame is however pure horseshit

I totally disagree.

Look, TCP is the last place more complexity needs to exist.
Errors in logic in TCP need to be dealt with by breaking the
connection and spitting a RST out, and it must be done in a
way that is as easy to verify as possible.

IPSEC getting the signature wrong is more akin to getting bitstream
corruptions from your networking card for a certain sequence of bytes.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/