Nmap Development mailing list archives

Re: [PATCHed] Fix IPProto Scan (-sO) for UDP


From: Jan Engelhardt <jengelh () linux01 gwdg de>
Date: Sat, 27 Jan 2007 21:20:08 +0100 (MET)


The attached patch (/nmap SVN r4404) fixes the IPProto Scan when a ICMP
Port Unreachable is received for UDP (and possibly others). We weren't
checking for the ICMP message before, so it was coming up open|filtered
or filtered. The SVN log:

------------------------------------------------------------------------
r4404 | kris | 2007-01-27 14:09:14 -0600 (Sat, 27 Jan 2007) | 1 line

Fix the IPProto scan for UDP. Now we check for ICMP Port Unreachable and
call it open if we get one. This was coming up open|filtered, and
sometimes filtered before.
------------------------------------------------------------------------

Hm, why should the port be open if we get Port Unreachable?


        -`J'
-- 

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: