Re: [RFC] sctp/tcp: Question -- ICMPv4 length check (not) redundant?
From: Vlad Yasevich <hidden>
Date: 2008-07-30 12:49:44
From: Vlad Yasevich <hidden>
Date: 2008-07-30 12:49:44
David Miller wrote:
From: Vlad Yasevich <redacted> Date: Mon, 28 Jul 2008 14:09:55 -0400quoted
The IPv6 checks are much different. The MUST requirement is to provide as much data as possible upto IPv6 min mtu. So, the IPv6 icmp code should probably look to see if min(payload_len, min_mtu) is provided."Be liberal in what you accept..." -Jon Postel
Yeah, that check is really too strict.
Also, do you know any case where 576 bytes won't provide enough quoted packet bytes? :-)
Yes, I've seen a case where a full 1280 was needed. It involved a very convoluted packet that had extension headers and then went through 2 encapsulations. This was an extreme test scenario and not a real world example. -vlad