mirror of
https://github.com/nmap/nmap.git
synced 2026-06-19 23:17:48 +00:00
updating ip_is_reserved(): 114/8 and 115/8 went to APNIC
This commit is contained in:
parent
f020df112f
commit
9dfd8af1f3
2 changed files with 5 additions and 2 deletions
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
o Removed the NmapFE frontend.
|
||||
|
||||
o Updated IANA assignment IP list for random IP (-iR)
|
||||
generation. [Kris]
|
||||
|
||||
4.22SOC8
|
||||
|
||||
o Removed the old massping() system, since the functionality has now
|
||||
|
|
|
|||
4
nmap.cc
4
nmap.cc
|
|
@ -380,8 +380,8 @@ static int ip_is_reserved(struct in_addr *ip)
|
|||
break;
|
||||
}
|
||||
|
||||
/* 100-115/8 is IANA reserved */
|
||||
if (i1 >= 100 && i1 <= 115)
|
||||
/* 100-113/8 is IANA reserved */
|
||||
if (i1 >= 100 && i1 <= 113)
|
||||
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