On Tue, 29 Jun 2004, David Malone wrote:

It seems to me that RANDOM_IP_ID might be better as a sysctl rather
than a kernel option. Would anyone mind if I changed this?

David.

I'd rather see a sysctl that switched between incremental frag IDs and arc4random() based IDs, followed by the removal of RANDOM_IP_ID.


For more info, see:

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/netinet/ip_id.c

(I think we're still using the old code that's collision prone.)

Given that we're in a 16-bit space anyway, it's simpler to just use arc4random and stop pretending that we can avoid collisions.

Remember: An IP ID collision is equivalent to a packet being lost; this is not a big deal.

Mike "Silby" Silbersack
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to