Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move #ifdef INET6 outside of 'case AF_INET6:' in tcp_ident(). | 2005-02-22 | 1 | -2/+2 | |
| | | | | | | | No functional change due to earlier check, fix from Maxim Konovalov <maxim@macomnet.ru> ok deraadt@ dhartmei@ | ||||
* | Modulate tcp_now by a random amount on a per-connection basis. | 2004-10-28 | 1 | -1/+8 | |
| | | | | ok markus@ frantzen@ | ||||
* | tcp_trace() expects short, not int; ok deraadt | 2004-07-15 | 1 | -2/+2 | |
| | |||||
* | Require NULL oldp when dropping a connection. | 2004-04-27 | 1 | -5/+7 | |
| | | | | ok markus@ | ||||
* | change tcpdrop to require newp instead of oldp; suggested by otto | 2004-04-26 | 1 | -12/+13 | |
| | |||||
* | add TCPCTL_DROP; ok deraadt, cedric, grange, ... | 2004-04-25 | 1 | -6/+31 | |
| | |||||
* | remove duplicate if. from pedro martelletto, ok markus@ | 2004-04-12 | 1 | -8/+2 | |
| | |||||
* | limit total number of queued out-of-order packets to NMBCLUSTERS/2; ok mcbride | 2004-03-02 | 1 | -1/+14 | |
| | |||||
* | switch to sysctl_int_arr(); ok itojun, henning, miod, deraadt | 2004-02-15 | 1 | -48/+15 | |
| | |||||
* | rename tcp sockopt TCP_SIGNATURE_ENABLE to TCP_MD5SIG | 2004-01-31 | 1 | -3/+3 | |
| | | | | | requested by theo ok markus@ hshoexer@ | ||||
* | !sack_disable -> sack_enable; ok deraadt@ | 2004-01-31 | 1 | -7/+7 | |
| | |||||
* | add support for getsockopt(..., TCP_SIGNATURE_ENABLE | 2004-01-30 | 1 | -1/+6 | |
| | | | | | | so you can check wether a just accept()ed connection is md5sig'd ok deraadt@ markus@ | ||||
* | support for RFC3390 (Increasing TCP's Initial Window); ok deraadt, itojun | 2004-01-29 | 1 | -1/+4 | |
| | |||||
* | import netbsd's version of David Borman's syncache code | 2004-01-06 | 1 | -1/+7 | |
| | | | | http://www.kohala.com/start/borman.97jun06.txt; ok deraadt@, henning@ | ||||
* | de-register. deraadt ok | 2003-12-10 | 1 | -9/+9 | |
| | |||||
* | Mbuf tag tcp and udp packets which are translated to localhost, and | 2003-12-08 | 1 | -3/+3 | |
| | | | | | | | | | | | | | use the the presence of this tag to reverse the match order in in{6}_pcblookup_listen(). Some daemons (such as portmap) do a double bind, binding to both * and localhost in order to differentiate local from non-local connections, and potentially granting more privilege to local ones. This change ensures that redirected connections to localhost do not appear local to such a daemon. Bulk of changes from dhartmei@, some changes markus@ ok dhartmei@ deraadt@ | ||||
* | add in(6)_pcblookup_listen() and replace all calls to in_pcblookup() | 2003-11-04 | 1 | -7/+5 | |
| | | | | | | with either in(6)_pcbhashlookup() or in(6)_pcblookup_listen(); in_pcblookup is now only used by bind(2); speeds up pcb lookup for listening sockets; from Claudio Jeker | ||||
* | 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 | |
| | |||||
* | Remove commons; inspired by netbsd. | 2003-02-12 | 1 | -1/+3 | |
| | |||||
* | KNF - return is not a function. sync w/kame | 2002-09-11 | 1 | -2/+2 | |
| | |||||
* | redo socketbuf speedup. | 2002-08-08 | 1 | -3/+3 | |
| | |||||
* | backout the tree break. ok pb@, art@ | 2002-08-08 | 1 | -3/+3 | |
| | |||||
* | socket buf speedup from thorpej@netbsd, okay art@ ericj@: | 2002-08-08 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | 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! | ||||
* | whitespace | 2002-06-09 | 1 | -2/+2 | |
| | |||||
* | avoid is_ipv6 construct. a step towards IPv4-less kernel | 2002-06-07 | 1 | -13/+13 | |
| | |||||
* | remove extra spaces, tabs, and semicolon. | 2002-05-26 | 1 | -12/+12 | |
| | |||||
* | bring in ECN support from KAME. | 2002-05-16 | 1 | -1/+6 | |
| | | | | | | | | | | | | 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 | -2/+2 | |
| | |||||
* | use timeout(9) to schedule TCP timers. this avoid traversing all | 2002-03-08 | 1 | -10/+2 | |
| | | | | tcp connections during tcp_slowtimo. apdapted from thorpej@netbsd.org | ||||
* | disable immediate ack on TH_PUSH. make behaviour sysctl tuneable. | 2002-03-02 | 1 | -1/+4 | |
| | | | | | from netbsd; also fix a bug where setting TF_ACKNOW didn't actually result in an ack. | ||||
* | Don't cast nonexistent return value from splx to (void). ok art@ | 2002-02-15 | 1 | -2/+2 | |
| | |||||
* | use macros to manage tcp timers; based on netbsd | 2002-01-14 | 1 | -3/+3 | |
| | |||||
* | Restore inclusion of <sys/systm.h>. | 2001-06-26 | 1 | -1/+2 | |
| | |||||
* | Cut down on include files. | 2001-06-08 | 1 | -9/+1 | |
| | |||||
* | repair copyright notices for NRL & cmetz; cmetz | 2001-06-05 | 1 | -14/+38 | |
| | |||||
* | Remove unnecessary XXX comment. | 2001-05-27 | 1 | -4/+1 | |
| | |||||
* | more random tcp sequence numbers. okay deraadt@, angelos@ | 2000-12-13 | 1 | -5/+5 | |
| | |||||
* | nuke #ifdef TCP6 (no longer supported). | 2000-12-11 | 1 | -2/+3 | |
| | | | | | | | validate ICMPv6 too big messages (pmtud) based on pcb. we accept certain amount of non-validated ones, as IPv6 mandates ICMPv6 (so even for traffic from unconnected pcb, we need pmtud). sync with kame | ||||
* | implement net.inet.tcp.rstppslimit. rate-limits outbound TCP RST traffic | 2000-10-14 | 1 | -1/+6 | |
| | | | | to less than N per 1 second. | ||||
* | Lots and lots of changes. | 2000-09-19 | 1 | -8/+2 | |
| | |||||
* | compute correct window scale when recvpipe option is set in route; based | 2000-07-11 | 1 | -4/+3 | |
| | | | | on diff from "Pete Kazmier" <pete@kazmier.com> | ||||
* | completely remove ipv4 mapped cases from tcp_input(). | 2000-07-06 | 1 | -36/+1 | |
| | | | | cleanup (indentation, v4-or-v6 conditions) | ||||
* | more cleanup for IPv4 mapped address support. there seem to be some | 2000-07-05 | 1 | -4/+13 | |
| | | | | | | | | | inconsistency in corner cases (from NRL I believe). todd (fries) and I have seen panic, with the following call chain: ip6_input -> tcp_input -> tcp_respond -> ip_input -> bang! more cleanups should be done, to decrease complexity. for example, INP_IPV6_MAPPED should be nuked. | ||||
* | permit compilation of non-V6 kernels | 2000-06-18 | 1 | -5/+2 | |
| | |||||
* | support ipv6 for tcp_ident | 2000-06-18 | 1 | -11/+54 | |
| | |||||
* | for setsockopt/getsockopt, don't assume non-PF_INET6 address family as | 2000-06-18 | 1 | -3/+10 | |
| | | | | PF_INET. we may see other family in the future... (pedant) | ||||
* | correctly handle ctlinput messages for IPv6. | 2000-06-03 | 1 | -2/+10 | |
| | |||||
* | option TCP_NEWRENO goes away, its the default case for TCP_SACK if | 1999-12-21 | 1 | -2/+2 | |
| | | | | SACK is disabled for the connection or via sysctl |