Can I somehow monitor incoming pings on a Linux machine? netcat doesn't seem to support that.
3 Answers
You can use tcpdump ip proto \\icmp
to monitor incoming pings (ICMP echo requests)
-
2works in macos as well. you might need to use
sudo
Commented Oct 4, 2021 at 15:18 -
-
If you want something nicer than tcpdump (GUI and stuff), you can try with Wireshark.