summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_timer.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a bug in the handling of the "persist" state which, under certainjdp1996-06-031-7/+12
| | | | | | | | | | circumstances, caused perfectly good connections to be dropped. This happened for connections over a LAN, where the retransmit timer calculation TCP_REXMTVAL(tp) returned 0. If sending was blocked by flow control for long enough, the old code dropped the connection, even though timely replies were being received for all window probes. Reviewed by: W. Richard Stevens <rstevens@noao.edu>
* Two fixes from Rich Stevens:dg1996-04-151-2/+2
| | | | | | | | | 1) Set the persist timer to help time-out connections in the CLOSING state. 2) Honor the keep-alive timer in the CLOSING state. This fixes problems with connections getting "stuck" due to incompletion of the final connection shutdown which can be a BIG problem on busy WWW servers.
* Add a sysctl (net.inet.tcp.always_keepalive: 0) that when set will forcephk1996-04-041-2/+7
| | | | | | keepalive on all tcp sessions. Setsockopt(2) cannot override this setting. Maybe another one is needed that just changes the default for SO_KEEPALIVE ? Requested by: Joe Greco <jgreco@brasil.moneng.mei.com>
* Move or add #include <queue.h> in preparation for upcoming struct socketdg1996-03-111-2/+2
| | | | changes.
* Reverse the modification which caused the annoying m_copydata crash: setolah1996-01-041-1/+5
| | | | | | the TF_ACKNOW flag when the REXMT timer goes off to force a retransmission. In certain situations pulling snd_nxt back to snd_una is not sufficient.
* New style sysctl & staticize alot of stuff.phk1995-11-141-6/+8
|
* Start adding new style sysctl here too.phk1995-11-091-1/+9
|
* Setting the TF_ACKNOW flag was redundant in the REXMT timeout becauseolah1995-11-031-5/+1
| | | | | | | tcp_output() checks for the condition snd_nxt == snd_una. Reviewed by: davidg, wollman, olah Suggested by: Richard Stevens
* Finish 4.4-Lite-2 merge: randomize TCP initial sequence numberswollman1995-10-031-8/+16
| | | | to make ISS-guessing spoofing attacks harder.
* Add connection drop capability for persist timeouts.dg1995-07-291-1/+17
| | | | | Reviewed by: Andras Olah Obtained from: 4.4BSD-lite2 via W. Richard Stevens
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* Fixed bug I introduced when changing PCB list to use 4.4BSD style queuedg1995-04-121-4/+3
| | | | macros. Basically, detect 'tp' going away differently.
* Implemented PCB hashing. Includes new functions in_pcbinshash, in_pcbrehash,dg1995-04-091-14/+19
| | | | and in_pcblookuphash.
* Transaction TCP support now standard. Hack away!wollman1995-02-161-5/+1
|
* Merge Transaction TCP, courtesy of Andras Olah <olah@cs.utwente.nl> andwollman1995-02-091-1/+10
| | | | | | | | | Bob Braden <braden@isi.edu>. NB: This has not had David's TCP ACK hack re-integrated. It is not clear what the correct solution to this problem is, if any. If a better solution doesn't pop up in response to this message, I'll put David's code back in (or he's welcome to do so himself).
* Added $Id$dg1994-08-021-0/+1
|
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-241-0/+312
OpenPOWER on IntegriCloud