From: Gabriel <jarod125@yahoo.com>
To: netfilter@lists.netfilter.org
Subject: Re: ICMP packets
Date: Tue, 20 Sep 2005 07:30:43 -0700 (PDT) [thread overview]
Message-ID: <20050920143043.418.qmail@web60917.mail.yahoo.com> (raw)
In-Reply-To: <BAY102-F140CB05B42680BA717BE36AE950@phx.gbl>
--- P theodorou <props666999@hotmail.com> wrote:
> Im new into iptables world
>
> now regarding icmp packets . Is it
> applicable to drop inbound echo requests (so otherts
> cannot see me )
>
> but i will be able to send icmo echo request to WEB and
> receive
> replies too .
>
> Sorry if it looks very basic but im confused
>
> Thanks
This rule should do the trick:
iptables -A OUTPUT -p icmp --icmp-type echo-reply -j DROP
It won't allow outgoing echo replies (pongs), but will
allow outgoing echo requests (pings) and their replies.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
next prev parent reply other threads:[~2005-09-20 14:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-20 14:10 ICMP packets P theodorou
2005-09-20 14:29 ` Marc Haber
2005-09-20 14:30 ` Gabriel [this message]
2005-09-20 15:18 ` /dev/rob0
-- strict thread matches above, loose matches on Subject: below --
2011-05-23 8:23 icmp packets cc
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=20050920143043.418.qmail@web60917.mail.yahoo.com \
--to=jarod125@yahoo.com \
--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