mirror of
https://github.com/nmap/nmap.git
synced 2025-12-26 09:29:01 +00:00
Updating ip_is_reserved(): 001/8 and 027/8 allocated
This commit is contained in:
@@ -39,6 +39,9 @@ o Added an Apple Filing Protocol service probe that detects Netatalk
|
||||
servers. (Apple's AFP servers are coincidentally triggered by the
|
||||
SSLSessionReq probe.) [Patrik Karlsson]
|
||||
|
||||
o Updated IANA assignment IP list for random IP (-iR) generation. Now
|
||||
even 001/8 has been allocated. [Kris]
|
||||
|
||||
Nmap 5.20 [2010-01-20]
|
||||
|
||||
o Dramatically improved the version detection database, integrating
|
||||
|
||||
2
nmap.cc
2
nmap.cc
@@ -348,14 +348,12 @@ static int ip_is_reserved(struct in_addr *ip)
|
||||
switch (i1)
|
||||
{
|
||||
case 0: /* 000/8 is IANA reserved */
|
||||
case 1: /* 001/8 is IANA reserved */
|
||||
case 5: /* 005/8 is IANA reserved */
|
||||
case 6: /* USA Army ISC */
|
||||
case 7: /* used for BGP protocol */
|
||||
case 10: /* the infamous 10.0.0.0/8 */
|
||||
case 14: /* 014/8 is IANA reserved */
|
||||
case 23: /* 023/8 is IANA reserved */
|
||||
case 27: /* 027/8 is IANA reserved */
|
||||
case 31: /* 031/8 is IANA reserved */
|
||||
case 36: /* 036/8 is IANA reserved */
|
||||
case 37: /* 037/8 is IANA reserved */
|
||||
|
||||
Reference in New Issue
Block a user