mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
do not print os fingerprint if more than 10 hops away
This commit is contained in:
parent
d4d77fa1de
commit
8e0b8aa6b5
1 changed files with 5 additions and 3 deletions
|
|
@ -153,9 +153,11 @@ const char *FingerPrintResults::OmitSubmissionFP() {
|
|||
if (osscan_closedtcpport <= 0)
|
||||
return "Missing a closed TCP port so results incomplete";
|
||||
|
||||
// I'm not sure this is really necessary
|
||||
// if (distance > 15)
|
||||
// return "Host more than fifteen network hops away";
|
||||
// I'm not sure this is really necessary, but maybe. Large routes
|
||||
// can cause asymetric routing which leads to wrong TTL information.
|
||||
// They can cause variable timing too.
|
||||
if (distance > 10)
|
||||
return "Host more than fifteen network hops away";
|
||||
|
||||
if (maxTimingRatio > 1.4)
|
||||
return "maxTimingRatio is greater than 1.4";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue