mirror of
https://github.com/nmap/nmap.git
synced 2025-12-11 18:29:03 +00:00
Fixing a bug in host reason reporting: "unknown-reason" was given when a host was found to be down due to no response. Now it's correctly reported as "no-response"
This commit is contained in:
@@ -6,6 +6,9 @@ o Fix mswin32/Makefile so that the new nselib-bin directory is
|
|||||||
properly included in the Nmap win32 zipfile distribution. Thanks
|
properly included in the Nmap win32 zipfile distribution. Thanks
|
||||||
to Rob Nicholls for reporting the problem.
|
to Rob Nicholls for reporting the problem.
|
||||||
|
|
||||||
|
o Fix host reason reported when the target is found to be "down" due
|
||||||
|
to no response. [Kris]
|
||||||
|
|
||||||
4.49RC4
|
4.49RC4
|
||||||
|
|
||||||
o David did a huge OS fingerprint integration marathon, going through
|
o David did a huge OS fingerprint integration marathon, going through
|
||||||
|
|||||||
@@ -4549,6 +4549,8 @@ static void processData(UltraScanInfo *USI) {
|
|||||||
ultrascan_host_probe_update(USI, host, probeI, newstate, NULL);
|
ultrascan_host_probe_update(USI, host, probeI, newstate, NULL);
|
||||||
else
|
else
|
||||||
ultrascan_port_probe_update(USI, host, probeI, newstate, NULL);
|
ultrascan_port_probe_update(USI, host, probeI, newstate, NULL);
|
||||||
|
if (host->target->reason.reason_id == ER_UNKNOWN)
|
||||||
|
host->target->reason.reason_id = ER_NORESPONSE;
|
||||||
if (tryno_capped && lastRetryCappedWarning != USI) {
|
if (tryno_capped && lastRetryCappedWarning != USI) {
|
||||||
/* Perhaps I should give this on a per-host basis. Oh
|
/* Perhaps I should give this on a per-host basis. Oh
|
||||||
well, hopefully it is rare anyway. */
|
well, hopefully it is rare anyway. */
|
||||||
|
|||||||
Reference in New Issue
Block a user