• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

NMAP Scanning

nweaver

Diamond Member
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....
 
You're going to nmap from nagios? :shocked:

I was going to see if I could get the nmap-services thing working on my system, since I thought I installed nmap on my Z last night. Apparently I was SSHed into another system, which explains why it didn't take too long to compile... 😛
 
yes, I have about 300 remote systems that for other crappy reasons cannot be properly secured on the network. As such, I would like to know when they have ports opened they shouldn't (get hacked, open relay, open proxy, etc) before the Datacenters have to get enough complaints about them to email me. I have the plugin working now, it's just not emailing me.
 
When I enabled emails from nagios I couldn't get it to stop emailing me. 😛

Is this a public plugin, or something you whipped up yourself?
 
public, from nagiosexchange site. It emails me hostup/down stuff, but not my service stuff (I have the nmap one, enabled on one host, and a check_tcp one enabled for all hosts)
 
Back
Top