summaryrefslogtreecommitdiff
path: root/sys/netinet/udp_usrreq.c
AgeCommit message (Collapse)Author
1999-03-27add SADB_X_BINDSA to pfkey allowing incoming SAs to refer to an outgoingNiels Provos
SA to be used, use this SA in ip_output if available. allow mobile road warriors for bind SAs with wildcard dst and src addresses. check IPSEC AUTH and ESP level when receiving packets, drop them if protection is insufficient. add stats to show dropped packets because of insufficient IPSEC protection. -- phew. this was all done in canada. dugsong and linh provided the ride and company.
1999-03-24Reworked udp_output() to minimize the number of if() statements needed to getcmetz
packets out. Also had the nice side effect of fewer blocks now move around by ifdefs, which makes it more readable.
1999-02-17inet6 indentTheo de Raadt
1999-02-04report on no udp checksumTheo de Raadt
1999-01-15IN_MULTICAST takes network order addressesNiklas Hallqvist
1999-01-11Use bzero instead of memset in the kernelNiklas Hallqvist
1999-01-11netinet merge of NRL stuff. some indent and shrinkage needed; NRL/cmetzTheo de Raadt
1999-01-07in_pcblookup() now takes ptr to both ip address argumentsTheo de Raadt
1998-12-31mangle uh_sum as before, but recover it for icmp errorsTheo de Raadt
1998-12-28ensure the ip packet embedded inside an icmp packet has correct ip_len,Theo de Raadt
ip_off, ip_id. for udp, also correct uh_sum. ip_sum is still set to 0; (all this debugged using nmap)
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.
1998-01-24sysctl for def sizes for tcp/udp send/recv queuesMichael Shalayeff
1997-09-07for broadcast/multicast packets, correct m_pkthdr.len on the way up to the ↵Theo de Raadt
socket; drochner@zelz26.zel.kfa-juelich.de
1997-08-09The list of tcp/udp ports not to allocate dynamically is nowTodd C. Miller
a bitmask configurable via sysctl([38]). The default values have not changed. If one wants to change the list it should be done early on in /etc/rc.
1997-07-24cmd is a u_longTheo de Raadt
1997-06-27udp icmp errors had ip_len 20 bytes too large; stevens p774; ↵Theo de Raadt
koji@math.human.nagoya-u.ac.jp
1997-02-16udp packets less than min udp packet length are bad; davem@jenolan.rutgers.eduTheo 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-07-05release temporary binding if M_PREPEND fails; netbsd pr#2605; ↵Theo de Raadt
tegge@idt.unit.no; improved by me
1996-05-15let udpcksum control generation, but not cheking of udp cksums.Michael Shalayeff
1996-05-02udpcksum should never be off in the modern worldTheo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
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