Nmap Development mailing list archives

Re: NMAP : Different interpretation of "filtered" ports depending on -sS or -sT options. Bug ?


From: Richard Moore <rich () westpoint ltd uk>
Date: Fri, 07 Jan 2005 12:49:52 +0000



Martin Mačok wrote:
Actually, the connect() scan could have problems in telling the
difference between filtered and closed ports because when ICMP DU/PU
is received then connect() returns ECONNREFUSED (just like when RST is
received).

That may be platform dependent, certainly on linux protocol unreachable
etc. are handled fine by connect() and have their own errnos (which
nmap uses correctly).

Cheers

Rich.
--
Richard Moore, Principle Software Engineer,
Westpoint Ltd,
Albion Wharf, 19 Albion Street, Manchester, M1 5LN, England
Tel: +44 161 237 1028
Fax: +44 161 237 1031

---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to nmap-dev-help () insecure org . List archive: http://seclists.org



Current thread: