You are hereBlogs / admin's blog / nmap for scanning your subnet for bots
nmap for scanning your subnet for bots
install nmap if not already installed:
sudo apt-get install nmap
run nmap with the following command to scan an entire subnet:
nmap -v sP 192.168.2.1-254
Here's a sample of the output after hitting the Roku music player:
Host roku-living-room.rainman.local (192.168.2.125) is up (0.0026s latency).
Interesting ports on roku-living-room.rainman.local (192.168.2.125):
Not shown: 996 closed ports
PORT STATE SERVICE
80/tcp open http
4444/tcp open krb524
5555/tcp open freeciv
8080/tcp open http-proxy