From 515d45ab9d86ead849b92afdbd366ef7ab05e506 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 2 Oct 2007 19:35:34 +0000 Subject: [PATCH] Reduce the congestion control increment cap back to 50. 50 seems to be good enough for host discovery, and 100 doesn't give much benefit because the probe timeouts increase to slow the scan down. While it's faster in some cases, it also increases the variance in scan times. For more analysis see http://www.bamsoftware.com/wiki/Nmap/PerformanceGraphs#timeouts. --- scan_engine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scan_engine.cc b/scan_engine.cc index 9f5f30379..8534bc1fb 100644 --- a/scan_engine.cc +++ b/scan_engine.cc @@ -1257,7 +1257,7 @@ static void init_perf_values(struct ultra_scan_performance_vars *perf) { perf->cc_incr = 1; else perf->cc_incr = 2; - perf->cc_scale_max = 100; + perf->cc_scale_max = 50; perf->initial_ccthresh = 75; perf->ping_magnifier = 3; perf->pingtime = 5000000;