figured networking can be stretched to this 😉
I have built a very customized nmap-services file
I am running "sudo nmap -F -P0 ip.address.of.host --datadir /home/nickw
it shows as using my new nmap services file, (Warning: File ./nmap-services exists, but Nmap is using /home/nickw/nmap-services for security and consistency reasons. set NMAPDIR=. to give priority to files in your local directory (may affect the other data files too) but fails to scan all ports (I happen to have something listening on 9000, it never tries to scan 9000)
sudo nmap -p 9000 -P0 65.77.51.6 -v -v --datadir /home/nick
shows
PORT STATE SERVICE
9000/tcp open unknown
I have created a very small nmap-services with only ports 3389 and 9000, and that works fine (scans both ports) but my huge list (even with port 9000 on the very top) doesn't scan it all (has 2708 lines, couple of repeats)
EDIT: reformatted list (again) and now it seems to be working...now to get it working with Nagios....
I have built a very customized nmap-services file
I am running "sudo nmap -F -P0 ip.address.of.host --datadir /home/nickw
it shows as using my new nmap services file, (Warning: File ./nmap-services exists, but Nmap is using /home/nickw/nmap-services for security and consistency reasons. set NMAPDIR=. to give priority to files in your local directory (may affect the other data files too) but fails to scan all ports (I happen to have something listening on 9000, it never tries to scan 9000)
sudo nmap -p 9000 -P0 65.77.51.6 -v -v --datadir /home/nick
shows
PORT STATE SERVICE
9000/tcp open unknown
I have created a very small nmap-services with only ports 3389 and 9000, and that works fine (scans both ports) but my huge list (even with port 9000 on the very top) doesn't scan it all (has 2708 lines, couple of repeats)
EDIT: reformatted list (again) and now it seems to be working...now to get it working with Nagios....