Skip to contentSkip to conversation

icmp echo requests

DISCUSSION Edmund 2 participants 2 messages Sep 29, 2003 – Oct 1, 2003

lore
Share & tools
lore

Edmund

author
#0 lore raw

Hi,

I've been monitoring the NAT router with pktstat and am a little perturbed to see quite a lot of icmp echo requests. Now I've setup my Linux firewall to reject icmp echo requests.

Is this the right(?)/correct/valid/appropriate thing to do?

Furthermore (just for clarification) using tcpdump, I get incoming icmp echo requests, but no response from my firewall(good thing right?. This means the firewall is dropping/rejecting the echo requests?

Here is the line from the firewall script:

iptables -A INPUT -i eth0 -p icmp --icmp-type 8 \
        -j REJECT --reject-with icmp-host-unreachable

Btw, I'm quite bothered about the pings. It doesn't look right.

#1 lore raw
Quoted 1 line

Is this the right(?)/correct/valid/appropriate thing to do?

There's nothing wrong with ignoring echo requests AFAIK, some see it as being a security enhancement, although there are plenty of other ways to work out if a host is up or explore a subnet.

Quoted 4 lines

Furthermore (just for clarification) using tcpdump, I get incoming icmp echo requests, but no response from my firewall(good thing right?. This means the firewall is dropping/rejecting the echo requests?

Sure does. It confused me a little at first that tcpdump still see's the packet eventhough its dropped by the firewall.

Quoted 2 lines

Btw, I'm quite bothered about the pings. It doesn't look right.

Where are these comming from? Does a reverse lookup of the IP mean anything to you?

cheers

Jamie...

Signature · 1 line
**  This message was transmitted on 100% recycled electrons **