mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
o Nmap now reports a proper error message when you combine an IPv6
scan (-6) with random IPv4 address selection (-iR). [Henri Doreau]
This commit is contained in:
parent
57b4b9894b
commit
2e5795b109
2 changed files with 5 additions and 2 deletions
|
|
@ -1,5 +1,8 @@
|
|||
# Nmap Changelog ($Id$); -*-text-*-
|
||||
|
||||
o Nmap now reports a proper error message when you combine an IPv6
|
||||
scan (-6) with random IPv4 address selection (-iR). [Henri Doreau]
|
||||
|
||||
o The --excludefile option correctly handles files with no terminating
|
||||
newline instead of claiming "Exclude file line 0 was too long to
|
||||
read." [Henri Doreau]
|
||||
|
|
|
|||
|
|
@ -485,8 +485,8 @@ void NmapOps::ValidateOptions() {
|
|||
fatal("--min-rate=%g must be less than or equal to --max-rate=%g", min_packet_send_rate, max_packet_send_rate);
|
||||
}
|
||||
|
||||
if (af() == AF_INET6 && (numdecoys|osscan|bouncescan|fragscan|ackscan|finscan|idlescan|ipprotscan|maimonscan|nullscan|synscan|udpscan|windowscan|xmasscan)) {
|
||||
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_INET6 && (generate_random_ips|numdecoys|osscan|bouncescan|fragscan|ackscan|finscan|idlescan|ipprotscan|maimonscan|nullscan|synscan|udpscan|windowscan|xmasscan)) {
|
||||
fatal("Sorry -- IPv6 support is currently only available for connect() scan (-sT), ping scan (-sP), and list scan (-sL). OS detection, random targets and decoys are also not supported with IPv6. Further support is under consideration.");
|
||||
}
|
||||
|
||||
/* Prevent performance values from getting out of whack */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue