mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Nmap will no longer misreport a localhost-response during PN scans, it will now be reported as 'user-set'.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Nmap Changelog ($Id$); -*-text-*-
|
||||
# Nmap Changelog ($Id$); -*-text-*-
|
||||
|
||||
o Made a number of performance tweaks, such as:
|
||||
o increase host group sizes in many cases, so Nmap will now commonly
|
||||
@@ -97,6 +97,9 @@ o Nmap's makefile will now install menu items for launching zenmap as
|
||||
effect people who install nmap and zenmap directly from the source
|
||||
code. [Michael]
|
||||
|
||||
o Nmap will no longer misreport a localhost-responce during -PN scans
|
||||
[Michael]
|
||||
|
||||
Nmap 4.68 [2008-6-28]
|
||||
|
||||
o Doug integrated all of your version detection submissions and
|
||||
|
||||
@@ -122,7 +122,7 @@ const char *reason_text[ER_MAX+1]={
|
||||
"unknown", "admin-prohibited", "unknown", "time-exceeded", "unknown", "unknown",
|
||||
"timestamp-reply", "unknown", "unknown", "unknown", "addressmask-reply",
|
||||
"no-ipid-change", "ipid-change", "arp-response", "tcp-response",
|
||||
"no-response", "localhost-response", "script-set", "unknown-response"
|
||||
"no-response", "localhost-response", "script-set", "unknown-response","user-set"
|
||||
};
|
||||
|
||||
const char *reason_pl_text[ER_MAX+1]={
|
||||
|
||||
@@ -148,7 +148,7 @@ enum reason_codes {
|
||||
|
||||
ER_ADDRESSMASKREPLY=29, ER_NOIPIDCHANGE, ER_IPIDCHANGE,
|
||||
ER_ARPRESPONSE, ER_TCPRESPONSE, ER_NORESPONSE,
|
||||
ER_LOCALHOST, ER_SCRIPT, ER_UNKNOWN, ER_MAX=ER_UNKNOWN /* 38 */
|
||||
ER_LOCALHOST, ER_SCRIPT, ER_UNKNOWN, ER_USER, ER_MAX=ER_USER /* 39 */
|
||||
};
|
||||
|
||||
/* Be careful to update these values if any ICMP
|
||||
|
||||
@@ -606,7 +606,10 @@ if (hs->randomize) {
|
||||
if (!hs->hostbatch[i]->timedOut(&now)) {
|
||||
initialize_timeout_info(&hs->hostbatch[i]->to);
|
||||
hs->hostbatch[i]->flags |= HOST_UP; /*hostbatch[i].up = 1;*/
|
||||
hs->hostbatch[i]->reason.reason_id = ER_LOCALHOST;
|
||||
if(pingtype == PINGTYPE_NONE && !arpping_done)
|
||||
hs->hostbatch[i]->reason.reason_id = ER_USER;
|
||||
else
|
||||
hs->hostbatch[i]->reason.reason_id = ER_LOCALHOST;
|
||||
}
|
||||
}
|
||||
} else if (!arpping_done) {
|
||||
|
||||
Reference in New Issue
Block a user