summaryrefslogtreecommitdiff
path: root/sys/netinet/in.h
AgeCommit message (Collapse)Author
1999-04-11Introduce net.inet.{ah,esp}.enable sysctl controls that are off by default.Niklas Hallqvist
If you are going to use either of AH or ESP or both, enable these in /etc/sysctl.conf. Also correct the IPSec debugging sysctl code, it is now named net.inet.ip.encdebug. Some corrected function signatures too.
1999-04-09The kernel parts of a sysctl that can switch on/off IP-in-IP (protocol 4)Niklas Hallqvist
support, when IPSEC is compiled in. The default is disabled. Turn on with: sysctl -w net.inet.ip4.allow=1 ***Only*** do this if you are really knowing what you do! This control does not control the tunnel modes of ESP and AH.
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-24Removed old NRL convention in6a_words virtual-field from struct in6_addr.cmetz
Let's not encourage the use of an obsolete convention.
1999-02-24Added in.h definitions required by IPv6 Basic API and Advanced API specs, andcmetz
a few extras that are just plain useful. Note that I used u_intxx_t instead of the POSIX p1003.1g uintxx_t that those specs mandate, so as to not increase the number of outside symbol definitions that in.h depends on.
1999-02-17add fragment flood protection; configureable using sysctl ip.maxqueueTheo de Raadt
1999-01-10merge INPROTO_* tablesTheo de Raadt
1999-01-07update for ipv6Theo de Raadt
1999-01-03use int8_t, not char in c++ case for consistency and fix indentationTodd C. Miller
1999-01-01mirror OSF1 solution for ip_opts[] within struct called ip_opts; dm@, pr#681Theo 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.
1998-02-11make IPPORT_USERRESERVED a nice fat number -> random ports look really funky.Theo de Raadt
1997-11-30Move in_addr_t and in_port_t to <sys/types.h> and add sa_family_tTodd C. Miller
and suseconds_t types for XPG4.2.
1997-07-28Make struct in_addr contain an in_addr_t since that's whatTodd C. Miller
in_addr_t is for (same basic type so we don't break anything).
1997-07-02Move prototype for bindresvport(3) to <netiniet/in.h> as it isTodd C. Miller
not rpc-specific and other stuff uses it now.
1997-02-28IPsec socket API hooks are in.Angelos D. Keromytis
1997-02-20IPSEC package by John Ioannidis and Angelos D. Keromytis. Written inTheo de Raadt
Greece. From ftp.funet.fi:/pub/unix/security/net/ip/BSDipsec.tar.gz
1996-07-29From FreeBSD (with slightly different sysctl names):Jason Downs
"... Allow the user to nominate one of three ranges of port numbers as candidates for selecting a local address to replace a zero port number. The ranges are selected via a setsockopt(s, IPPROTO_IP, IP_PORTRANGE, &arg) call. The three ranges are: default, high (to bypass firewalls) and low (to get a port below 1024). The default and high port ranges are sysctl settable under sysctl net.inet.ip.portrange.* [net.inet.ip.portfirst, net.inet.ip.portlast, net.inet.ip.porthifirst, and net.inet.ip.porthilast currently in OpenBSD.] This code also fixes a potential deadlock if the system accidently ran out of local port addresses. It'd drop into an infinite while loop. The secure port selection (for root) should reduce overheads and increase reliability of rlogin/rlogind/rsh/rshd if they are modified to take advantage of it."
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1996-02-21Added INADDR_MAX_LOCAL_GROUP, since it was present in 4.4-LiteMichael Shalayeff
and gated wants it to there ;)
1995-11-28add inet_ntoa() to the kernel. use it to log nicer messages. idea from freebsdTheo de Raadt
1995-11-26add sysctl net.inet.ip.sourceroute option; default to 0. copied from freebsdTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt