From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 13 Dec 2001 03:58:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 13 Dec 2001 03:58:10 -0500 Received: from imag.imag.fr ([129.88.30.1]:44486 "EHLO imag.imag.fr") by vger.kernel.org with ESMTP id ; Thu, 13 Dec 2001 03:57:52 -0500 Date: Thu, 13 Dec 2001 09:57:49 +0100 From: Pierre Lombard To: "David S. Miller" Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] small doc update for /proc/sys/net/ipv4/icmp_rate{mask,limit} Message-ID: <20011213085749.GA8332@sci41.imag.fr> Mail-Followup-To: "David S. Miller" , linux-kernel@vger.kernel.org In-Reply-To: <20011212122722.GA21997@sci41.imag.fr> <20011212.163726.38712274.davem@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline In-Reply-To: <20011212.163726.38712274.davem@redhat.com> User-Agent: Mutt/1.3.24i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Dec 12, 2001 at 04:37:26PM -0800, David S. Miller wrote: > Your patch does not apply, did you edit this patch by hand > before submitting it? The "#lines" in the patch chunks are > inaccurate. Yes. I didn't thought it would break since it applied cleanly here but it did :) A fresh & unedited version against a vanilla 2.4.17-pre8 is text-attached. -- Best regards, Pierre Lombard --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="20011213-icmpmask.diff" diff -urN linux-2.4.17-pre8/Documentation/networking/ip-sysctl.txt linux/Documentation/networking/ip-sysctl.txt --- linux-2.4.17-pre8/Documentation/networking/ip-sysctl.txt Wed May 16 19:21:45 2001 +++ linux/Documentation/networking/ip-sysctl.txt Thu Dec 13 09:40:03 2001 @@ -309,13 +309,20 @@ ICMP ECHO requests sent to it or just those to broadcast/multicast addresses, respectively. -icmp_destunreach_rate - INTEGER -icmp_paramprob_rate - INTEGER -icmp_timeexceed_rate - INTEGER -icmp_echoreply_rate - INTEGER (not enabled per default) - Limit the maximal rates for sending ICMP packets to specific targets. +icmp_ratelimit - INTEGER + 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) - See the source for more information. + Default: 1 + +icmp_ratemask - INTEGER + Mask made of ICMP types for which rates are being limited. + Default: 6168 + Note: 6168 = 0x1818 = 1<