Nmap Development mailing list archives

Re: scan ip v4 and v6 simultaneously


From: Daniel Miller <bonsaiviking () gmail com>
Date: Sun, 6 Mar 2016 23:47:24 -0600

Andre,

Thanks for your interest in Nmap. The simplest reason is that it was
implemented that way to begin with. Beyond that, there are portions of
execution that choose which address family to use based on the -6 option,
when the target specification doesn't say which to use (such as resolving
DNS names). When a name has both A and AAAA records, Nmap chooses one to
scan based on the address family chosen. Sometimes this is important, too,
to avoid the common case where there is no IPv6 route to a target.

It's also important to note that just because the same name resolves to an
IPv4 and an IPv6 address, does not mean that they are the same machine.

Dan

On Wed, Feb 17, 2016 at 2:01 PM, Andre Klärner <kandre () ak-online be> wrote:

Hi there,

please CC me on replies.

Is there any specific reason why nmap doesn't scan ipv4 and ipv6 hosts at
the same time/within the same scan?

I come often around scanning the same host via v4 and v6 to audit any open
services, but have to run nmap twice.

Thanks for all your efforts in making such a valuable tool!

Kind regards,
Andre

--
Andre Klärner

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: