[CentOS] Scripting port scans

Thu Dec 7 19:06:01 UTC 2006
Kevan Benson <kbenson at a-1networks.com>

On Thursday 07 December 2006 10:39, Ugo Bellavance wrote:
> Hi,
> I need to test one specific port on a serie of Ip addresses that I own,
> I thought about using nmap or telnet, but both return the same value, no
> matter if the port is open or filtered.
> Anyone has an idea, before I start scripting to analyse the output of
> the command?

If you're using nagios for any monitoring, there's a nmap plugin in the 
contrib directory of the nagios-plugins package.  It will notify you if the 
host displays any open ports not pre-defined as open for that host.

- Kevan Benson
- A-1 Networks