16

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

30

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

1
2

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

1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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