From owner-freebsd-doc Fri Mar 15 13:20:15 2002 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CAACB37B405 for ; Fri, 15 Mar 2002 13:20:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2FLK4E78302; Fri, 15 Mar 2002 13:20:04 -0800 (PST) (envelope-from gnats) Received: from snark.ratmir.ru (snark.ratmir.ru [213.24.248.177]) by hub.freebsd.org (Postfix) with ESMTP id D5C4E37B400 for ; Fri, 15 Mar 2002 13:12:09 -0800 (PST) Received: (from alexs@localhost) by snark.ratmir.ru (8.11.6/8.11.6) id g2FLC5o02675; Sat, 16 Mar 2002 00:12:05 +0300 (MSK) (envelope-from alexs) Message-Id: <200203152112.g2FLC5o02675@snark.ratmir.ru> Date: Sat, 16 Mar 2002 00:12:05 +0300 (MSK) From: Alex Semenyaka Reply-To: Alex Semenyaka To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: docs/35932: Insufficient description of ``log_in_vain'' sysctl in tcp(4) Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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