mirror of
https://github.com/nmap/nmap.git
synced 2026-06-10 10:04:44 +00:00
Updating ip_is_reserved(): 112/8 and 113/8 were allocated to APNIC
This commit is contained in:
parent
51c92104fd
commit
ca5848efdb
2 changed files with 5 additions and 2 deletions
|
|
@ -85,6 +85,9 @@ o Replaced kibuvDetection.nse with version detection match lines which
|
|||
o Removed mswindowsShell.nse as there is a version detection NULL probe
|
||||
match which accomplishes the same thing. [Brandon, Fyodor, Kris]
|
||||
|
||||
o Updated IANA assignment IP list for random IP (-iR)
|
||||
generation. [Kris]
|
||||
|
||||
Nmap 4.62 [5/3/08]
|
||||
|
||||
o Added a new --min-rate option that allows specifying a minimum rate
|
||||
|
|
|
|||
4
nmap.cc
4
nmap.cc
|
|
@ -380,8 +380,8 @@ static int ip_is_reserved(struct in_addr *ip)
|
|||
break;
|
||||
}
|
||||
|
||||
/* 100-113/8 is IANA reserved */
|
||||
if (i1 >= 100 && i1 <= 113)
|
||||
/* 100-111/8 is IANA reserved */
|
||||
if (i1 >= 100 && i1 <= 111)
|
||||
return 1;
|
||||
|
||||
/* 172.16.0.0/12 is reserved for private nets by RFC1819 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue