1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-04 13:49:03 +00:00

Updating ip_is_reserved(): 112/8 and 113/8 were allocated to APNIC

This commit is contained in:
kris
2008-05-27 18:31:26 +00:00
parent 51c92104fd
commit ca5848efdb
2 changed files with 5 additions and 2 deletions

View File

@@ -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

View File

@@ -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 */