From: Rick Jones <rick.jones2@hp.com>
To: Luis Carlos Cobo Rus <luiscarlos@gmail.com>
Cc: Netdev List <netdev@vger.kernel.org>
Subject: Re: ping DOS avoidance?
Date: Thu, 15 Mar 2007 09:44:43 -0700 [thread overview]
Message-ID: <45F977FB.1050407@hp.com> (raw)
In-Reply-To: <d9dc600703141859x3eeddd4cs51b3aea89d4dc32a@mail.gmail.com>
I was just asked about something not too different, involving IIRC
tnsping. It got me to looking at ip_sysctl.txt which has:
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)
Default: 100
icmp_ratemask - INTEGER
Mask made of ICMP types for which rates are being limited.
Significant bits: IHGFEDCBA9876543210
Default mask: 0000001100000011000 (6168)
Bit definitions (see include/linux/icmp.h):
0 Echo Reply
3 Destination Unreachable *
4 Source Quench *
5 Redirect
8 Echo Request
B Time Exceeded *
C Parameter Problem *
D Timestamp Request
E Timestamp Reply
F Info Request
G Info Reply
H Address Mask Request
I Address Mask Reply
* These are rate limited by default (see default mask above)
(I've always been used to masks being specified as hex values)
rick jones
prev parent reply other threads:[~2007-03-15 16:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <d9dc600703091718m508cdafbm46a4aad9b613d9c1@mail.gmail.com>
2007-03-15 1:59 ` ping DOS avoidance? Luis Carlos Cobo Rus
2007-03-15 16:44 ` Rick Jones [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45F977FB.1050407@hp.com \
--to=rick.jones2@hp.com \
--cc=luiscarlos@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).