From: "Edmund Turner" <eturner@monash.edu.my>
To: 'Michael Kearey' <mutk@iprimus.com.au>
Cc: netfilter@lists.netfilter.org
Subject: RE: ICMP floods
Date: Wed, 15 Oct 2003 15:29:21 +0800 [thread overview]
Message-ID: <024301c392ee$0dfd9460$de0018ac@admin.monash.edu.my> (raw)
In-Reply-To: <3F8CF4C7.7010909@iprimus.com.au>
Yes it is commented out. Ive added a limit to both echo-request and
echo-replies. Hope this would stop problems exhibit by the Welchia
Virus.
Regards
edmund
#####################
#####ICMP CHAINS#####
#####################
/sbin/iptables -N ICMP
/sbin/iptables -F ICMP
/sbin/iptables -A ICMP -m limit -p ICMP -i eth2 --limit 1 --limit-burst
10
/sbin/iptables -A ICMP -m limit -p ICMP -i eth1 --limit 1 --limit-burst
10
/sbin/iptables -A ICMP -m limit -p ICMP -i eth0 --limit 1 --limit-burst
10
/sbin/iptables -A ICMP -p icmp --icmp-type echo-reply -m limit --limit
5/second -j ACCEPT
/sbin/iptables -A ICMP -p icmp --icmp-type echo-request -m limit --limit
5/second -j ACCEPT
#/sbin/iptables -A ICMP -p icmp --icmp-type echo-request -j ACCEPT
/sbin/iptables -A ICMP -p icmp --icmp-type destination-unreachable -j
ACCEPT
/sbin/iptables -A ICMP -p icmp --icmp-type source-quench -j ACCEPT
/sbin/iptables -A ICMP -p icmp --icmp-type time-exceeded -j ACCEPT
/sbin/iptables -A ICMP -p icmp -j LOG --log-level 5 --log-prefix "ICMP
DROP: "
/sbin/iptables -A ICMP -p icmp -j DROP
-----Original Message-----
From: netfilter-admin@lists.netfilter.org
[mailto:netfilter-admin@lists.netfilter.org] On Behalf Of Michael Kearey
Sent: Wednesday, October 15, 2003 3:19 PM
Cc: netfilter@lists.netfilter.org
Subject: Re: ICMP floods
Alistair Tonner wrote:
<Snip>
>>/sbin/iptables -A ICMP -p icmp --icmp-type source-quench -j ACCEPT
>>/sbin/iptables -A ICMP -p icmp --icmp-type time-exceeded -j ACCEPT
>>#/sbin/iptables -A ICMP -p icmp --icmp-type echo-request -j ACCEPT
^
>>/sbin/iptables -A ICMP -p icmp --icmp-type echo-request -m limit
--limit
>>5/second -j ACCEPT
>
>
> The limit rule above will never be used as the packets are allready
accepted
> by the rule above it.
<Snip>
It's commented out isn't it?
Cheers,
Michael
next prev parent reply other threads:[~2003-10-15 7:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-15 3:54 ICMP floods Edmund Turner
2003-10-15 7:06 ` Alistair Tonner
2003-10-15 7:18 ` Michael Kearey
2003-10-15 7:29 ` Edmund Turner [this message]
2003-10-15 7:31 ` Alistair Tonner
2003-10-15 16:36 ` Jim Carter
2003-10-16 2:38 ` Edmund Turner
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='024301c392ee$0dfd9460$de0018ac@admin.monash.edu.my' \
--to=eturner@monash.edu.my \
--cc=mutk@iprimus.com.au \
--cc=netfilter@lists.netfilter.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