1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-04 21:59:02 +00:00

fingerprints with a distance > 5 are usually too sketchy to take as submissions

This commit is contained in:
fyodor
2007-03-12 02:16:24 +00:00
parent db909e5a24
commit ea31df4102

View File

@@ -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;
}