tcp.4 (129238) | tcp.4 (130582) |
---|---|
1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" From: @(#)tcp.4 8.1 (Berkeley) 6/5/93 | 1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" From: @(#)tcp.4 8.1 (Berkeley) 6/5/93 |
33.\" $FreeBSD: head/share/man/man4/tcp.4 129238 2004-05-14 20:07:49Z simon $ | 33.\" $FreeBSD: head/share/man/man4/tcp.4 130582 2004-06-16 08:33:57Z ru $ |
34.\" 35.Dd March 13, 2003 36.Dt TCP 4 37.Os 38.Sh NAME 39.Nm tcp 40.Nd Internet Transmission Control Protocol 41.Sh SYNOPSIS --- 74 unchanged lines hidden (view full) --- 116through which packets are being transmitted and received. 117Normally, this address corresponds to the peer entity's network. 118.Pp 119.Tn TCP 120supports a number of socket options which can be set with 121.Xr setsockopt 2 122and tested with 123.Xr getsockopt 2 : | 34.\" 35.Dd March 13, 2003 36.Dt TCP 4 37.Os 38.Sh NAME 39.Nm tcp 40.Nd Internet Transmission Control Protocol 41.Sh SYNOPSIS --- 74 unchanged lines hidden (view full) --- 116through which packets are being transmitted and received. 117Normally, this address corresponds to the peer entity's network. 118.Pp 119.Tn TCP 120supports a number of socket options which can be set with 121.Xr setsockopt 2 122and tested with 123.Xr getsockopt 2 : |
124.Bl -tag -width ".Dv TCP_MD5SIG" | 124.Bl -tag -width ".Dv TCP_NODELAY" |
125.It Dv TCP_NODELAY 126Under most circumstances, 127.Tn TCP 128sends data when it is presented; 129when outstanding data has not yet been acknowledged, it gathers 130small amounts of output to be sent in a single packet once 131an acknowledgement is received. 132For a small number of clients, such as window systems --- 45 unchanged lines hidden (view full) --- 178.It Dv TCP_MD5SIG 179This option enables the use of MD5 digests (also known as TCP-MD5) 180on writes to the specified socket. 181In the current release, only outgoing traffic is digested; 182digests on incoming traffic are not verified. 183The current default behavior for the system is to respond to a system 184advertising this option with TCP-MD5; this may change. 185.Pp | 125.It Dv TCP_NODELAY 126Under most circumstances, 127.Tn TCP 128sends data when it is presented; 129when outstanding data has not yet been acknowledged, it gathers 130small amounts of output to be sent in a single packet once 131an acknowledgement is received. 132For a small number of clients, such as window systems --- 45 unchanged lines hidden (view full) --- 178.It Dv TCP_MD5SIG 179This option enables the use of MD5 digests (also known as TCP-MD5) 180on writes to the specified socket. 181In the current release, only outgoing traffic is digested; 182digests on incoming traffic are not verified. 183The current default behavior for the system is to respond to a system 184advertising this option with TCP-MD5; this may change. 185.Pp |
186One common use for this in a FreeBSD router deployment is to enable | 186One common use for this in a 187.Fx 188router deployment is to enable |
187based routers to interwork with Cisco equipment at peering points. 188Support for this feature conforms to RFC 2385. | 189based routers to interwork with Cisco equipment at peering points. 190Support for this feature conforms to RFC 2385. |
189Only IPv4 (AF_INET) sessions are supported. | 191Only IPv4 192.Pq Dv AF_INET 193sessions are supported. |
190.Pp 191In order for this option to function correctly, it is necessary for the 192administrator to add a tcp-md5 key entry to the system's security 193associations database (SADB) using the 194.Xr setkey 8 195utility. 196This entry must have an SPI of 0x1000 and can therefore only be specified 197on a per-host basis at this time. --- 346 unchanged lines hidden --- | 194.Pp 195In order for this option to function correctly, it is necessary for the 196administrator to add a tcp-md5 key entry to the system's security 197associations database (SADB) using the 198.Xr setkey 8 199utility. 200This entry must have an SPI of 0x1000 and can therefore only be specified 201on a per-host basis at this time. --- 346 unchanged lines hidden --- |