I have a large network to scan, and I want to automate this scan.
Now, I see there is a hard coded? limit to the maximum numbers of hosts in one target.
/**
* @brief Default maximum number of hosts a target may specify.
*/
#define MANAGE_MAX_HOSTS 4095
Please note that --max-ips-per-target is a start up parameter for gvmd which means that you need to pass it to gvmd when launching the daemon (e.g. in your startup script).
If gvmd is already running calling gvmd --max-ips-per-target on command line won’t do anything.