Categories
Networking

Ubuntu Listening Who Ping me

Often we want to know who others IP address that currently send ping to our server. To detect this, can use this script

sudo tcpdump -i <YOUR-ETH-DEVICE) icmp and icmp[icmptype]=icmp-echo

#sudo tcpdump -i eth2 icmp and icmp[icmptype]=icmp-echo

Leave a Reply

Your email address will not be published. Required fields are marked *