Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2002 00:12:05 +0300 (MSK)
From:      Alex Semenyaka <alexs@ratmir.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/35932: Insufficient description of ``log_in_vain'' sysctl in tcp(4)
Message-ID:  <200203152112.g2FLC5o02675@snark.ratmir.ru>

next in thread | raw e-mail | index | archive | help

>Number:         35932
>Category:       docs
>Synopsis:       Insufficient description of ``log_in_vain'' sysctl in tcp(4)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 15 13:20:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alex Semenyaka
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
Ratmir ADS
>Environment:
System: FreeBSD snark.ratmir.ru 4.5-STABLE FreeBSD 4.5-STABLE #6: Fri Mar 15 01:16:18 MSK 2002 root@snark.ratmir.ru:/usr/obj/usr/src/sys/SNARK i386

>Description:

There is several possible values for the MIB net.inet.tcp.log_in_vain, as it
is obvious from the /usr/src/sys/netinet/tcp_input.c. The value of '1' forces
to log only SYN-packets, value of '2' means log all, and all other values
turn logging off. Unfortunatelly there is no description of these values in 
tcp(4) or rc.conf(5) while it might be useful for system administrators.

>How-To-Repeat:

man 4 tcp

>Fix:

--- tcp.4	Sat Mar 16 00:01:35 2002
+++ tcp.4.new	Sat Mar 16 00:05:17 2002
@@ -215,7 +215,9 @@
 Maximum TCP receive window.
 .It tcp.log_in_vain
 Log any connection attempts to ports where there is not a socket
-accepting connections.
+accepting connections. If set to '1' logs TCP-packets with SYN
+flag set, set to '2' forces to log any. All other values is 
+equivalent to '0' (turns logging off).
 .It tcp.slowstart_flightsize
 The number of packets allowed to be in-flight during the
 .Tn TCP

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203152112.g2FLC5o02675>