From owner-freebsd-doc@FreeBSD.ORG Fri Sep 24 13:50:02 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 159F7106566C for ; Fri, 24 Sep 2010 13:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CC2AF8FC25 for ; Fri, 24 Sep 2010 13:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8ODo1sh036715 for ; Fri, 24 Sep 2010 13:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8ODo1Vj036714; Fri, 24 Sep 2010 13:50:01 GMT (envelope-from gnats) Resent-Date: Fri, 24 Sep 2010 13:50:01 GMT Resent-Message-Id: <201009241350.o8ODo1Vj036714@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nikos Vassiliadis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E3A71065670 for ; Fri, 24 Sep 2010 13:42:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 425E48FC08 for ; Fri, 24 Sep 2010 13:42:38 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o8ODgbi4048657 for ; Fri, 24 Sep 2010 13:42:37 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o8ODgbIH048656; Fri, 24 Sep 2010 13:42:37 GMT (envelope-from nobody) Message-Id: <201009241342.o8ODgbIH048656@www.freebsd.org> Date: Fri, 24 Sep 2010 13:42:37 GMT From: Nikos Vassiliadis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/150917: icmp.4, wrong description of icmplim and icmplim_output sysctls X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2010 13:50:02 -0000 >Number: 150917 >Category: docs >Synopsis: icmp.4, wrong description of icmplim and icmplim_output sysctls >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 24 13:50:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Nikos Vassiliadis >Release: 9.0-CURRENT >Organization: >Environment: FreeBSD lab.local 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r213086M: Fri Sep 24 15:52:57 EEST 2010 root@lab.local:/usr/obj/usr/src/sys/LAB i386 >Description: The icmp manual page describes icmplim and icmplim_output wrongly. icmplim (integer) Bandwidth limit for ICMP replies in pack- ets/second. Used when icmplim_output is non-zero. Defaults to 200. icmplim_output (boolean) Enable/disable bandwidth limiting of ICMP replies. Defaults to true. The correct description [1] is this: If you do not want to see messages about this in your log files, but you still want the kernel to do response limiting, you can use the net.inet.icmp.icmplim_output sysctl variable to disable the output like this: # sysctl -w net.inet.icmp.icmplim_output=0 Finally, if you want to disable response limiting, you can set the net.inet.icmp.icmplim sysctl variable (see above for an example) to 0. Disabling response limiting is discouraged for the reasons listed above. [1] http://www.freebsd.org/doc/en/books/faq/networking.html#ICMP-RESPONSE-BW-LIMIT >How-To-Repeat: n/a >Fix: Use the attached patch Patch attached with submission follows: Index: src/share/man/man4/icmp.4 =================================================================== --- src/share/man/man4/icmp.4 (revision 213086) +++ src/share/man/man4/icmp.4 (working copy) @@ -179,15 +179,16 @@ the system replies to an ICMP Address Mask Request packet. Defaults to 0. .It Va icmplim -.Pq Vt integer -Bandwidth limit for ICMP replies in packets/second. -Used when -.Va icmplim_output -is non-zero. +.Pq Vt "unsigned integer" +Limit for ICMP or TCP RST responses in packets per second. +Response limiting is disabled by setting +.Va icmplim +to 0. Defaults to 200. .It Va icmplim_output .Pq Vt boolean -Enable/disable bandwidth limiting of ICMP replies. +Enable/disable logging of +.Va icmplim . Defaults to true. .It Va drop_redirect .Pq Vt boolean >Release-Note: >Audit-Trail: >Unformatted: