1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 18:39:03 +00:00

Allow dns.get_servers to return a list of known DNS servers even when IPv6

scanning, when system DNS resolution is used. This makes ASN.nse work for IPv6.
See the thread at http://seclists.org/nmap-dev/2008/q4/0081.html.
This commit is contained in:
david
2008-11-02 20:32:26 +00:00
parent a4f6dc6b6e
commit 651cb6e486
3 changed files with 22 additions and 12 deletions

View File

@@ -488,8 +488,6 @@ void NmapOps::ValidateOptions() {
fatal("Sorry -- IPv6 support is currently only available for connect() scan (-sT), ping scan (-sP), and list scan (-sL). OS detection and decoys are also not supported with IPv6. Further support is under consideration.");
}
if (af() != AF_INET) mass_dns = false;
/* Prevent performance values from getting out of whack */
if (min_parallelism > max_parallelism)
max_parallelism = min_parallelism;