Re: ICMP packets

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

 



--- P theodorou <props666999@xxxxxxxxxxx> 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 


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux