summaryrefslogtreecommitdiff
path: root/sys/netinet
AgeCommit message (Collapse)Author
1996-10-08Prototype & Stylistic fixes for high -W gcc levelsNiklas Hallqvist
1996-09-30handle openbsd casesTheo de Raadt
1996-09-25Drop unused variableNiklas Hallqvist
1996-09-23fix tuba after synbomb fixesTheo de Raadt
1996-09-20`solve' the syn bomb problem as well as currently known; add sysctl's forTheo de Raadt
SOMAXCONN (kern.somaxconn), SOMINCONN (kern.sominconn), and TCPTV_KEEP_INIT (net.inet.tcp.keepinittime). when this is not enough (ie. overfull), start doing tail drop, but slightly prefer the same port.
1996-09-12Close TCP receive window when we cannot receive data; suggested by DarrenThorsten Lockert
Reed. Also make a conditional easier to read.
1996-09-12TCP Persist handling; from 4.4BSD Lite2 (via NetBSD PR 2335)Thorsten Lockert
1996-09-12Don't assume other subnets than our own are local to us; from Luigi RizzoThorsten Lockert
by way of Jason Downs & Theo de Raadt. Can be overridden in the kernel configuration file by using "option SUBNETSARELOCAL=1"
1996-09-02Don't drain the protocol queues at interrupt level.dm
1996-08-24change to so_uid, also fix a missing credential found by dmTheo de Raadt
1996-08-14restrict some raw ip packets that may crash ip_output(); from freebsdTheo de Raadt
1996-08-14ipaddrs are int; like many other things found after spotting a similar ↵Theo de Raadt
netbsd commit...
1996-08-07Partial protection from TCP SYN attacksThorsten Lockert
1996-08-05stupid typo, going to bed in penanceTheo de Raadt
1996-08-05only check for takeover permission if non-rootTheo de Raadt
1996-08-05struct socket gets so_ucred; permit only same uid or root to do port takeover.Theo de Raadt
1996-08-02ICMP Router Discovery definitions; from FreeBSDThorsten Lockert
1996-08-02Allow viewing of net.inet.ip.sourceroute in secure modeThorsten Lockert
1996-07-29Remove random() prototype, as it's not needed. Besides it was wrong for the ↵Niklas Hallqvist
alpha :-)
1996-07-29Fix stupid logic error in bind().Jason Downs
1996-07-29Make TCP ISS increment by random amountsThorsten Lockert
1996-07-29Make 600, instead of 512, the lower limit for reserved ports.Jason Downs
1996-07-29Fix a small bug and change the logic of the bind() port choosing:Jason Downs
Use a random starting point the first time through the loop.
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-07-27pad for machines that do not pad structs outTheo de Raadt
1996-07-25SS_CONNECTOUT indicates socket was connect()ed at this end, accept()ed at ↵Theo de Raadt
other end
1996-07-18ipfilter 3.1.0dm
1996-07-05release temporary binding if M_PREPEND fails; netbsd pr#2605; ↵Theo de Raadt
tegge@idt.unit.no; improved by me
1996-07-03ported to FreeBSD 2.2-960612-SNAP.chuck
1996-07-03prototype ethers(3) functions (inside !_KERNEL), pointed out inTheo de Raadt
netbsd pr#2471, jhawk@mit.edu
1996-06-29change:chuck
- change asock to rxhand and adjust all for this [esp atm_input]
1996-06-26fixes/new stuff:chuck
[1] if user tries to enter in a bogus PVC don't leave it in the routing table ... remove it [2] change ioctl arg to include rxso for lower layer [3] add hooks (inside "NATM" ifdef) for native mode atm sockets so that they don't clash with IP PVCs. [i am still debugging the native mode atm socket protosw code]
1996-06-21use correct copyrightchuck
1996-06-21network support for ATM networks (ATM == Async Transfer Mode, notchuck
Automatic Teller Machine). Currently supports PVCs only (no ATM ARP either).
1996-06-06if_arp is obsolete, now named if_etherNiklas Hallqvist
1996-05-22When sending an ARP request, use the interface address for the route, ratherTheo de Raadt
than the first address assigned. This gives slightly different behaviour in the presence of aliases. From Bill Fenner, via Pete Bentley.
1996-05-15remove unnecessary "XXX it should be sysctl()'ed"Michael Shalayeff
1996-05-15fix NetBSD PR#854.Michael Shalayeff
allow to overwrite rfc1323 option in config file.
1996-05-15let udpcksum control generation, but not cheking of udp cksums.Michael Shalayeff
1996-05-14non-root bind() to 2049 gets EADDRINUSETheo de Raadt
1996-05-13fix return-rstdm
1996-05-10ipfilter 3.0.4dm
1996-05-10if_name/if_unit -> if_xname/if_softcTheo de Raadt
1996-05-09revert icmp len fix, since i experience 'icmp len'Michael Shalayeff
panics replying to udp.
1996-05-07from NetBSD PR#2296:Michael Shalayeff
Laine Stump: some icmp destination unreachable packets contain garbage.
1996-05-02udpcksum should never be off in the modern worldTheo de Raadt
1996-04-24Add IPXIP entry, to not to get cvs confused in the future.Michael Shalayeff
1996-04-21partial sync with netbsd 960418, more to comeTheo 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