mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
fingerprints with a distance > 5 are usually too sketchy to take as submissions
This commit is contained in:
parent
db909e5a24
commit
ea31df4102
1 changed files with 2 additions and 5 deletions
|
|
@ -159,11 +159,8 @@ 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, but maybe. Large routes
|
||||
// can cause asymetric routing which leads to wrong TTL information.
|
||||
// They can cause variable timing too.
|
||||
if (distance > 10) {
|
||||
snprintf(reason, sizeof(reason), "Host distance (%d network hops) is greater than ten", distance);
|
||||
if (distance > 5) {
|
||||
snprintf(reason, sizeof(reason), "Host distance (%d network hops) is greater than five", distance);
|
||||
return reason;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue