1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-24 00:19:01 +00:00

IANA have moved the IPv4 and IPv6 assignments tables and slightly altered their

content.
This commit is contained in:
jah
2010-05-20 19:17:43 +00:00
parent b830a036ad
commit e307ee691e

View File

@@ -1593,24 +1593,24 @@ function script_init( )
nmap.registry.whois.remote_assignments_files = {}
nmap.registry.whois.remote_assignments_files.ipv4 = {
{
remote_resource = "http://www.iana.org/assignments/ipv4-address-space/",
remote_resource = "http://www.iana.org/assignments/ipv4-address-space/ipv4-address-space.txt",
local_resource = "ipv4-address-space",
match_assignment = "^([\.%d]+/%d+)",
match_assignment = "^%s*([\.%d]+/%d+)",
match_service = "whois\.(%w+)\.net"
}
}
nmap.registry.whois.remote_assignments_files.ipv6 = {
--[[{
remote_resource = "http://www.iana.org/assignments/ipv6-address-space",
remote_resource = "http://www.iana.org/assignments/ipv6-address-space/ipv6-address-space.txt",
local_resource = "ipv6-address-space",
match_assignment = "^([:%x]+/%d+)",
match_service = "^[:%x]+/%d+%s*(%w+)"
},--]]
{
remote_resource = "http://www.iana.org/assignments/ipv6-unicast-address-assignments",
remote_resource = "http://www.iana.org/assignments/ipv6-unicast-address-assignments/ipv6-unicast-address-assignments.txt",
local_resource = "ipv6-unicast-address-assignments",
match_assignment = "^([:%x]+/%d+)",
match_service = "^[:%x]+/%d+%s*(%w+)"
match_assignment = "^%s*([:%x]+/%d+)",
match_service = "whois\.(%w+)\.net"
}
}