netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* DF, IP ID always 0 and the reassembly protections
@ 2006-06-20 23:44 Rick Jones
  2006-06-21  0:19 ` David Miller
  0 siblings, 1 reply; 5+ messages in thread
From: Rick Jones @ 2006-06-20 23:44 UTC (permalink / raw)
  To: Linux Network Development list

A while back (I cannot recall exactly when) the issue of always setting 
the IP datagram ID to zero when the DF bit was set was brought-up.  I 
suggested it might not be a good idea because there are admittedly 
broken devices out there that "helpfully" and silently clear DF and the 
start to fragment.  The counter point was that coding around such broken 
hardware was silly.

I was just writing a missive to one of my co-workers on IP 
fragmentation.  It got me to thinking about the stuff (I think it 
went-in?) to try to protect against "Frankengrams" during IP fragment 
reassembly.

Doesn't that mechanism rely on watching the IP ID's between the pair of 
IPs?  For both fragmented and non-fragmented datagrams? If so, does 
always setting the IP ID to zero when DF is set affect that mechanism?

rick jones

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-06-21  0:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-20 23:44 DF, IP ID always 0 and the reassembly protections Rick Jones
2006-06-21  0:19 ` David Miller
2006-06-21  0:35   ` Rick Jones
2006-06-21  0:38     ` akepner
2006-06-21  0:43     ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).