mirror of
https://github.com/nmap/nmap.git
synced 2026-02-12 00:16:35 +00:00
o Increased hop distance estimates from OS detection by one. The
distance now counts the number of hops including the final one to the target, not just the number of intermediate nodes. The IPv6 distance calculation already worked this way. [David]
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
# Nmap Changelog ($Id$); -*-text-*-
|
||||
|
||||
o Increased hop distance estimates from OS detection by one. The
|
||||
distance now counts the number of hops including the final one to
|
||||
the target, not just the number of intermediate nodes. The IPv6
|
||||
distance calculation already worked this way. [David]
|
||||
|
||||
Nmap 5.61TEST2 [2011-09-30]
|
||||
|
||||
o Added IPv6 OS detection system! The new system utilizes many tests
|
||||
|
||||
@@ -3059,7 +3059,7 @@ bool HostOsScan::processTUdpResp(HostOsScanStats *hss, struct ip *ip) {
|
||||
|
||||
/* Count hop count */
|
||||
if (hss->distance == -1) {
|
||||
hss->distance = this->udpttl - ip2->ip_ttl;
|
||||
hss->distance = this->udpttl - ip2->ip_ttl + 1;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user