mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Increase the default concurrency level for version scanning from 10-20 based on timing level to 20-40 based on results from Patrick's testing
This commit is contained in:
parent
3932139e40
commit
7e6d183799
1 changed files with 3 additions and 3 deletions
|
|
@ -1664,9 +1664,9 @@ ServiceGroup::ServiceGroup(vector<Target *> &Targets, AllProbes *AP) {
|
|||
|
||||
SPM = new ScanProgressMeter("Service scan");
|
||||
desired_par = 1;
|
||||
if (o.timing_level == 3) desired_par = 10;
|
||||
if (o.timing_level == 4) desired_par = 15;
|
||||
if (o.timing_level >= 5) desired_par = 20;
|
||||
if (o.timing_level == 3) desired_par = 20;
|
||||
if (o.timing_level == 4) desired_par = 30;
|
||||
if (o.timing_level >= 5) desired_par = 40;
|
||||
// TODO: Come up with better ways to determine ideal_parallelism
|
||||
ideal_parallelism = box(o.min_parallelism, o.max_parallelism? o.max_parallelism : 100, desired_par);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue