summaryrefslogtreecommitdiff
path: root/sys/netinet/raw_ip.c
AgeCommit message (Collapse)Author
2001-06-05repair copyright notices for NRL & cmetz; cmetzTheo de Raadt
2000-09-19Lots and lots of changes.Angelos D. Keromytis
1999-12-19disallow AF mismatch on inbound.Jun-ichiro itojun Hagino
1999-09-23fix same-interface-out-as-in and packet gets corrupted bug noted byTheo de Raadt
james@oaktree.co.uk by re-working icmp embedded-packet code so that ip_forward() m_copy()-aliased packet can be forwarded to ip_output and icmp_error() safely, because no packet tweaking is needed before calling icmp_error()
1999-06-07return a ICMP_UNREACH_PROTOCOL for protocols we do not support; discussion ↵Theo de Raadt
with cmetz
1999-04-20messup, learn to test *all* variants of compile options whenNiklas Hallqvist
altering the logic round such.
1999-04-20Merge MROUTING and IPSEC wrt handling of IP-in-IP tunnelled packets.Niklas Hallqvist
Fix a panic case in the MROUTING code too. Drop M_TUNNEL support, nothing ever uses it.
1999-01-11netinet merge of NRL stuff. some indent and shrinkage needed; NRL/cmetzTheo de Raadt
1999-01-08dont call ip_randomid() in htons().Niels Provos
1998-12-26make ip_id random but ensure that ids dont repeat for some period.Niels Provos
1998-12-15check for valid ip_hl too; route@infonexus.comTheo de Raadt
1998-05-18first step to the setsockopt/getsockopt interface as described inNiels Provos
draft-mcdonald-simple-ipsec-api, kernel notifies (EMT_REQUESTSA) signal userland key management applications when security services are requested. this is only for outgoing connections at the moment, incoming packets are not yet checked against the selected socket policy.
1997-07-24cmd is a u_longTheo de Raadt
1997-01-30for IP_HDRINCL option, use ip_len/ip_off in network order; lidl@va.pubnix.comTheo de Raadt
1997-01-26Make ip_len and ip_off unsigned values; don't transmit or accept packetsThorsten Lockert
larger than the maximum IP packet size. From NetBSD.
1996-08-14restrict some raw ip packets that may crash ip_output(); from freebsdTheo de Raadt
1996-03-15Fix bogosity in import of Lite2 fixThorsten Lockert
1996-03-14From Lite2; improve handling of socket options on raw datagrams and multi-Thorsten Lockert
cast routing commands
1996-03-04From NetBSD: Fix PR/2095 options MROUTING did not compile.Niklas Hallqvist
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-12-14from netbsd:Theo de Raadt
make netinet work on systems where pointers and longs are 64 bits (like the alpha). Biggest problem: IP headers were overlayed with structure which included pointers, and which therefore didn't overlay properly on 64-bit machines. Solution: instead of threading pointers through IP header overlays, add a "queue element" structure to do the threading, and point it at the ip headers.
1995-10-18initial import of NetBSD treeTheo de Raadt