Can I somehow monitor incoming pings on a Linux machine? netcat doesn't seem to support that.
Asked
Active
Viewed 4.1k times
3 Answers
39
You can use tcpdump ip proto \\icmp to monitor incoming pings (ICMP echo requests)
RedGrittyBrick
- 81,981
- 20
- 135
- 205
-
2works in macos as well. you might need to use `sudo` – George Pligoropoulos Oct 04 '21 at 15:18
1
If you want something nicer than tcpdump (GUI and stuff), you can try with Wireshark.
m0skit0
- 1,337
- 7
- 16