summaryrefslogtreecommitdiff
path: root/sys/netinet
AgeCommit message (Collapse)Author
1999-07-18use proper CTheo de Raadt
1999-07-17revert tcp_input.c to before 07/01/1999 - this seems to solve the mysteriousNiels Provos
data corruptions and panics that people have experienced. by reverting we loose tcp signatures and ipv6 cleanups, the code looked correct to me.
1999-07-17A good hashing function for IPsec SAs that should remove the risksNiklas Hallqvist
of running out of memory when adding SPIs.
1999-07-15Protect better against rehashing make the kernel run out of resourcesNiklas Hallqvist
1999-07-15From angelos@, edits by me, demand keying for PF_KEYNiklas Hallqvist
1999-07-13correct non-STDC caseTheo de Raadt
1999-07-06ipsec_in_use could get out of sync. (Also niklas@. angelos@ ok)Hakan Olsson
1999-07-06Added support for TCP MD5 option (RFC 2385).cmetz
1999-07-06Fixed compilation problems when INET6 is enabled.cmetz
1999-07-06Removed bogus ifdef/define lines that resulted from an over-aggressive M-x.cmetz
1999-07-05remove bogus entry from if_enc address list; and rename enc_softc to encifTheo de Raadt
1999-07-03indentTheo de Raadt
1999-07-02rename SADB_foo_X_bar to SADB_X_foo_barTheo de Raadt
1999-07-02Fixed a #ifdef defined()... typo that turned into a compilation failure.cmetz
1999-07-02Significant cleanups in the way TCP is made to handle multiple networkcmetz
protocols. "struct tcpiphdr" is now gone from much of the code, as are separate pointers for ti and ti6. The result is fewer variables, which is generally a good thing. Simple if(is_ipv6) ... else ... tests are gone in favor of a switch(protocol family), which allows future new protocols to be added easily. This also makes it possible for someone so inclined to re-implement TUBA (TCP over CLNP?) and do it right instead of the kluged way it was done in 4.4. The TCP header template is now referenced through a mbuf rather than done through a data pointer and dtom()ed as needed. This is partly because dtom() is evil and partly because max_linkhdr + IPv6 + TCP + MSS/TS/SACK opts won't fit inside a packet header mbuf, so we need to grab a cluster for that (which the code now does, if needed).
1999-06-30remove final low-level crypto knowledge from base ipsec codeTheo de Raadt
1999-06-18split out transforms; some debugging done but there may still be bugs inTheo de Raadt
the new key init/zero functions
1999-06-15handle multicast packets inside ipf too; darrenTheo de Raadt
1999-06-11removed TCPCOOKIE support.pattonme
1999-06-07I do not believe thisTheo de Raadt
1999-06-07return a ICMP_UNREACH_PROTOCOL for protocols we do not support; discussion ↵Theo de Raadt
with cmetz
1999-06-07Fix use of uninitialized TDB hash table in tdb_delete(), introducedAngelos D. Keromytis
along with the dynamically-resized TDB table (report and fix suggestion by henric@ncal.verio.com)
1999-06-06Ident.Angelos D. Keromytis
1999-06-06avoid a future problem inside an #ifdef notyetTheo de Raadt
1999-06-04forgot to zero sunionNiels Provos
1999-05-24instead of dropping out of window SYNs, send an ACK and drop afterwards.Niels Provos
fixes a problem with NFS over TCP reported by Jason Thorpe, fix from klm@netbsd.org
1999-05-23SA hash table resizingNiklas Hallqvist
1999-05-20Fix a bug where the ordered expiration list could get out of order. AddNiklas Hallqvist
invariant checking of the lists when DIAGNOSTIC compiled. Extend the critical region to cover all of tdb_expiration so the tdb won't disappear behind our back.
1999-05-16Don't judge locally generated tunnel packets as spoof attempts. indent.Niklas Hallqvist
1999-05-16spltdb introduced, protection for tdb lists and related structures, soNiklas Hallqvist
they won't disappear behind our back by an expiration. Cleanup expiration logic too.
1999-05-16Add support for static ARP entries that cannot be overwritten.Hakan Olsson
Ordinary static ARPs that are overwritten will no longer still be static.
1999-05-14A new scalable IPsec SA expiration model.Niklas Hallqvist
1999-05-12Obvious pastoNiklas Hallqvist
1999-05-12Follow local indentation style.Hakan Olsson
1999-05-12Fix problem with data corruption for retransmitted TCP packetsHakan Olsson
in an IPSec ESP tunnel. OpenBSD PR 819.
1999-05-11Remove cruft that wasted space en masse in the IPsec subsystemNiklas Hallqvist
1999-04-28zap the newhashinit hack.Artur Grabowski
Add an extra flag to hashinit telling if it should wait in malloc. update all calls to hashinit.
1999-04-23dont accept packets with the destination address of a down interface;Niels Provos
proff@netbsd.org.
1999-04-22Heh, this was definitely not tested. cpp sytax errors.Niklas Hallqvist
1999-04-21From Tom Henderson <tomh@cs.berkeley.edu>:Niels Provos
Fixed a sequence wraparound bug in the snd_recover variable discovered in very large (multiple GByte) transfers (in loss free conditions, snd_recover was not sufficiently tracking snd_una). Thanks to Mark Smith for finding this. Fixed a bug in tcp_newreno that was preventing retransmission of data due to partial acks. (Discovered by Jayanth Vijayaraghavan)
1999-04-20messup, learn to test *all* variants of compile options whenNiklas Hallqvist
altering the logic round such.
1999-04-20use open() with O_EXCL.. but also move to /var/run to avoid the 2nd-level ↵Theo de Raadt
/tmp race which darren obviously does not think important
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-04-16fix ipf return-rst panic bug; beckTheo de Raadt
1999-04-12move encdebug to a useful placeTheo de Raadt
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-04-09Make the tdbi handling more robust, removes a panic caseNiklas Hallqvist
1999-04-09Check for local address spoofing on encapsulated packets.Angelos D. Keromytis
1999-04-04fix tunnelling; provosTheo de Raadt