Carsten Bormann wrote:
On Dec 04 2007, at 13:08, Adam Dunkels wrote:

Kris Pister wrote:
Touche'!  It's an ugly internet out there. :)
I agree with their conclusion that "if the consequences of data corruption are large [...] the application should add a stronger application-level checksum." So the truth is that I only trust networks that have 4 byte MICs at both L2 and L4/5. Given that I know that I'm going to have that in any networks that I build myself, 2 bytes of UDP checksum just doesn't seem very attractive to me, and I'd like to be able to have the option to elide them.

It is always possible disable the UDP checksum on a per-datagram basis by setting the checksum field of the UDP header to all zeros.

Not in IPv6.

A header compression scheme can safely compress away the entire checksum field for datagrams without a UDP checksum (but leaving a bit to indicate that the checksum is disabled).

(You wouldn't leave a bit in the packet, you would leave state in the context.)
Yes.  This works great for IPv4.  See RFC 3095.
But not for IPv6. See RFC 2460 (you may want to jump to the 61205th character).

Ah, of course. I was obviously thinking about IPv4.

/adam
--
Adam Dunkels <[EMAIL PROTECTED]>
http://www.sics.se/~adam/


_______________________________________________
6lowpan mailing list
[email protected]
https://www1.ietf.org/mailman/listinfo/6lowpan

Reply via email to