Harry Putnam wrote:

[EMAIL PROTECTED] wrote:

Is there a way to detect programmatically whether the local host has a firewall enabled?


nmap can return enough informatin to surmize that. It may even be able to tell you straight out. I'm not that familiar with all its switches.

Running nmap -v -P0 host  will give you enough to make a good guess.

So maybe parsing nmap output can be done programmatically.

There is... in the August issue of SysAdmin, there was an article on how to write a PERL frontend for NMAP... it was pretty cool and pretty easy (for the simple stuff). The article name is "Vulnerability Assessments with NMAP & Nessus".

I know the code you can find online, and maybe by now you can find the article itself.

bryce


--
[email protected] mailing list

Reply via email to