Re: weird ip sequence number

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Feb 18 2002 - 15:42:36 EST


> Although there are few chances that our randomly chosen ip_id collides
> with the other packet's ip_id generated by kernel, I don't want this
> possibility to happen.

So pick one at random. However its a pretty strange way to abuse IP.

> So is there any method to get a true ip_id from the kernel?
> I want this ip_id to do my own fragmentation on a packet.

Linux does not generate ip idents on DF frames. You can't fragment a DF
frame anyway so the problem does not arrive. Frames without DF get assigned
ip ids
-
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/



This archive was generated by hypermail 2b29 : Sat Feb 23 2002 - 21:00:15 EST