Changeset View
Changeset View
Standalone View
Standalone View
share/man/man4/tcp.4
Show All 28 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" From: @(#)tcp.4 8.1 (Berkeley) 6/5/93 | .\" From: @(#)tcp.4 8.1 (Berkeley) 6/5/93 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd February 6, 2017 | .Dd April 13, 2017 | ||||
.Dt TCP 4 | .Dt TCP 4 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm tcp | .Nm tcp | ||||
.Nd Internet Transmission Control Protocol | .Nd Internet Transmission Control Protocol | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.In sys/types.h | .In sys/types.h | ||||
.In sys/socket.h | .In sys/socket.h | ||||
▲ Show 20 Lines • Show All 541 Lines • ▼ Show 20 Lines | |||||
.Pc . | .Pc . | ||||
Default is true. | Default is true. | ||||
.It Va insecure_rst | .It Va insecure_rst | ||||
Use criteria defined in RFC793 instead of RFC5961 for accepting RST segments. | Use criteria defined in RFC793 instead of RFC5961 for accepting RST segments. | ||||
Default is false. | Default is false. | ||||
.It Va insecure_syn | .It Va insecure_syn | ||||
Use criteria defined in RFC793 instead of RFC5961 for accepting SYN segments. | Use criteria defined in RFC793 instead of RFC5961 for accepting SYN segments. | ||||
Default is false. | Default is false. | ||||
.It Va rstlim | |||||
The maximum number of RSTs per second that the TCP stack will send per second | |||||
wblock: Passive -> active: s/will send/sends/ | |||||
for invalid segments. | |||||
The same limit is used for segments destined to closed ports and for invalid | |||||
segments destined for open ports. | |||||
However, the limit is tracked separately for those two classes of segments, and | |||||
the system will send up to | |||||
tuexenUnsubmitted Not Done Inline ActionsDoes setting this number to -1 means no rate limit? Does setting this number to 0 means not sending RSTs at all? This could be clearly stated. tuexen: Does setting this number to -1 means no rate limit? Does setting this number to 0 means not… | |||||
.Va rstlim | |||||
RSTs per second for each class. | |||||
.It Va rstlim_output | |||||
If non-zero, the system will create a log message when the | |||||
wblockUnsubmitted Not Done Inline ActionsPassive -> active: s/will create/creates/ wblock: Passive -> active: s/will create/creates/ | |||||
.Va rstlim | |||||
limit is exceeded. | |||||
.El | .El | ||||
.Sh ERRORS | .Sh ERRORS | ||||
A socket operation may fail with one of the following errors returned: | A socket operation may fail with one of the following errors returned: | ||||
.Bl -tag -width Er | .Bl -tag -width Er | ||||
.It Bq Er EISCONN | .It Bq Er EISCONN | ||||
when trying to establish a connection on a socket which | when trying to establish a connection on a socket which | ||||
already has one; | already has one; | ||||
.It Bq Er ENOBUFS | .It Bq Er ENOBUFS | ||||
▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines |
Passive -> active: s/will send/sends/