Allow fingerprints to be shown even if target host is many hops away, remove some excess verbiage that should use ScanProgressMeter anyway

This commit is contained in:
fyodor 2006-08-24 04:15:00 +00:00
parent a15e1e0f05
commit 739807972b
2 changed files with 3 additions and 6 deletions

View file

@ -153,8 +153,9 @@ const char *FingerPrintResults::OmitSubmissionFP() {
if (osscan_closedtcpport <= 0)
return "Missing a closed TCP port so results incomplete";
if (distance > 5)
return "Host more than five network hops away";
// I'm not sure this is really necessary
// if (distance > 15)
// return "Host more than fifteen network hops away";
if (maxTimingRatio > 1.4)
return "maxTimingRatio is greater than 1.4";

View file

@ -706,10 +706,6 @@ void HostOsScanStats::initScanStats() {
closedUDPPort = (get_random_uint() % 14781) + 30000;
}
if (o.verbose && openTCPPort != -1)
log_write(LOG_STDOUT, "OSScan against host %s: assuming TCP port %d is open, %d is closed, UDP port %d is closed and none is firewalled\n",
target->targetipstr(), openTCPPort, closedTCPPort, closedUDPPort);
FP = NULL;
for (i=0; i<NUM_FPTESTS; i++)
FPtests[i] = NULL;