Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 11 Jun 2002 18:22:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 11 Jun 2002 18:22:58 -0400 Received: from mail2.mail.iol.ie ([194.125.2.193]:25552 "EHLO mail2.mail.iol.ie") by vger.kernel.org with ESMTP id ; Tue, 11 Jun 2002 18:22:56 -0400 Message-ID: <3D06785F.3090909@antefacto.com> Date: Tue, 11 Jun 2002 23:23:27 +0100 From: Padraig Brady User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020205 X-Accept-Language: en-us MIME-Version: 1.0 To: "David S. Miller" CC: linux-kernel@vger.kernel.org Subject: [PATCH] ip-sysctl.txt In-Reply-To: <02061117004401.01217@fortress.mirotel.net> <3D06051C.3030305@antefacto.com> <20020611.071225.65985367.davem@redhat.com> Content-Type: multipart/mixed; boundary="------------070007040708050007030503" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This is a multi-part message in MIME format. --------------070007040708050007030503 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit David S. Miller wrote: > From: Padraig Brady > Date: Tue, 11 Jun 2002 15:11:40 +0100 > > /proc/sys/net/ipv4/conf/../{arp_filter,tag} > are not documented. > > Nobody had time to document them, that is all. Patch (against 2.5.21) attached to add this documentation and fix other bits. > /proc/sys/net/ipv4/icmp_rate_limit is jiffies. > Shouldn't this be HZ, i.e. jiffies shouldn't > be exported to userspace as it's non portable? > > What if you want to specify value smaller than HZ? > That is the most typical for this setting. > I didn't touch this as there were other sysctls specified in jiffies, and also it would break compatability with existing config. I still think jiffies should be hidden from userspace. cheers, Padraig. --------------070007040708050007030503 Content-Type: text/plain; name="ip-sysctl.txt-2.5.21.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ip-sysctl.txt-2.5.21.diff" --- linux-2.5.21/Documentation/networking/ip-sysctl.txt Sun Jun 9 06:29:26 2002 +++ linux-2.5.21/Documentation/networking/ip-sysctl-pb.txt Tue Jun 11 23:14:55 2002 @@ -43,23 +43,23 @@ Minimum time-to-live of entries. Should be enough to cover fragment time-to-live on the reassembling side. This minimum time-to-live is guaranteed if the pool size is less than inet_peer_threshold. - Measured in jiffies. + Measured in jiffies(1). inet_peer_maxttl - INTEGER Maximum time-to-live of entries. Unused entries will expire after this period of time if there is no memory pressure on the pool (i.e. when the number of entries in the pool is very small). - Measured in jiffies. + Measured in jiffies(1). inet_peer_gc_mintime - INTEGER Minimum interval between garbage collection passes. This interval is in effect under high memory pressure on the pool. - Measured in jiffies. + Measured in jiffies(1). inet_peer_gc_maxtime - INTEGER Minimum interval between garbage collection passes. This interval is in effect under low (or absent) memory pressure on the pool. - Measured in jiffies. + Measured in jiffies(1). TCP variables: @@ -81,7 +81,7 @@ How many keepalive probes TCP sends out, until it decides that the connection is broken. Default value: 9. -tcp_keepalive_interval - INTEGER +tcp_keepalive_intvl - INTEGER How frequently the probes are send out. Multiplied by tcp_keepalive_probes it is time to kill not responding connection, after probes started. Default value: 75sec i.e. connection @@ -316,28 +316,37 @@ Limit the maximal rates for sending ICMP packets whose type matches icmp_ratemask (see below) to specific targets. 0 to disable any limiting, otherwise the maximal rate in jiffies(1) - Default: 1 + Default: 100 icmp_ratemask - INTEGER Mask made of ICMP types for which rates are being limited. - Default: 6168 - Note: 6168 = 0x1818 = 1<