Nmap Development mailing list archives

Parallelism across multiple interfaces


From: Kristof Boeynaems <kristof.boeynaems () gmail com>
Date: Wed, 15 Sep 2010 19:22:15 +0200

Hi all,

Does Nmap support parallel scanning across multiple interfaces?

I have a multi-homed Linux system running Nmap with about 20 (virtual)
interfaces, each in a different network. I also have a list of about
80 IP addresses, spread over these 20 different networks (about evenly
distributed, let's assume 4 per network).

I am trying to run a UDP scan on all those 80 hosts, as follows:

# nmap -n -r -T4 -PN --min-hostgroup 100 -sU -iL [file with 80 IP
addresses] -oA [filename].

I was hoping that the min-hostgroup option would force Nmap to scan
all 80 IPs in parallel. However, that does not happen, presumably
because Nmap automatically splits the scan up in multiple groups, one
group per interface, as explained in the documentation:

"Nmap may have to use smaller groups than you specify if there are not
enough target hosts left on a given interface to fulfill the specified
minimum." [1]

Is there a way to force Nmap to scan from multiple interfaces in parallel?

A work-around would be to start multiple Nmap instances in parallel,
one per network.
I think that would work, but I'd prefer to let Nmap handle the
parallelism, if possible.

Any thoughts?

Thank you!

Kristof

[1] http://nmap.org/book/man-performance.html
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: