Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-07-21 | remove caddr_t casts. it's just silly to cast something when the function | Ted Unangst | |
takes a void *. convert uiomove to take a void * as well. ok deraadt@ | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2002-10-12 | Remove more '\n's from panic() statements. Both trailing and leading. | Kenneth R Westerback | |
Diff generated by Chris Kuethe. | |||
2002-10-10 | constify a few strings. various@ ok | Artur Grabowski | |
2002-08-26 | Update sb_lastrecord in sbcompress() when the mbuf pointed to is removed. | Daniel Hartmeier | |
Bug report from Alistair Kerr, tested miod@, inspected art@, ok provos@ | |||
2002-08-08 | redo socketbuf speedup. | Niels Provos | |
2002-08-08 | backout the tree break. ok pb@, art@ | Todd T. Fries | |
2002-08-08 | socket buf speedup from thorpej@netbsd, okay art@ ericj@: | Niels Provos | |
Make insertion of data into socket buffers O(C): * Keep pointers to the first and last mbufs of the last record in the socket buffer. * Use the sb_lastrecord pointer in the sbappend*() family of functions to avoid traversing the packet chain to find the last record. * Add a new sbappend_stream() function for stream protocols which guarantee that there will never be more than one record in the socket buffer. This function uses the sb_mbtail pointer to perform the data insertion. Make TCP use sbappend_stream(). On a profiling run, this makes sbappend of a TCP transmission using a 1M socket buffer go from 50% of the time to .02% of the time. Thanks to Bill Sommerfeld and YAMAMOTO Takashi for their debugging assistance! | |||
2002-06-11 | splassert where necessary | Artur Grabowski | |
2002-05-11 | track egid/rgid on bound/connected sockets too (pf will use this) | Theo de Raadt | |
2001-11-30 | sbcompress() can compact mbuf clusters now; from thorpej@netbsd | Niels Provos | |
2001-11-28 | avoid "thundering herd" problem in accept by waking just one process. | Niels Provos | |
based on freebsd. okay art@ markus@ | |||
2001-11-28 | from enami@netbsd: | Niels Provos | |
Give different names for different wait channels | |||
2001-11-27 | change socket allocation to pool allocator; from netbsd; okay niklas@ | Niels Provos | |
2001-11-27 | change socket connection queues to use TAILQ_ | Niels Provos | |
from NetBSD: Wed Jan 7 23:47:08 1998 UTC by thorpej Make insertion and removal of sockets from the partial and incoming connections queues O(C) rather than O(N). | |||
2001-09-26 | At sonewconn() time, copy so_siguid & so_sigeuid to the newly created socket. | Theo de Raadt | |
Stops a nasty little program supplied by gustavo@core-sdi.com | |||
2001-07-05 | It feels a bit pointless to have: | Artur Grabowski | |
#define sonewconn(head, connstatus) sonewconn1((head), (connstatus)) Just wastes preprocessor time. | |||
2001-06-22 | KNF | Theo de Raadt | |
2001-05-26 | Style. | Angelos D. Keromytis | |
2001-05-02 | prevent overflow in sbreserve; from wollman@freebsd via netbsd | Niels Provos | |
2000-11-16 | support kernel event queues, from FreeBSD by Jonathan Lemon, | Niels Provos | |
okay art@, millert@ | |||
2000-02-29 | more fix to ancillary data alignment. we need padding after | Jun-ichiro itojun Hagino | |
last cmsg_data item (see the figure on RFC2292 page 18). | |||
2000-02-18 | fix alignment problem in ancillary data (alpha). | Jun-ichiro itojun Hagino | |
only ipv6 tools (which touches ancillary data) are affected. From: =?iso-8859-1?Q?G=F6ran_Bengtson?= <goeran@cdg.chalmers.se> | |||
2000-02-04 | Fix misleading comment. | Angelos D. Keromytis | |
1999-12-08 | bring in KAME IPv6 code, dated 19991208. | Jun-ichiro itojun Hagino | |
replaces NRL IPv6 layer. reuses NRL pcb layer. no IPsec-on-v6 support. see sys/netinet6/{TODO,IMPLEMENTATION} for more details. GENERIC configuration should work fine as before. GENERIC.v6 works fine as well, but you'll need KAME userland tools to play with IPv6 (will be bringed into soon). | |||
1999-02-19 | fixed patch for accept/select race; mycroft@netbsd.org | Todd C. Miller | |
1999-02-18 | undo select/accept patch, which causes full listen queues apparently | Theo de Raadt | |
1999-01-21 | Fixes select(2)/accept(2) race condition which permits DoS; mycroft@netbsd.org | Todd C. Miller | |
1998-02-14 | add seperate so_euid & so_ruid to struct socket, so that identd is still ↵ | Theo de Raadt | |
fast.. Sigh. I will change this again later | |||
1997-08-31 | for non-tty TIOCSPGRP/F_SETOWN/FIOSETOWN pgid setting calls, store uid | Theo de Raadt | |
and euid as well, then deliver them using new csignal() interface which ensures that pgid setting process is permitted to signal the pgid process(es). Thanks to newsham@aloha.net for extensive help and discussion. | |||
1997-02-21 | do not allow SO_SNDBUF/SO_RCVBUF len 0 | Theo de Raadt | |
1996-09-20 | `solve' the syn bomb problem as well as currently known; add sysctl's for | Theo 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-08-24 | change to so_uid, also fix a missing credential found by dm | Theo de Raadt | |
1996-03-03 | From NetBSD: 960217 merge | Niklas Hallqvist | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |