| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | implement sysctls to report IP, TCP, UDP, and ICMP statistics and | 2007-12-13 | 1 | -2/+5 | ||
| | | | | | | | | | change netstat to use them instead of accessing kvm for it. more protocols will be added later. discussed with deraadt@ claudio@ gilles@ ok deraadt@ | |||||
| * | merge tcp_set_iss() and tcp_set_tsm(); ok mcbride, djm (on earlier version) | 2007-06-25 | 1 | -3/+2 | ||
| | | ||||||
| * | Drop the current random timestamps and the current ISN generation | 2007-06-15 | 1 | -2/+4 | ||
| | | | | | | | | code and replace both with a RFC1948 based method, so TCP clients now have monotonic ISN/timestamps. The server side uses completely random ISN/timestamps and does time-wait recycling (on port reuse). ok djm@, mcbride@; thanks to lots of testers | |||||
| * | correct rfc; from Kris Katterjohn | 2007-02-01 | 1 | -2/+2 | ||
| | | ||||||
| * | bitfields must be off an int or such type | 2005-12-11 | 1 | -3/+3 | ||
| | | ||||||
| * | splimp -> splvm. mbuf allocation here. | 2005-11-20 | 1 | -3/+4 | ||
| | | | | | ok henning@ | |||||
| * | Only two `h' in threshold. | 2005-11-15 | 1 | -2/+2 | ||
| | | ||||||
| * | change the TCP reass queue from LIST to TAILQ; | 2005-08-02 | 1 | -3/+13 | ||
| | | | | | ok henning claudio fgsch krw | |||||
| * | remove TUBA, ok many | 2005-07-04 | 1 | -4/+1 | ||
| | | ||||||
| * | implement PMTU checks from | 2005-06-30 | 1 | -1/+11 | ||
| | | | | | | | | http://www.gont.com.ar/drafts/icmp-attacks-against-tcp.html i.e. don't act on ICMP-need-frag immediately if adhoc checks on the advertised mtu fail. the mtu update is delayed until a tcp retransmit happens. initial patch by Fernando Gont, tested by many. | |||||
| * | Ignore ICMP Source Quench messages meant for TCP connections. (Details in | 2005-05-24 | 1 | -2/+1 | ||
| | | | | | | http://www.gont.com.ar/drafts/icmp-attacks-against-tcp.html) ok markus frantzen | |||||
| * | add tcp sack stats, similar to freebsd; ok deraadt | 2005-04-05 | 1 | -1/+7 | ||
| | | ||||||
| * | from freebsd: | 2005-03-09 | 1 | -4/+2 | ||
| | | | | | | | 1. set rcv_laststart/rcv_lastend after checking the tcp window 2. pass rcv_laststart and rcv_lastend on the stack (shrink tcp state) ok henning, djm | |||||
| * | - check th_ack against snd_una/max; from Raja Mukerji via hugh@ | 2005-03-04 | 1 | -3/+7 | ||
| | | | | | | | | - limit pool to tcp_sackhole_limit entries (sysctl-able) - stop sack option processing on pool_get errors - use SEQ_MIN/SEQ_MAX ok henning, hshoexer, deraadt | |||||
| * | 1. tcp_xmit_timer(): remove extra rtt decrement (t_rtttime is 0-based | 2005-02-27 | 1 | -10/+9 | ||
| | | | | | | | | | | | | while t_rtt was 1-based), update callers 2. define and use TCP_RTT_BASE_SHIFT instead of the hardcoded 2. 3. add missing shifts when t_srtt/t_rttvar are used. 4. update the comments: t_srtt uses 5 bits of fraction (not 3) and t_rttvar uses 4 bits 5. remove obsolete/unused macros TCP_RTT_SCALE and TCP_RTTVAR_SCALE 6. make sure rttmin is not > TCPTV_REXMTMAX parts from netbsd, ok mcbride, henning | |||||
| * | Make sure bogus values don't make their way into tcp_xmit_timer() calculations. | 2005-01-10 | 1 | -1/+2 | ||
| | | | | | | | | | | | - Ignore ts_ecr if it is 0, or the resulting rtt is out of range. (use tp->t_rtttime instead) - Initialise tcp_now to 1, to avoid the 500ms window where a valid ts_ecr of 0 could be ignored. - Convert out-of-range rtt values to valid ones in tcp_xmit_timer(). ok frantzen@ markus@ | |||||
| * | fix for race between invocation for timer and network input | 2004-11-25 | 1 | -1/+6 | ||
| | | | | | | | 1) add a reaper for TCP and SYN cache states (cf. netbsd pr 20390) 2) additional check for TCP_TIMER_ISARMED(TCPT_REXMT) in tcp_timer_persist() with mickey@; ok deraadt@ | |||||
| * | Modulate tcp_now by a random amount on a per-connection basis. | 2004-10-28 | 1 | -1/+3 | ||
| | | | | | ok markus@ frantzen@ | |||||
| * | don't send partial segments if SS_ISSENDING is set, remember | 2004-09-16 | 1 | -1/+2 | ||
| | | | | | | TF_LASTIDLE across invocations of tcp_output (from freebsd); ok mcbride | |||||
| * | tcp_trace() expects short, not int; ok deraadt | 2004-07-15 | 1 | -2/+2 | ||
| | | ||||||
| * | factor out md5 code; ok+tests henning@, djm@, hshoexer@ | 2004-06-08 | 1 | -1/+3 | ||
| | | ||||||
| * | add TCPCTL_DROP; ok deraadt, cedric, grange, ... | 2004-04-25 | 1 | -2/+5 | ||
| | | ||||||
| * | add tcps_rcvacktooold; ok deraadt | 2004-04-20 | 1 | -1/+2 | ||
| | | ||||||
| * | limit total number of queued out-of-order packets to NMBCLUSTERS/2; ok mcbride | 2004-03-02 | 1 | -3/+10 | ||
| | | ||||||
| * | implement tcp_drain() similar to ip_drain(); ok mcbride@ | 2004-02-27 | 1 | -5/+31 | ||
| | | ||||||
| * | API change; counter for upcoming tcp_drain(); ok deraadt | 2004-02-27 | 1 | -1/+3 | ||
| | | ||||||
| * | switch to sysctl_int_arr(); ok itojun, henning, miod, deraadt | 2004-02-15 | 1 | -1/+22 | ||
| | | ||||||
| * | !sack_disable -> sack_enable; ok deraadt@ | 2004-01-31 | 1 | -2/+2 | ||
| | | ||||||
| * | support for RFC3390 (Increasing TCP's Initial Window); ok deraadt, itojun | 2004-01-29 | 1 | -2/+5 | ||
| | | ||||||
| * | syncache+ipv6 support for TCP_SIGNATURE; with itojun; ok deraadt | 2004-01-14 | 1 | -1/+2 | ||
| | | ||||||
| * | bring back the old TCP_SIGNATURE code from tcp_input.c rev 1.45 | 2004-01-13 | 1 | -3/+3 | ||
| | | | | | and make it compile (does not work yet); ok deraadt@ | |||||
| * | syn_XXX_limit -> synXXXlimit for consistency; ok deraadt | 2004-01-07 | 1 | -3/+3 | ||
| | | ||||||
| * | import netbsd's version of David Borman's syncache code | 2004-01-06 | 1 | -3/+125 | ||
| | | | | | http://www.kohala.com/start/borman.97jun06.txt; ok deraadt@, henning@ | |||||
| * | backout following: | 2003-06-09 | 1 | -2/+2 | ||
| | | | | | | | >use m_pulldown not m_pullup2. fix some bugs in IPv6 tcp_trace(). PR 3283 fixed (confirmed) | |||||
| * | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 1 | -6/+2 | ||
| | | | | | rescinded 22 July 1999. Proofed by myself and Theo. | |||||
| * | use m_pulldown not m_pullup2. fix some bugs in IPv6 tcp_trace(). | 2003-05-29 | 1 | -2/+2 | ||
| | | ||||||
| * | fix tcpcb size to make trpt happy | 2003-05-26 | 1 | -2/+2 | ||
| | | ||||||
| * | don't #ifdef within struct tcpcb definition, as it is used in userland too. | 2003-05-23 | 1 | -4/+4 | ||
| | | | | | dhartmei ok | |||||
| * | Nuke a whole bunch of commons; ok tedu (still more to come *sigh*) | 2003-05-12 | 1 | -2/+2 | ||
| | | ||||||
| * | Remove commons; inspired by netbsd. | 2003-02-12 | 1 | -2/+2 | ||
| | | ||||||
| * | whitespace | 2002-06-09 | 1 | -8/+8 | ||
| | | ||||||
| * | bring in ECN support from KAME. | 2002-05-16 | 1 | -4/+25 | ||
| | | | | | | | | | | | | | it consists of - ECN support in TCP - tunnel-egress and fragment reassembly rules in layer-3 not to lose congestion info at tunnel-egress and fragment reassembly to enable ECN in TCP, build a kernel with TCP_ECN, and then, turn it on by "sysctl -w net.inet.tcp.ecn=1". ok deraadt@ | |||||
| * | First round of __P removal in sys | 2002-03-14 | 1 | -56/+56 | ||
| | | ||||||
| * | use timeout(9) to schedule TCP timers. this avoid traversing all | 2002-03-08 | 1 | -6/+4 | ||
| | | | | | tcp connections during tcp_slowtimo. apdapted from thorpej@netbsd.org | |||||
| * | disable immediate ack on TH_PUSH. make behaviour sysctl tuneable. | 2002-03-02 | 1 | -2/+5 | ||
| | | | | | | from netbsd; also fix a bug where setting TF_ACKNOW didn't actually result in an ack. | |||||
| * | remove tcp_fasttimo and convert delayed acks to the timeout(9) API instead. | 2002-03-01 | 1 | -2/+29 | ||
| | | | | | adapated from netbsd. okay angelos@ | |||||
| * | allocate sackholes with pool | 2002-01-15 | 1 | -1/+2 | ||
| | | ||||||
| * | Keep stats on TCP/UDP hardware checksumming. | 2001-06-23 | 1 | -1/+3 | ||
| | | ||||||
| * | Inclusion protection. | 2001-06-09 | 1 | -2/+5 | ||
| | | ||||||
| * | more random tcp sequence numbers. okay deraadt@, angelos@ | 2000-12-13 | 1 | -1/+5 | ||
| | | ||||||
