From: Manuel Samper <manuel@samper.dyndns.org>
To: netfilter@lists.netfilter.org
Subject: Re: ICMP: What should be blocked?
Date: Thu, 6 Mar 2003 22:12:19 +0100 [thread overview]
Message-ID: <20030306211219.GB28937@quark.lan> (raw)
In-Reply-To: <3E65A2C5.3030007@mega-bucks.co.jp>
Jean-Christian Imbeault, on Wednesday, Mar 5 2003 at 08:09, wrote:
> I been googling the web trying to find what rules I should set up for
> ICMP but I've seen some people say one thing while other say something
> completely different.
>
> One question I have not been able to find an answer to though, should I
> block ICMP messages of type 11 (TTL exceeded)?
>
> Also if anyone knows of a good resource that explains what ICMP messages
> I should block (why and how :) could they let me know? I understand that
> it of course depends on my level of paranoia and how friendly I want to
> be to the rest of the net, but I get the feeling from my readings that
> the are some ICMP messages that just should not be let through a
> firewall ....
Here are a good start point:
http://www.sns.ias.edu/~jns/security/iptables/iptables_conntrack.html#ICMP
http://www.sns.ias.edu/~jns/security/iptables/rules.html
Although it's somewhat paranoid with icmp (e.g. the icmp_echo_ignore_all),
you can tune it to your needs.
(note also that the REJECT rule of auth port found there needs an output one
with an OUTPUT DROP default policy, something like:
iptables -A OUTPUT -o $IFACE -p tcp -m state --st REL --sp ident -j ACCEPT)
Manuel
prev parent reply other threads:[~2003-03-06 21:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-05 7:09 ICMP: What should be blocked? Jean-Christian Imbeault
2003-03-05 10:20 ` Maciej Soltysiak
2003-03-06 21:12 ` Manuel Samper [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=20030306211219.GB28937@quark.lan \
--to=manuel@samper.dyndns.org \
--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