1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-21 15:09:02 +00:00

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.
This commit is contained in:
david
2007-10-02 19:35:34 +00:00
parent 6306350106
commit 515d45ab9d

View File

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