From b24b5717a8b3454d77ca31a5e4aefb5a9b42e494 Mon Sep 17 00:00:00 2001 From: dmiller Date: Wed, 15 Jun 2016 20:15:11 +0000 Subject: [PATCH] Avoid printing submission fingerprint for IPv6 if all TCP ports are filtered. --- FingerPrintResults.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/FingerPrintResults.cc b/FingerPrintResults.cc index aff2cfa22..80c5724d5 100644 --- a/FingerPrintResults.cc +++ b/FingerPrintResults.cc @@ -252,6 +252,10 @@ const char *FingerPrintResultsIPv6::OmitSubmissionFP() { return reason; } + if (osscan_opentcpport <= 0 && osscan_closedtcpport <= 0) { + return "Missing a closed or open TCP port so results incomplete"; + } + if (incomplete) { return "Some probes failed to send so results incomplete"; }