From 8e0b8aa6b5b3d9be4a61742cf39ef42e64c3f197 Mon Sep 17 00:00:00 2001 From: fyodor Date: Sun, 27 Aug 2006 03:55:17 +0000 Subject: [PATCH] do not print os fingerprint if more than 10 hops away --- FingerPrintResults.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/FingerPrintResults.cc b/FingerPrintResults.cc index c7712c67d..26490c002 100644 --- a/FingerPrintResults.cc +++ b/FingerPrintResults.cc @@ -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";