Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Nmap Development: Protocol scan and Host Unreachable

Protocol scan and Host Unreachable

From: Rasmus Andersson <rasmus_at_pole-position.org>
Date: Thu, 19 Dec 2002 02:56:43 +0100

Why is "host unreachable" interpreted the same as "protocol
unreachable"? Is it a bug or do some hosts give that answer for unused
protocols?

nmap-3.10ALPHA7/scan_engine.cc:
   ...
   switch(icmp->icmp_code) {

   case 1: /* Host unreachable */
   case 2: /* pr0t0c0l unreachable */
     if (scantype == IPPROT_SCAN) {
       newstate = PORT_CLOSED;
       ...

---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to
nmap-dev-help_at_insecure.org . List run by ezmlm-idx (www.ezmlm.org).
Received on Dec 19 2002

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]