mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 17:59:04 +00:00
updating ip_is_reserved(): 114/8 and 115/8 went to APNIC
This commit is contained in:
@@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
o Removed the NmapFE frontend.
|
o Removed the NmapFE frontend.
|
||||||
|
|
||||||
|
o Updated IANA assignment IP list for random IP (-iR)
|
||||||
|
generation. [Kris]
|
||||||
|
|
||||||
4.22SOC8
|
4.22SOC8
|
||||||
|
|
||||||
o Removed the old massping() system, since the functionality has now
|
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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 100-115/8 is IANA reserved */
|
/* 100-113/8 is IANA reserved */
|
||||||
if (i1 >= 100 && i1 <= 115)
|
if (i1 >= 100 && i1 <= 113)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
/* 172.16.0.0/12 is reserved for private nets by RFC1819 */
|
/* 172.16.0.0/12 is reserved for private nets by RFC1819 */
|
||||||
|
|||||||
Reference in New Issue
Block a user