NetBSD/sys/netinet
thorpej 7a3c8f81a5 Two changes, designed to make us even more resilient against TCP
ISS attacks (which we already fend off quite well).

1. First-cut implementation of RFC1948, Steve Bellovin's cryptographic
   hash method of generating TCP ISS values.  Note, this code is experimental
   and disabled by default (experimental enough that I don't export the
   variable via sysctl yet, either).  There are a couple of issues I'd
   like to discuss with Steve, so this code should only be used by people
   who really know what they're doing.

2. Per a recent thread on Bugtraq, it's possible to determine a system's
   uptime by snooping the RFC1323 TCP timestamp options sent by a host; in
   4.4BSD, timestamps are created by incrementing the tcp_now variable
   at 2 Hz; there's even a company out there that uses this to determine
   web server uptime.  According to Newsham's paper "The Problem With
   Random Increments", while NetBSD's TCP ISS generation method is much
   better than the "random increment" method used by FreeBSD and OpenBSD,
   it is still theoretically possible to mount an attack against NetBSD's
   method if the attacker knows how many times the tcp_iss_seq variable
   has been incremented.  By not leaking uptime information, we can make
   that much harder to determine.  So, we avoid the leak by giving each
   TCP connection a timebase of 0.
2001-03-20 20:07:51 +00:00
..
fil.c expose the definitions of MIN() and MAX() in sys/param.h to the kernel 2001-02-05 10:42:40 +00:00
icmp6.h during ip6/icmp6 inbound packet processing, do not call log() nor printf() in 2001-02-07 08:59:47 +00:00
icmp_var.h
if_arp.c Make diagnostic actually useful - needed to debug other ARP PRs. 2001-01-26 11:40:32 +00:00
if_atm.c pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2 (UCB copyrighted). 2001-01-17 04:05:41 +00:00
if_atm.h pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2 (UCB copyrighted). 2001-01-17 04:05:41 +00:00
if_ether.h
if_ieee1394arp.c pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2 (UCB copyrighted). 2001-01-17 04:05:41 +00:00
if_ieee1394arp.h pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2 (UCB copyrighted). 2001-01-17 04:05:41 +00:00
if_inarp.h pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2 (UCB copyrighted). 2001-01-17 04:05:41 +00:00
igmp_var.h
igmp.c
igmp.h
in4_cksum.c
in_cksum.c
in_gif.c add AF_ISO case to output. from chopps. 2001-02-20 10:41:47 +00:00
in_gif.h
in_pcb.c Update for hashinit() change. 2000-11-08 14:28:12 +00:00
in_pcb.h
in_proto.c make sure to enforce inbound ipsec policy checking, for any protocols on top 2001-03-01 16:31:37 +00:00
in_systm.h
in_var.h
in.c
in.h Add IPPROTO_VRRP. 2001-01-19 09:01:48 +00:00
ip6.h put attribute(packed) for ip6 option headers. they will appear at 2001-01-23 07:21:07 +00:00
ip_auth.c
ip_auth.h
ip_compat.h expose the definitions of MIN() and MAX() in sys/param.h to the kernel 2001-02-05 10:42:40 +00:00
ip_ecn.c
ip_ecn.h
ip_encap.c
ip_encap.h
ip_fil.c expose the definitions of MIN() and MAX() in sys/param.h to the kernel 2001-02-05 11:16:31 +00:00
ip_fil.h Restructure the PFIL_HOOKS mechanism a bit: 2000-11-11 00:52:36 +00:00
ip_flow.c
ip_frag.c
ip_frag.h
ip_ftp_pxy.c
ip_gre.c Adapt to bpfattach() changes, and further centralize the bpfattach() 2000-12-12 18:00:22 +00:00
ip_gre.h
ip_icmp.c Remove a bogus rtfree(); OpenBSD PR 1706. 2001-03-08 00:17:05 +00:00
ip_icmp.h
ip_input.c increase ipstat.ips_badaddr if the packet fails to pass address checks. 2001-03-02 04:26:10 +00:00
ip_ipip.c Fix a rather annoying problem where the sockaddr_dl which holds 2001-01-17 00:30:49 +00:00
ip_ipip.h
ip_log.c expose the definitions of MIN() and MAX() in sys/param.h to the kernel 2001-02-05 10:42:40 +00:00
ip_mroute.c - record IPsec packet history into m_aux structure. 2001-01-24 09:04:15 +00:00
ip_mroute.h
ip_nat.c expose the definitions of MIN() and MAX() in sys/param.h to the kernel 2001-02-05 10:42:40 +00:00
ip_nat.h
ip_output.c remove obsolete #if 0'ed section 2001-02-27 10:32:03 +00:00
ip_proxy.c expose the definitions of MIN() and MAX() in sys/param.h to the kernel 2001-02-05 10:42:40 +00:00
ip_proxy.h
ip_raudio_pxy.c
ip_rcmd_pxy.c
ip_state.c expose the definitions of MIN() and MAX() in sys/param.h to the kernel 2001-02-05 10:42:40 +00:00
ip_state.h
ip_var.h increase ipstat.ips_badaddr if the packet fails to pass address checks. 2001-03-02 04:26:10 +00:00
ip.h
ipl.h
Makefile
raw_ip.c make sure to validate packet against ipsec policy. 2001-02-26 07:20:44 +00:00
tcp_debug.c
tcp_debug.h
tcp_fsm.h
tcp_input.c Two changes, designed to make us even more resilient against TCP 2001-03-20 20:07:51 +00:00
tcp_output.c Two changes, designed to make us even more resilient against TCP 2001-03-20 20:07:51 +00:00
tcp_seq.h
tcp_subr.c Two changes, designed to make us even more resilient against TCP 2001-03-20 20:07:51 +00:00
tcp_timer.c
tcp_timer.h
tcp_usrreq.c Two changes, designed to make us even more resilient against TCP 2001-03-20 20:07:51 +00:00
tcp_var.h Two changes, designed to make us even more resilient against TCP 2001-03-20 20:07:51 +00:00
tcp.h
tcpip.h
udp_usrreq.c - record IPsec packet history into m_aux structure. 2001-01-24 09:04:15 +00:00
udp_var.h
udp.h