7

Simple ping - port scan script to maintain hosts list on network

view full story
linux-howto

http://serverfault.com – Sorry to bother around here. Probably this can be useful for others. I am planning to put a simple not-so-intrusive network scan script to work. (We have a ping script on an old debian server It puts the last seen date\time of the according IP on a html page, but nowadays W7 machines come out-of-the box with ping disabled on them, so they do not show up here.) So I need a script (probably nmap would do) which gathers the ip and pings and checks some ports (even there is no ping reply) for some common ports. (I usually look for these ports on Angry IP Scanner: 21,80,8080,443,137,139,25,3128,22 (HowTos)