Up to [cvs.NetBSD.org] / src / sys / netinet
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: netbsd-2-0-base
Revision 1.78 / (download) - annotate - [select for diffs], Wed Nov 19 18:39:34 2003 UTC (9 years, 6 months ago) by jonathan
Branch: MAIN
CVS Tags: netbsd-2-0-base,
BEFORE-IPF411
Branch point for: netbsd-2-0
Changes since 1.77: +3 -2
lines
Diff to previous 1.77 (colored)
Patch back support for (badly) randomized IP ids, by request: * Include "opt_inet.h" everywhere IP-ids are generated with ip_newid(), so the RANDOM_IP_ID option is visible. Also in ip_id(), to ensure the prototype for ip_randomid() is made visible. * Add new sysctl to enable randomized IP-ids, provided the kernel was configured with RANDOM_IP_ID. (The sysctl defaults to zero, and is a read-only zero if RANDOM_IP_ID is not configured). Note that the implementation of randomized IP ids is still defective, and should not be enabled at all (even if configured) without very careful deliberation. Caveat emptor.