Re: blocking icmp protocol

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



also you can use:
/bin/echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all



On 12/17/06, Waleed Harbi <waleed.harbi@xxxxxxxxx> wrote:

iptables -A INPUT -p icmp -j DROP



On 12/17/06, John O'Loughlin <j.oloughlin@xxxxxxxxxx> wrote:
>
>
> filter is the default table so -t filter is not needed, also this will
> drop all icmp from everywhere, which may  not be what he wants.
>
> If the host can still ping you it may well be the case that an earlier
> rule is allowing them to do so, remember iptables works on a first match
> basis.
>
> John
>
> On Sun, 17 Dec 2006, Waleed Harbi wrote:
>
> > iptables -t filter -A INPUT -p icmp -i eth0 -j DROP
> >
> > On 12/17/06, tamer amr <tamer_linux@xxxxxxxxx> wrote:
> >>
> >> hi
> >>
> >> i can't disable the icmp with iptables
> >> i made the following command
> >>
> >> iptables -A INPUT -p icmp -s 192.168.1.125 -j DROP
> >>
> >> but still  this ip can ping my host
> >>
> >> thank you
> >>
> >> __________________________________________________
> >> Do You Yahoo!?
> >> Tired of spam?  Yahoo! Mail has the best spam protection around
> >> http://mail.yahoo.com
> >> --
> >> redhat-list mailing list
> >> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> >> https://www.redhat.com/mailman/listinfo/redhat-list
> >>
> >
> >
> >
> > --
> > :. Best Wishes
> > :. Waleed Harbi
> > ---------------------------------------------
> > :. Never too old to learn
> > :. Every why has a wherefore
> > :. Grasp all, lose all
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



--
:. Best Wishes
:. Waleed Harbi
---------------------------------------------
:. Never too old to learn
:. Every why has a wherefore
:. Grasp all, lose all




--
:. Best Wishes
:. Waleed Harbi
---------------------------------------------
:. Never too old to learn
:. Every why has a wherefore
:. Grasp all, lose all
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux