* block ping ?
@ 2004-04-10 20:26 Syed Faisal Gillani
2004-04-10 20:50 ` Frederic de Villamil
0 siblings, 1 reply; 3+ messages in thread
From: Syed Faisal Gillani @ 2004-04-10 20:26 UTC (permalink / raw)
To: netfilter
i am a newbie learning iptables ...
can u tell me the rule of blocking only ping on my nic ?
Syed Faisal Gillani
ClickOnline Networks
http://clickonlinenetworks.com
E-mail powered by ClickOnline Networks
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: block ping ?
2004-04-10 20:26 block ping ? Syed Faisal Gillani
@ 2004-04-10 20:50 ` Frederic de Villamil
0 siblings, 0 replies; 3+ messages in thread
From: Frederic de Villamil @ 2004-04-10 20:50 UTC (permalink / raw)
To: Syed Faisal Gillani; +Cc: netfilter
On Sun, 11 Apr 2004, Syed Faisal Gillani wrote:
> i am a newbie learning iptables ...
> can u tell me the rule of blocking only ping on my nic ?
Hi,
try this:
iptables -A INPUT -p icmp --icmp-type echo-request -j DROP to block incomming pings
Anyway, remember that blocking pings is the best way to tell everyone
"Hey dudes, I have something to protect, come in now!"
regards
Frederic
--
< Ylli> lol je rigole neuro jte prend pa pr un pervers ms un president
et pere de famille respectable :s
http://www.seclab.jp
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: block ping ?
@ 2004-04-11 0:19 Nick Pasich
0 siblings, 0 replies; 3+ messages in thread
From: Nick Pasich @ 2004-04-11 0:19 UTC (permalink / raw)
To: Syed Faisal Gillani; +Cc: netfilter
> From: "Syed Faisal Gillani" <faisal@clickonlinenetworks.com>
> To: <netfilter@lists.netfilter.org>
> Subject: block ping ?
> Date: Sun, 11 Apr 2004 01:26:27 +0500
>
> i am a newbie learning iptables ...
> can u tell me the rule of blocking only ping on my nic ?
>
> Syed Faisal Gillani
> ClickOnline Networks
> http://clickonlinenetworks.com
>
> E-mail powered by ClickOnline Networks
You might also try using "echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all"
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-04-11 0:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-10 20:26 block ping ? Syed Faisal Gillani
2004-04-10 20:50 ` Frederic de Villamil
-- strict thread matches above, loose matches on Subject: below --
2004-04-11 0:19 Nick Pasich
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.