zerocopy.. While working on ip.h stuff
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 2 lines · Craig Milo Rogers
Quoted 2 lines
Quoted 2 lines
I have a whole 40 bytes (+/-) to share... Now although I don't see anything explicitly prohibiting the use of unused IP Header option
..
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
in between.. Has anyone seen any RFC that explicitly says I MUST NOT?
Not to my knowledge. Routers already change the time to live field, so I see no reason why they can't do smart things with special IP options either (besides efficiency concerns :-).
I know they 'rewrite/extend' existing options, but have never seen a case where a router adds an option to a packet beyond those based on what the original sender set..
Quoted 3 lines
I've forgotten how the Stream ID option was implemented, but I won't be surprised if a router inserted it on the fly (but it was probably inserted by end systems). On the other hand, there was also
Hmm, have to look at a little history..
Quoted 4 lines
a competing philosophy that said that the IP checksum must be recomputed incrementally at routers to catch hardware problems in the routers, and an incremental recomputation when changing the size of the header would be more work.
ah.. we do recalculate IP Checksums now.. when we update any of the timestamp rr options etc..
Quoted 7 lines
The one thing I would worry about is unleashing mutant IP packets upon the world at large. I hope the proposed experiments have a very good firewall. It would be very nice to attempt to acquire an officially blessed IP option number for such experiments before unleashing these packets upon an unprepared world.
Craig Milo Rogers
Ah, we better have a good firewall <wink> No, if this goes past concept phase, we will try for de official bless.
Signature · 10 lines
"Catch the magic of Linux...." -------------------------------------------------------- Michael Peddemors - Senior Consultant Unix Administration - WebSite Hosting Network Services - Programming Wizard Internet Services http://www.wizard.ca Linux Support Specialist - http://www.linuxmagic.com -------------------------------------------------------- (604)�589-0037 Beautiful British Columbia, Canada --------------------------------------------------------
Quoted 2 lines
Quoted 2 lines
a competing philosophy that said that the IP checksum must be recomputed incrementally at routers to catch hardware problems in the
...
Quoted 2 lines
ah.. we do recalculate IP Checksums now.. when we update any of the timestamp rr options etc..
But, do you do it incrementally? By which I mean: subtract
(appropriately) the old value of the octet from the existing checksum, field in the packet then add (appropriately) the new value of the octet to the checksum? Simply recalculating the IP checksum from scratch can generate a "correct" checksum for a packet that was damaged*** while waiting around in memory.
I don't know if people worry about this now, but 20 years ago
there was a fuss about it. Further discussion offline, please.
Craig Milo Rogers
*** Maybe by hardware trouble, or maybe because someone followed a bad
pointer and stomped on part of the header.