mirror of
https://github.com/nmap/nmap.git
synced 2025-12-11 02:09:03 +00:00
Update the comment for ip_is_reserved(). An old comment (ca 2001, r1152)
says that the function could be outdated if IANA keeps assigning IP ranges, but I update this function many times per year (usually consisting of more than one IP block per update). So in case I somehow slack on my unofficial job of updating this function, I note that it needs frequent attention.
This commit is contained in:
13
nmap.cc
13
nmap.cc
@@ -326,14 +326,13 @@ printf("%s %s ( %s )\n"
|
|||||||
* We try to optimize speed when ordering the tests. This optimization
|
* We try to optimize speed when ordering the tests. This optimization
|
||||||
* assumes that all byte values are equally likely in the input.
|
* assumes that all byte values are equally likely in the input.
|
||||||
*
|
*
|
||||||
* Warning: This function could easily become outdated if the IANA
|
* Warning: This function needs frequent attention because IANA has been
|
||||||
* starts to assign some more IPv4 ranges to RIPE, etc. as they have
|
* allocating address blocks many times per year (although it's questionable
|
||||||
* started doing this year (2001), for example 80.0.0.0/4 used to be
|
* how much longer this trend can be kept up).
|
||||||
* completely unassigned until they gave 80.0.0.0/7 to RIPE in April
|
|
||||||
* 2001 (www.junk.org is an example of a new address in this range).
|
|
||||||
*
|
*
|
||||||
* Check <http://www.iana.org/assignments/ipv4-address-space> for
|
* Check
|
||||||
* the most recent assigments and
|
* <http://www.iana.org/assignments/ipv4-address-space/ipv4-address-space.txt>
|
||||||
|
* for the most recent assigments and
|
||||||
* <http://www.cymru.com/Documents/bogon-bn-nonagg.txt> for bogon
|
* <http://www.cymru.com/Documents/bogon-bn-nonagg.txt> for bogon
|
||||||
* netblocks.
|
* netblocks.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user