[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Nmap host up/down status
- Subject: [ale] Nmap host up/down status
- From: cfowler at outpostsentinel.com (Chris Fowler)
- Date: Fri, 10 Oct 2014 15:53:14 -0400 (EDT)
- In-reply-to: <311531350.1114652.1412970619329.JavaMail.zimbra@outpostsentinel.com>
I have a script I use in Perl that tests a list of hosts via the exit code of ping. Some hosts, like Winders, will ignore ICMP ECHO and this creates
false alerts.
The idea popped in my head today to use the exit code of nmap and allow it to test for me.
Can someone clue me in on the best command like options to nmap that will allow it to make a decent determination of a host is up?
I did think about running an initial port scan and then doing an accept() test on a TCP socket, but then I decided maybe I'd just let nmap make
the up/down decision.
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20141010/ae07b484/attachment.html>