Can I somehow monitor incoming pings on a Linux machine? netcat doesn't seem to support that.

link|improve this question

feedback

3 Answers

up vote 0 down vote accepted

You can use tcpdump ip proto \\icmp to monitor incoming pings (ICMP echo requests)

link|improve this answer
feedback

You could setup a rule in iptables that logs icmp packets.

link|improve this answer
feedback

If you want something nicer than tcpdump (GUI and stuff), you can try with Wireshark.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.