> I was wondering if someone could piont me in the right direction on
> configure a redhat 7 box to stop responding (go silent) to ping requests.
> There is alot of invalid pings coming in and I'm tired of seeing
> them on my
> console and log files.
>
> Any help appreciated.

You can do this with ipchains. I am not entirely sure if the following is
correct, but it is how I understand it. Ping is process by which one
computer sends an ICMP echo request (type 8) packet to another machine and
the target response with an ICMP echo reply (type 0) packet.

The follow may work, but I have not put ANY thought into it. So test it
before you rely on it. [Anyone else know if this is correct.]

ipchains -A input  -i $EXTERNAL_INTERFACE -p icmp \
         -s $ANY 8 -d $IP_ADDRESS -j DENY

But, IF this works it will deny all pings, even you if you try to ping the
machine from somewhere else.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to