NetBSD/sys/netinet
jonathan de80d1419e Diff to netinet/ip_input.c (restore ip_id, initialize) for ip_id fix:
Revert the (default) ip_id algorithm to the pre-randomid algorithm,
due to demonstrated low-period repeated IDs from the randomized IP_id
code.  Consensus is that the low-period repetition (much less than
2^15) is not suitable for general-purpose use.

Allocators of new IPv4 IDs should now call the function ip_newid().
Randomized IP_ids is now a config-time option, "options RANDOM_IP_ID".
ip_newid() can use ip_random-id()_IP_ID if and only if configured
with RANDOM_IP_ID. A sysctl knob should be  provided.

This API may be reworked in the near future to support linear ip_id
counters per (src,dst) IP-address pair.
2003-11-17 22:34:16 +00:00
..
Makefile revamp inpcb/in6pcb so that they are more aligned with each other. 2003-09-04 09:16:57 +00:00
fil.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
files.ipfilter Add missing "needs-flag". 2002-10-11 15:58:20 +00:00
files.netinet Revert the (default) ip_id algorithm to the pre-randomid algorithm, 2003-11-17 21:34:27 +00:00
icmp6.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
icmp_var.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
if_arp.c on arplookup() failure, nuke cloned route - otherwise outsider could use massive 2003-09-24 06:52:47 +00:00
if_atm.c
if_atm.h
if_ether.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
if_inarp.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
igmp.c change the additional arg to be passed to ip{,6}_output to struct socket *. 2003-08-22 21:53:01 +00:00
igmp.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
igmp_var.h There is also no reason to use arc4random() here. 2003-10-07 21:24:56 +00:00
in.c Change global head-of-local-IP-address list from in_ifaddr to 2003-11-11 20:25:26 +00:00
in.h Allocate sysctl oid for ipv4 sysctl node "ifq", define symbolic name, and 2003-11-10 20:50:29 +00:00
in4_cksum.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
in_cksum.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
in_gif.c Change global head-of-local-IP-address list from in_ifaddr to 2003-11-11 20:25:26 +00:00
in_gif.h make USE_ENCAPCHECK (in netinet*/*gif.c) to global option, GIF_ENCAPCHECK. 2002-11-11 18:35:27 +00:00
in_pcb.c Change global head-of-local-IP-address list from in_ifaddr to 2003-11-11 20:25:26 +00:00
in_pcb.h Remove all the code to maintain ia_inpcbs. This information was only used to 2003-10-23 20:55:08 +00:00
in_pcb_hdr.h use a hash table to bind to local ports; suggested by markus friedl 2003-10-28 17:18:37 +00:00
in_proto.c (fast-ipsec): Add hooks to pass IPv4 IPsec traffic into fast-ipsec, if 2003-08-15 03:42:00 +00:00
in_systm.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
in_var.h Change global head-of-local-IP-address list from in_ifaddr to 2003-11-11 20:25:26 +00:00
ip.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
ip6.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
ip_auth.c change the additional arg to be passed to ip{,6}_output to struct socket *. 2003-08-22 21:53:01 +00:00
ip_auth.h
ip_compat.h tabify 2003-06-26 00:43:31 +00:00
ip_ecn.c
ip_ecn.h
ip_encap.c Remove some assigned-to but otherwise unused variables. 2003-10-30 01:43:08 +00:00
ip_encap.h switch from kame-based m_aux mbuf auxiliary data, to openbsd m_tag 2003-01-17 08:11:49 +00:00
ip_fil.c correct missing inclusion of opt_ipsec.h 2003-08-22 22:11:44 +00:00
ip_fil.h Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
ip_flow.c /*CONTCOND*/ while (0)'ed macros 2002-11-02 07:20:42 +00:00
ip_frag.c Resync with official IPF 2002-09-19 08:12:43 +00:00
ip_frag.h
ip_ftp_pxy.c Resync with official IPF 2002-09-19 08:12:43 +00:00
ip_gre.c u_short -> u_int16_t 2003-09-05 23:02:40 +00:00
ip_gre.h
ip_h323_pxy.c #ifdef _KERNEL_OPT police 2003-06-23 14:59:21 +00:00
ip_icmp.c Add m_tag_delete_nonpesrsistent(), for deleting all packet tags on 2003-11-13 01:48:12 +00:00
ip_icmp.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
ip_id.c exp is reserved name under posix 2003-09-16 00:31:55 +00:00
ip_input.c Diff to netinet/ip_input.c (restore ip_id, initialize) for ip_id fix: 2003-11-17 22:34:16 +00:00
ip_ipsec_pxy.c
ip_log.c Fix ipmon problems on 64-bit platforms (PR#17403 and PR#17404). 2002-09-25 06:43:17 +00:00
ip_mroute.c Revert the (default) ip_id algorithm to the pre-randomid algorithm, 2003-11-17 21:34:27 +00:00
ip_mroute.h cleanup multicast routing stuff on if_detach(). 2003-06-26 03:35:00 +00:00
ip_nat.c Relax overly-conservative TCP option parsing used by ipnat when 2002-09-24 14:14:25 +00:00
ip_nat.h
ip_netbios_pxy.c Resync with official IPF 2002-09-19 08:12:43 +00:00
ip_output.c Revert the (default) ip_id algorithm to the pre-randomid algorithm, 2003-11-17 21:34:27 +00:00
ip_proxy.c Resync with official IPF 2002-09-19 08:12:43 +00:00
ip_proxy.h
ip_raudio_pxy.c
ip_rcmd_pxy.c
ip_state.c Resync with official IPF 2002-09-19 08:12:43 +00:00
ip_state.h
ip_var.h Revert the (default) ip_id algorithm to the pre-randomid algorithm, 2003-11-17 21:34:27 +00:00
ipl.h
raw_ip.c Revert the (default) ip_id algorithm to the pre-randomid algorithm, 2003-11-17 21:34:27 +00:00
tcp.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
tcp_debug.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
tcp_debug.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
tcp_fsm.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
tcp_input.c Fix the bug in the tcp transmit prediction code. 2003-10-24 10:25:40 +00:00
tcp_output.c Remove the FAST_MBSEARCH ifdef, send packet prediction is now default. 2003-11-12 10:48:04 +00:00
tcp_seq.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
tcp_subr.c - Change callout_setfunc() to require that the callout handle is already 2003-10-27 16:52:01 +00:00
tcp_timer.c make it compilable with TCP_DEBUG defined 2003-10-27 07:43:01 +00:00
tcp_timer.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
tcp_usrreq.c Rather than zeroing a tcpcb structure and filling in all the fields 2003-10-22 02:45:57 +00:00
tcp_var.h Rather than zeroing a tcpcb structure and filling in all the fields 2003-10-22 02:45:57 +00:00
tcpip.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
udp.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
udp_usrreq.c Remove all the code to maintain ia_inpcbs. This information was only used to 2003-10-23 20:55:08 +00:00
udp_var.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00