Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Hi, I am trying to identify some services in an enterprise network, which contains about 5000 live hosts. To achieve this I run the following command:
If I set "min-rate" to about 700, it works just fine but the problem is that for such a big network, it would take forever to complete the work.
It is worth mentioning that I am running it on Ubuntu 18.
Could you please help? Thanks!
Thanks for reporting this. I'm not sure what possibilities there are to more safely limit parallelism to avoid exceeding FD_SETSIZE, you may be able to work around the problem for now by adjusting your scan parameters and splitting your scan into sections.
My first suggestion would be to avoid using
The next suggestion is to split your scan in order to speed it up. If you do all the port scanning first, you can use very high rates and parallelism, since except for TCP Connect scan (
In any case, it would be nice to be able to detect when we're about to exceed FD_SETSIZE and throttle back instead of choking entirely, so I'll leave that as the goal for this issue.