whois 1.2.2 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +23 -0
- data/README.rdoc +24 -7
- data/lib/core_ext.rb +4 -3
- data/lib/whois/answer/contact.rb +1 -1
- data/lib/whois/answer/nameserver.rb +41 -0
- data/lib/whois/answer/parser/base.rb +1 -0
- data/lib/whois/answer/parser/jobswhois.verisign-grs.com.rb +2 -2
- data/lib/whois/answer/parser/scanners/iana.rb +145 -0
- data/lib/whois/answer/parser/scanners/verisign.rb +15 -15
- data/lib/whois/answer/parser/whois.crsnic.net.rb +2 -2
- data/lib/whois/answer/parser/whois.denic.de.rb +27 -22
- data/lib/whois/answer/parser/whois.iana.org.rb +56 -16
- data/lib/whois/answer/parser/whois.nic.cc.rb +1 -1
- data/lib/whois/answer/parser/whois.nic.hu.rb +12 -8
- data/lib/whois/answer/parser/whois.nic.it.rb +1 -1
- data/lib/whois/answer/parser/whois.nic.tv.rb +1 -1
- data/lib/whois/answer/parser/whois.publicinterestregistry.net.rb +11 -9
- data/lib/whois/answer/registrar.rb +5 -5
- data/lib/whois/client.rb +0 -1
- data/lib/whois/errors.rb +19 -19
- data/lib/whois/server.rb +119 -47
- data/lib/whois/server/adapters/base.rb +44 -2
- data/lib/whois/version.rb +4 -3
- data/whois.gemspec +9 -18
- metadata +26 -713
- data/Manifest +0 -541
- data/Rakefile +0 -82
- data/data/ip6_del_list +0 -47
- data/data/ip_del_list +0 -245
- data/data/make_ip6_del.pl +0 -38
- data/data/make_ip_del.pl +0 -25
- data/data/make_servers_charset.pl +0 -21
- data/data/make_tld_serv.pl +0 -23
- data/data/servers_charset_list +0 -38
- data/data/tld_serv_list +0 -377
- data/tasks/server.rake +0 -109
- data/test/list_tld +0 -324
- data/test/test_helper.rb +0 -56
- data/test/testcases/referrals/afilias.bz.txt +0 -40
- data/test/testcases/referrals/crsnic.com.txt +0 -210
- data/test/testcases/referrals/crsnic.com_more_servers.txt +0 -210
- data/test/testcases/referrals/crsnic.com_one_server.txt +0 -57
- data/test/testcases/referrals/niccc.cc.txt +0 -59
- data/test/testcases/referrals/pir.org.txt +0 -84
- data/test/testcases/responses/UTF8.txt +0 -10
- data/test/testcases/responses/jobswhois.verisign-grs.com/available.txt +0 -44
- data/test/testcases/responses/jobswhois.verisign-grs.com/property_registrar.txt +0 -54
- data/test/testcases/responses/jobswhois.verisign-grs.com/registered.txt +0 -54
- data/test/testcases/responses/whois.adamsnames.tc/gd/available.txt +0 -2
- data/test/testcases/responses/whois.adamsnames.tc/gd/registered.txt +0 -26
- data/test/testcases/responses/whois.adamsnames.tc/tc/available.txt +0 -2
- data/test/testcases/responses/whois.adamsnames.tc/tc/registered.txt +0 -28
- data/test/testcases/responses/whois.adamsnames.tc/vg/available.txt +0 -2
- data/test/testcases/responses/whois.adamsnames.tc/vg/registered.txt +0 -28
- data/test/testcases/responses/whois.aeda.net.ae/available.txt +0 -1
- data/test/testcases/responses/whois.aeda.net.ae/registered.txt +0 -15
- data/test/testcases/responses/whois.aero/available.txt +0 -1
- data/test/testcases/responses/whois.aero/registered.txt +0 -102
- data/test/testcases/responses/whois.afilias-grs.info/bz/available.txt +0 -1
- data/test/testcases/responses/whois.afilias-grs.info/bz/registered.txt +0 -122
- data/test/testcases/responses/whois.afilias-grs.info/gi/available.txt +0 -1
- data/test/testcases/responses/whois.afilias-grs.info/gi/registered.txt +0 -98
- data/test/testcases/responses/whois.afilias-grs.info/hn/available.txt +0 -1
- data/test/testcases/responses/whois.afilias-grs.info/hn/registered.txt +0 -85
- data/test/testcases/responses/whois.afilias-grs.info/lc/available.txt +0 -1
- data/test/testcases/responses/whois.afilias-grs.info/lc/registered.txt +0 -83
- data/test/testcases/responses/whois.afilias-grs.info/mn/available.txt +0 -1
- data/test/testcases/responses/whois.afilias-grs.info/mn/registered.txt +0 -100
- data/test/testcases/responses/whois.afilias-grs.info/sc/available.txt +0 -1
- data/test/testcases/responses/whois.afilias-grs.info/sc/registered.txt +0 -85
- data/test/testcases/responses/whois.afilias-grs.info/vc/available.txt +0 -1
- data/test/testcases/responses/whois.afilias-grs.info/vc/registered.txt +0 -100
- data/test/testcases/responses/whois.afilias.info/available.txt +0 -1
- data/test/testcases/responses/whois.afilias.info/registered.txt +0 -104
- data/test/testcases/responses/whois.ai/available.txt +0 -2
- data/test/testcases/responses/whois.ai/registered.txt +0 -59
- data/test/testcases/responses/whois.arnes.si/available.txt +0 -29
- data/test/testcases/responses/whois.arnes.si/registered.txt +0 -55
- data/test/testcases/responses/whois.audns.net.au/available.txt +0 -1
- data/test/testcases/responses/whois.audns.net.au/registered.txt +0 -23
- data/test/testcases/responses/whois.biz/available.txt +0 -25
- data/test/testcases/responses/whois.biz/registered.txt +0 -89
- data/test/testcases/responses/whois.cat/available.txt +0 -18
- data/test/testcases/responses/whois.cat/registered.txt +0 -83
- data/test/testcases/responses/whois.cctld.uz/available.txt +0 -12
- data/test/testcases/responses/whois.cctld.uz/registered.txt +0 -123
- data/test/testcases/responses/whois.cira.ca/available.txt +0 -9
- data/test/testcases/responses/whois.cira.ca/registered.txt +0 -47
- data/test/testcases/responses/whois.cnnic.cn/available.txt +0 -1
- data/test/testcases/responses/whois.cnnic.cn/registered.txt +0 -19
- data/test/testcases/responses/whois.crsnic.net/MULTIPLE.txt +0 -3
- data/test/testcases/responses/whois.crsnic.net/available.txt +0 -43
- data/test/testcases/responses/whois.crsnic.net/nameservers_with_no_nameserver.txt +0 -67
- data/test/testcases/responses/whois.crsnic.net/registered.txt +0 -57
- data/test/testcases/responses/whois.crsnic.net/registered_with_multiple_entries.txt +0 -235
- data/test/testcases/responses/whois.denic.de/1-10-0_available.txt +0 -30
- data/test/testcases/responses/whois.denic.de/1-10-0_registered.txt +0 -77
- data/test/testcases/responses/whois.denic.de/available.txt +0 -42
- data/test/testcases/responses/whois.denic.de/error_invalid_domain_name.txt +0 -37
- data/test/testcases/responses/whois.denic.de/property_nameservers_with_ip.txt +0 -67
- data/test/testcases/responses/whois.denic.de/property_technical_contact.txt +0 -70
- data/test/testcases/responses/whois.denic.de/registered.txt +0 -70
- data/test/testcases/responses/whois.dk-hostmaster.dk/available.txt +0 -15
- data/test/testcases/responses/whois.dk-hostmaster.dk/registered.txt +0 -47
- data/test/testcases/responses/whois.dns.be/available.txt +0 -41
- data/test/testcases/responses/whois.dns.be/registered.txt +0 -66
- data/test/testcases/responses/whois.dns.lu/available.txt +0 -26
- data/test/testcases/responses/whois.dns.lu/property_nameservers_with_ip.txt +0 -55
- data/test/testcases/responses/whois.dns.lu/registered.txt +0 -57
- data/test/testcases/responses/whois.dns.pt/available.txt +0 -1
- data/test/testcases/responses/whois.dns.pt/registered.txt +0 -32
- data/test/testcases/responses/whois.domain-registry.nl/available.txt +0 -21
- data/test/testcases/responses/whois.domain-registry.nl/registered.txt +0 -67
- data/test/testcases/responses/whois.domainregistry.ie/available.txt +0 -7
- data/test/testcases/responses/whois.domainregistry.ie/registered.txt +0 -26
- data/test/testcases/responses/whois.domreg.lt/available.txt +0 -18
- data/test/testcases/responses/whois.domreg.lt/property_nameservers_with_ip.txt +0 -32
- data/test/testcases/responses/whois.domreg.lt/registered.txt +0 -37
- data/test/testcases/responses/whois.dot.tk/available.txt +0 -1
- data/test/testcases/responses/whois.dot.tk/registered.txt +0 -28
- data/test/testcases/responses/whois.dotmobiregistry.net/available.txt +0 -25
- data/test/testcases/responses/whois.dotmobiregistry.net/registered.txt +0 -81
- data/test/testcases/responses/whois.educause.edu/available.txt +0 -28
- data/test/testcases/responses/whois.educause.edu/registered.txt +0 -66
- data/test/testcases/responses/whois.eenet.ee/available.txt +0 -6
- data/test/testcases/responses/whois.eenet.ee/registered.txt +0 -27
- data/test/testcases/responses/whois.eu.org/available.txt +0 -1
- data/test/testcases/responses/whois.eu.org/registered.txt +0 -19
- data/test/testcases/responses/whois.eu/available.txt +0 -47
- data/test/testcases/responses/whois.eu/property_nameservers_with_ip.txt +0 -61
- data/test/testcases/responses/whois.eu/registered.txt +0 -63
- data/test/testcases/responses/whois.hkdnr.net.hk/available.txt +0 -1
- data/test/testcases/responses/whois.hkdnr.net.hk/registered.txt +0 -96
- data/test/testcases/responses/whois.iana.org/MULTIPLE.txt +0 -3
- data/test/testcases/responses/whois.iana.org/available.txt +0 -7
- data/test/testcases/responses/whois.iana.org/registered.txt +0 -89
- data/test/testcases/responses/whois.in.ua/available.txt +0 -4
- data/test/testcases/responses/whois.in.ua/registered.txt +0 -16
- data/test/testcases/responses/whois.isnic.is/available.txt +0 -7
- data/test/testcases/responses/whois.isnic.is/registered.txt +0 -57
- data/test/testcases/responses/whois.jprs.jp/jp/available.txt +0 -17
- data/test/testcases/responses/whois.jprs.jp/jp/registered.txt +0 -30
- data/test/testcases/responses/whois.jprs.jp/ne.jp/available.txt +0 -17
- data/test/testcases/responses/whois.jprs.jp/ne.jp/registered.txt +0 -19
- data/test/testcases/responses/whois.meregistry.net/available.txt +0 -1
- data/test/testcases/responses/whois.meregistry.net/registered.txt +0 -94
- data/test/testcases/responses/whois.museum/available.txt +0 -18
- data/test/testcases/responses/whois.museum/registered.txt +0 -92
- data/test/testcases/responses/whois.net.ua/available.txt +0 -7
- data/test/testcases/responses/whois.net.ua/property_nameservers_uppercase.txt +0 -29
- data/test/testcases/responses/whois.net.ua/redirect_to_whois.in.ua.txt +0 -29
- data/test/testcases/responses/whois.net.ua/registered.txt +0 -58
- data/test/testcases/responses/whois.nic-se.se/available.txt +0 -21
- data/test/testcases/responses/whois.nic-se.se/property_nameservers_with_ip.txt +0 -37
- data/test/testcases/responses/whois.nic-se.se/registered.txt +0 -37
- data/test/testcases/responses/whois.nic.ac/available.txt +0 -2
- data/test/testcases/responses/whois.nic.ac/registered.txt +0 -2
- data/test/testcases/responses/whois.nic.af/available.txt +0 -13
- data/test/testcases/responses/whois.nic.af/registered.txt +0 -56
- data/test/testcases/responses/whois.nic.ag/available.txt +0 -1
- data/test/testcases/responses/whois.nic.ag/registered.txt +0 -100
- data/test/testcases/responses/whois.nic.am/available.txt +0 -3
- data/test/testcases/responses/whois.nic.am/registered.txt +0 -42
- data/test/testcases/responses/whois.nic.as/available.txt +0 -12
- data/test/testcases/responses/whois.nic.as/registered.txt +0 -18
- data/test/testcases/responses/whois.nic.asia/available.txt +0 -1
- data/test/testcases/responses/whois.nic.asia/registered.txt +0 -159
- data/test/testcases/responses/whois.nic.at/available.txt +0 -25
- data/test/testcases/responses/whois.nic.at/registered.txt +0 -65
- data/test/testcases/responses/whois.nic.cc/available.txt +0 -44
- data/test/testcases/responses/whois.nic.cc/registered.txt +0 -58
- data/test/testcases/responses/whois.nic.cd/available.txt +0 -1
- data/test/testcases/responses/whois.nic.cd/registered.txt +0 -85
- data/test/testcases/responses/whois.nic.ch/available.txt +0 -2
- data/test/testcases/responses/whois.nic.ch/property_nameservers_with_ip.txt +0 -27
- data/test/testcases/responses/whois.nic.ch/registered.txt +0 -28
- data/test/testcases/responses/whois.nic.co/available.txt +0 -28
- data/test/testcases/responses/whois.nic.co/registered.txt +0 -82
- data/test/testcases/responses/whois.nic.coop/available.txt +0 -33
- data/test/testcases/responses/whois.nic.coop/registered.txt +0 -123
- data/test/testcases/responses/whois.nic.ec/available.txt +0 -1
- data/test/testcases/responses/whois.nic.ec/registered.txt +0 -40
- data/test/testcases/responses/whois.nic.fr/fr/available.txt +0 -19
- data/test/testcases/responses/whois.nic.fr/fr/registered.txt +0 -98
- data/test/testcases/responses/whois.nic.fr/pm/available.txt +0 -19
- data/test/testcases/responses/whois.nic.fr/pm/registered.txt +0 -88
- data/test/testcases/responses/whois.nic.fr/re/available.txt +0 -19
- data/test/testcases/responses/whois.nic.fr/re/registered.txt +0 -83
- data/test/testcases/responses/whois.nic.fr/wf/available.txt +0 -19
- data/test/testcases/responses/whois.nic.fr/wf/registered.txt +0 -88
- data/test/testcases/responses/whois.nic.fr/yt/available.txt +0 -19
- data/test/testcases/responses/whois.nic.fr/yt/registered.txt +0 -88
- data/test/testcases/responses/whois.nic.gl/available.txt +0 -23
- data/test/testcases/responses/whois.nic.gl/registered.txt +0 -40
- data/test/testcases/responses/whois.nic.gov/available.txt +0 -1
- data/test/testcases/responses/whois.nic.gov/registered.txt +0 -5
- data/test/testcases/responses/whois.nic.ht/available.txt +0 -23
- data/test/testcases/responses/whois.nic.ht/registered.txt +0 -59
- data/test/testcases/responses/whois.nic.hu/current/available.txt +0 -3
- data/test/testcases/responses/whois.nic.hu/current/registered.txt +0 -9
- data/test/testcases/responses/whois.nic.hu/v1.99/available.txt +0 -12
- data/test/testcases/responses/whois.nic.hu/v1.99/in_progress.txt +0 -13
- data/test/testcases/responses/whois.nic.hu/v1.99/property_registrant_as_company.txt +0 -65
- data/test/testcases/responses/whois.nic.hu/v1.99/property_registrant_as_private_person.txt +0 -58
- data/test/testcases/responses/whois.nic.hu/v1.99/property_registrant_without_address.txt +0 -58
- data/test/testcases/responses/whois.nic.hu/v1.99/registered.txt +0 -65
- data/test/testcases/responses/whois.nic.im/available.txt +0 -2
- data/test/testcases/responses/whois.nic.im/registered.txt +0 -45
- data/test/testcases/responses/whois.nic.io/available.txt +0 -2
- data/test/testcases/responses/whois.nic.io/registered.txt +0 -2
- data/test/testcases/responses/whois.nic.it/available.txt +0 -2
- data/test/testcases/responses/whois.nic.it/property_admin_contact.txt +0 -53
- data/test/testcases/responses/whois.nic.it/property_registrant_contact.txt +0 -58
- data/test/testcases/responses/whois.nic.it/property_status_active.txt +0 -53
- data/test/testcases/responses/whois.nic.it/property_status_available.txt +0 -2
- data/test/testcases/responses/whois.nic.it/property_technical_contact.txt +0 -53
- data/test/testcases/responses/whois.nic.it/registered.txt +0 -53
- data/test/testcases/responses/whois.nic.kz/available.txt +0 -4
- data/test/testcases/responses/whois.nic.kz/registered.txt +0 -37
- data/test/testcases/responses/whois.nic.la/available.txt +0 -1
- data/test/testcases/responses/whois.nic.la/registered.txt +0 -70
- data/test/testcases/responses/whois.nic.lv/available.txt +0 -7
- data/test/testcases/responses/whois.nic.lv/registered.txt +0 -33
- data/test/testcases/responses/whois.nic.ly/available.txt +0 -1
- data/test/testcases/responses/whois.nic.ly/registered.txt +0 -65
- data/test/testcases/responses/whois.nic.mu/ki/available.txt +0 -20
- data/test/testcases/responses/whois.nic.mu/ki/registered.txt +0 -30
- data/test/testcases/responses/whois.nic.mu/mu/available.txt +0 -9
- data/test/testcases/responses/whois.nic.mu/mu/registered.txt +0 -22
- data/test/testcases/responses/whois.nic.mx/available.txt +0 -11
- data/test/testcases/responses/whois.nic.mx/registered.txt +0 -58
- data/test/testcases/responses/whois.nic.name/available.txt +0 -29
- data/test/testcases/responses/whois.nic.name/registered.txt +0 -36
- data/test/testcases/responses/whois.nic.name/reserved.txt +0 -30
- data/test/testcases/responses/whois.nic.net.sa/available.txt +0 -5
- data/test/testcases/responses/whois.nic.net.sa/registered.txt +0 -17
- data/test/testcases/responses/whois.nic.nu/available.txt +0 -19
- data/test/testcases/responses/whois.nic.nu/registered.txt +0 -35
- data/test/testcases/responses/whois.nic.or.kr/available.txt +0 -10
- data/test/testcases/responses/whois.nic.or.kr/registered.txt +0 -48
- data/test/testcases/responses/whois.nic.org.uy/available.txt +0 -10
- data/test/testcases/responses/whois.nic.org.uy/registered.txt +0 -48
- data/test/testcases/responses/whois.nic.sn/available.txt +0 -3
- data/test/testcases/responses/whois.nic.sn/registered.txt +0 -14
- data/test/testcases/responses/whois.nic.st/available.txt +0 -1
- data/test/testcases/responses/whois.nic.st/registered.txt +0 -47
- data/test/testcases/responses/whois.nic.tel/available.txt +0 -59
- data/test/testcases/responses/whois.nic.tel/registered.txt +0 -111
- data/test/testcases/responses/whois.nic.tl/available.txt +0 -21
- data/test/testcases/responses/whois.nic.tl/registered.txt +0 -29
- data/test/testcases/responses/whois.nic.tr/available.txt +0 -1
- data/test/testcases/responses/whois.nic.tr/property_nameservers_with_trailing_space.txt +0 -42
- data/test/testcases/responses/whois.nic.tr/registered.txt +0 -48
- data/test/testcases/responses/whois.nic.travel/available.txt +0 -25
- data/test/testcases/responses/whois.nic.travel/registered.txt +0 -75
- data/test/testcases/responses/whois.nic.tv/available.txt +0 -44
- data/test/testcases/responses/whois.nic.tv/registered.txt +0 -54
- data/test/testcases/responses/whois.nic.uk/available.txt +0 -20
- data/test/testcases/responses/whois.nic.uk/invalid.txt +0 -22
- data/test/testcases/responses/whois.nic.uk/registered.txt +0 -50
- data/test/testcases/responses/whois.nic.us/available.txt +0 -29
- data/test/testcases/responses/whois.nic.us/registered.txt +0 -99
- data/test/testcases/responses/whois.nic.ve/available.txt +0 -10
- data/test/testcases/responses/whois.nic.ve/registered.txt +0 -48
- data/test/testcases/responses/whois.norid.no/available.txt +0 -5
- data/test/testcases/responses/whois.norid.no/registered.txt +0 -34
- data/test/testcases/responses/whois.pandi.or.id/available.txt +0 -9
- data/test/testcases/responses/whois.pandi.or.id/registered.txt +0 -33
- data/test/testcases/responses/whois.publicinterestregistry.net/available.txt +0 -1
- data/test/testcases/responses/whois.publicinterestregistry.net/registered.txt +0 -85
- data/test/testcases/responses/whois.publicinterestregistry.net/throttle.txt +0 -1
- data/test/testcases/responses/whois.register.bg/available.txt +0 -1
- data/test/testcases/responses/whois.register.bg/property_nameservers_with_ip.txt +0 -42
- data/test/testcases/responses/whois.register.bg/registered.txt +0 -44
- data/test/testcases/responses/whois.registro.br/available.txt +0 -22
- data/test/testcases/responses/whois.registro.br/registered.txt +0 -23
- data/test/testcases/responses/whois.registry.in/available.txt +0 -1
- data/test/testcases/responses/whois.registry.in/registered.txt +0 -83
- data/test/testcases/responses/whois.registrypro.pro/available.txt +0 -20
- data/test/testcases/responses/whois.registrypro.pro/registered.txt +0 -62
- data/test/testcases/responses/whois.ripe.net/fo/available.txt +0 -11
- data/test/testcases/responses/whois.ripe.net/fo/registered.txt +0 -45
- data/test/testcases/responses/whois.ripe.net/gm/available.txt +0 -11
- data/test/testcases/responses/whois.ripe.net/gm/registered.txt +0 -37
- data/test/testcases/responses/whois.ripe.net/mc/available.txt +0 -11
- data/test/testcases/responses/whois.ripe.net/mc/registered.txt +0 -36
- data/test/testcases/responses/whois.ripe.net/sm/available.txt +0 -11
- data/test/testcases/responses/whois.ripe.net/sm/registered.txt +0 -60
- data/test/testcases/responses/whois.ripe.net/va/available.txt +0 -11
- data/test/testcases/responses/whois.ripe.net/va/registered.txt +0 -48
- data/test/testcases/responses/whois.ripn.net/ru/available.txt +0 -9
- data/test/testcases/responses/whois.ripn.net/ru/property_nameservers_with_ip.txt +0 -22
- data/test/testcases/responses/whois.ripn.net/ru/registered.txt +0 -24
- data/test/testcases/responses/whois.ripn.net/su/available.txt +0 -9
- data/test/testcases/responses/whois.ripn.net/su/registered.txt +0 -20
- data/test/testcases/responses/whois.rotld.ro/available.txt +0 -16
- data/test/testcases/responses/whois.rotld.ro/registered.txt +0 -27
- data/test/testcases/responses/whois.samoanic.ws/available.txt +0 -12
- data/test/testcases/responses/whois.samoanic.ws/registered.txt +0 -34
- data/test/testcases/responses/whois.srs.net.nz/available.txt +0 -28
- data/test/testcases/responses/whois.srs.net.nz/invalid.txt +0 -28
- data/test/testcases/responses/whois.srs.net.nz/registered.txt +0 -72
- data/test/testcases/responses/whois.tonic.to/1.txt +0 -1
- data/test/testcases/responses/whois.tonic.to/available.txt +0 -2
- data/test/testcases/responses/whois.tonic.to/incomplete.txt +0 -1
- data/test/testcases/responses/whois.tonic.to/registered.txt +0 -3
- data/test/testcases/responses/whois.za.net/available.txt +0 -9
- data/test/testcases/responses/whois.za.net/registered.txt +0 -42
- data/test/testcases/responses/whois.za.org/available.txt +0 -9
- data/test/testcases/responses/whois.za.org/registered.txt +0 -44
- data/test/whois/answer/contact_test.rb +0 -14
- data/test/whois/answer/parser/base_test.rb +0 -84
- data/test/whois/answer/parser/blank_test.rb +0 -19
- data/test/whois/answer/parser/jobswhois.verisign-grs.com_test.rb +0 -161
- data/test/whois/answer/parser/saudinic.net.sa_test.rb +0 -12
- data/test/whois/answer/parser/whois.adamsnames.tc_test.rb +0 -162
- data/test/whois/answer/parser/whois.aeda.net.ae_test.rb +0 -63
- data/test/whois/answer/parser/whois.aero_test.rb +0 -84
- data/test/whois/answer/parser/whois.afilias-grs.info_test.rb +0 -438
- data/test/whois/answer/parser/whois.afilias.info_test.rb +0 -64
- data/test/whois/answer/parser/whois.ai_test.rb +0 -58
- data/test/whois/answer/parser/whois.arnes.si_test.rb +0 -72
- data/test/whois/answer/parser/whois.audns.net.au_test.rb +0 -70
- data/test/whois/answer/parser/whois.ausregistry.net.au_test.rb +0 -12
- data/test/whois/answer/parser/whois.biz_test.rb +0 -64
- data/test/whois/answer/parser/whois.cat_test.rb +0 -64
- data/test/whois/answer/parser/whois.cctld.uz_test.rb +0 -91
- data/test/whois/answer/parser/whois.cira.ca_test.rb +0 -64
- data/test/whois/answer/parser/whois.cnnic.cn_test.rb +0 -73
- data/test/whois/answer/parser/whois.cnnic.net.cn_test.rb +0 -11
- data/test/whois/answer/parser/whois.crsnic.net_test.rb +0 -186
- data/test/whois/answer/parser/whois.denic.de_test.rb +0 -414
- data/test/whois/answer/parser/whois.dk-hostmaster.dk_test.rb +0 -57
- data/test/whois/answer/parser/whois.dns.be_test.rb +0 -65
- data/test/whois/answer/parser/whois.dns.lu_test.rb +0 -77
- data/test/whois/answer/parser/whois.dns.pt_test.rb +0 -84
- data/test/whois/answer/parser/whois.domain-registry.nl_test.rb +0 -62
- data/test/whois/answer/parser/whois.domainregistry.ie_test.rb +0 -60
- data/test/whois/answer/parser/whois.domreg.lt_test.rb +0 -67
- data/test/whois/answer/parser/whois.dot.tk_test.rb +0 -77
- data/test/whois/answer/parser/whois.dotmobiregistry.net_test.rb +0 -64
- data/test/whois/answer/parser/whois.educause.edu_test.rb +0 -64
- data/test/whois/answer/parser/whois.eenet.ee_test.rb +0 -91
- data/test/whois/answer/parser/whois.eu.org_test.rb +0 -51
- data/test/whois/answer/parser/whois.eu_test.rb +0 -65
- data/test/whois/answer/parser/whois.hkdnr.net.hk_test.rb +0 -77
- data/test/whois/answer/parser/whois.iana.org_test.rb +0 -63
- data/test/whois/answer/parser/whois.in.ua_test.rb +0 -91
- data/test/whois/answer/parser/whois.isnic.is_test.rb +0 -62
- data/test/whois/answer/parser/whois.jprs.jp_test.rb +0 -165
- data/test/whois/answer/parser/whois.meregistry.net_test.rb +0 -64
- data/test/whois/answer/parser/whois.museum_test.rb +0 -64
- data/test/whois/answer/parser/whois.net.ua_test.rb +0 -98
- data/test/whois/answer/parser/whois.nic-se.se_test.rb +0 -71
- data/test/whois/answer/parser/whois.nic.ac_test.rb +0 -126
- data/test/whois/answer/parser/whois.nic.af_test.rb +0 -84
- data/test/whois/answer/parser/whois.nic.ag_test.rb +0 -84
- data/test/whois/answer/parser/whois.nic.am_test.rb +0 -84
- data/test/whois/answer/parser/whois.nic.as_test.rb +0 -63
- data/test/whois/answer/parser/whois.nic.asia_test.rb +0 -69
- data/test/whois/answer/parser/whois.nic.at_test.rb +0 -65
- data/test/whois/answer/parser/whois.nic.cc_test.rb +0 -133
- data/test/whois/answer/parser/whois.nic.cd_test.rb +0 -62
- data/test/whois/answer/parser/whois.nic.ch_test.rb +0 -65
- data/test/whois/answer/parser/whois.nic.co_test.rb +0 -64
- data/test/whois/answer/parser/whois.nic.coop_test.rb +0 -64
- data/test/whois/answer/parser/whois.nic.ec_test.rb +0 -98
- data/test/whois/answer/parser/whois.nic.fr_test.rb +0 -281
- data/test/whois/answer/parser/whois.nic.gl_test.rb +0 -64
- data/test/whois/answer/parser/whois.nic.gov_test.rb +0 -51
- data/test/whois/answer/parser/whois.nic.ht_test.rb +0 -98
- data/test/whois/answer/parser/whois.nic.hu_test.rb +0 -321
- data/test/whois/answer/parser/whois.nic.im_test.rb +0 -60
- data/test/whois/answer/parser/whois.nic.io_test.rb +0 -51
- data/test/whois/answer/parser/whois.nic.it_test.rb +0 -298
- data/test/whois/answer/parser/whois.nic.kz_test.rb +0 -91
- data/test/whois/answer/parser/whois.nic.la_test.rb +0 -98
- data/test/whois/answer/parser/whois.nic.lv_test.rb +0 -65
- data/test/whois/answer/parser/whois.nic.ly_test.rb +0 -64
- data/test/whois/answer/parser/whois.nic.mu_test.rb +0 -123
- data/test/whois/answer/parser/whois.nic.mx_test.rb +0 -84
- data/test/whois/answer/parser/whois.nic.name_test.rb +0 -51
- data/test/whois/answer/parser/whois.nic.net.sa_test.rb +0 -84
- data/test/whois/answer/parser/whois.nic.nu_test.rb +0 -59
- data/test/whois/answer/parser/whois.nic.or.kr_test.rb +0 -64
- data/test/whois/answer/parser/whois.nic.org.uy_test.rb +0 -91
- data/test/whois/answer/parser/whois.nic.sn_test.rb +0 -190
- data/test/whois/answer/parser/whois.nic.st_test.rb +0 -77
- data/test/whois/answer/parser/whois.nic.tel_test.rb +0 -64
- data/test/whois/answer/parser/whois.nic.tl_test.rb +0 -84
- data/test/whois/answer/parser/whois.nic.tr_test.rb +0 -98
- data/test/whois/answer/parser/whois.nic.travel_test.rb +0 -64
- data/test/whois/answer/parser/whois.nic.tv_test.rb +0 -132
- data/test/whois/answer/parser/whois.nic.uk_test.rb +0 -76
- data/test/whois/answer/parser/whois.nic.us_test.rb +0 -64
- data/test/whois/answer/parser/whois.nic.ve_test.rb +0 -91
- data/test/whois/answer/parser/whois.norid.no_test.rb +0 -49
- data/test/whois/answer/parser/whois.pandi.or.id_test.rb +0 -79
- data/test/whois/answer/parser/whois.publicinterestregistry.net_test.rb +0 -284
- data/test/whois/answer/parser/whois.register.bg_test.rb +0 -69
- data/test/whois/answer/parser/whois.registro.br_test.rb +0 -51
- data/test/whois/answer/parser/whois.registry.in_test.rb +0 -69
- data/test/whois/answer/parser/whois.registrypro.pro_test.rb +0 -84
- data/test/whois/answer/parser/whois.ripe.net_test.rb +0 -266
- data/test/whois/answer/parser/whois.ripn.net_test.rb +0 -127
- data/test/whois/answer/parser/whois.rotld.ro_test.rb +0 -63
- data/test/whois/answer/parser/whois.samoanic.ws_test.rb +0 -64
- data/test/whois/answer/parser/whois.srs.net.nz_test.rb +0 -79
- data/test/whois/answer/parser/whois.tonic.to_test.rb +0 -125
- data/test/whois/answer/parser/whois.za.net_test.rb +0 -62
- data/test/whois/answer/parser/whois.za.org_test.rb +0 -62
- data/test/whois/answer/parser_test.rb +0 -219
- data/test/whois/answer/super_struct_test.rb +0 -24
- data/test/whois/answer_test.rb +0 -180
- data/test/whois/client_test.rb +0 -96
- data/test/whois/errors_test.rb +0 -23
- data/test/whois/integration_test.rb +0 -31
- data/test/whois/server/adapters/afilias_test.rb +0 -37
- data/test/whois/server/adapters/base_test.rb +0 -15
- data/test/whois/server/adapters/formatted_test.rb +0 -29
- data/test/whois/server/adapters/none_test.rb +0 -22
- data/test/whois/server/adapters/not_implemented_test.rb +0 -16
- data/test/whois/server/adapters/pir_test.rb +0 -37
- data/test/whois/server/adapters/standard_test.rb +0 -36
- data/test/whois/server/adapters/verisign_test.rb +0 -51
- data/test/whois/server/adapters/web_test.rb +0 -17
- data/test/whois/server_test.rb +0 -105
- data/utils/bm_delegation_vs_inheritance.rb +0 -150
- data/utils/bm_shell_vs_pure.rb +0 -14
data/Rakefile
DELETED
@@ -1,82 +0,0 @@
|
|
1
|
-
require "rubygems"
|
2
|
-
require "rake"
|
3
|
-
require "echoe"
|
4
|
-
begin
|
5
|
-
require "hanna/rdoctask"
|
6
|
-
hanna = false
|
7
|
-
rescue LoadError
|
8
|
-
require "rake/rdoctask"
|
9
|
-
hanna = true
|
10
|
-
end
|
11
|
-
|
12
|
-
module Rake
|
13
|
-
def self.remove_task(task_name)
|
14
|
-
Rake.application.instance_variable_get('@tasks').delete(task_name.to_s)
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
|
-
$:.unshift(File.dirname(__FILE__) + "/lib")
|
19
|
-
require "whois"
|
20
|
-
|
21
|
-
|
22
|
-
# Common package properties
|
23
|
-
PKG_NAME = ENV["PKG_NAME"] || Whois::GEM
|
24
|
-
PKG_VERSION = ENV["PKG_VERSION"] || Whois::VERSION
|
25
|
-
RUBYFORGE_PROJECT = "whois"
|
26
|
-
|
27
|
-
if ENV['SNAPSHOT'].to_i == 1
|
28
|
-
PKG_VERSION << "." << Time.now.utc.strftime("%Y%m%d%H%M%S")
|
29
|
-
end
|
30
|
-
|
31
|
-
|
32
|
-
Echoe.new(PKG_NAME, PKG_VERSION) do |p|
|
33
|
-
p.author = "Simone Carletti"
|
34
|
-
p.email = "weppos@weppos.net"
|
35
|
-
p.summary = "An intelligent pure Ruby WHOIS client and parser."
|
36
|
-
p.url = "http://www.ruby-whois.org"
|
37
|
-
p.project = RUBYFORGE_PROJECT
|
38
|
-
p.description = <<-EOD
|
39
|
-
Whois is an intelligent WHOIS client and parser written in pure Ruby. \
|
40
|
-
It can query registry data for IPv4, IPv6 and top level domains, \
|
41
|
-
parse and convert responses into easy-to-use Ruby objects.
|
42
|
-
EOD
|
43
|
-
|
44
|
-
p.need_zip = true
|
45
|
-
|
46
|
-
p.development_dependencies += ["rake 0.8.7",
|
47
|
-
"echoe 4.3",
|
48
|
-
"mocha 0.9.8"]
|
49
|
-
|
50
|
-
p.rdoc_options = []
|
51
|
-
p.rdoc_options << "--inline-source"
|
52
|
-
p.rdoc_options << "-T hanna" if hanna
|
53
|
-
p.rcov_options = ["-Itest -x mocha,rcov,Rakefile"]
|
54
|
-
end
|
55
|
-
|
56
|
-
|
57
|
-
desc "Open an irb session preloaded with this library"
|
58
|
-
task :console do
|
59
|
-
sh "irb -rubygems -I lib -r whois.rb"
|
60
|
-
end
|
61
|
-
|
62
|
-
begin
|
63
|
-
require "code_statistics"
|
64
|
-
desc "Show library's code statistics"
|
65
|
-
task :stats do
|
66
|
-
CodeStatistics.new(["Whois", "lib"],
|
67
|
-
["Tests", "test"]).to_s
|
68
|
-
end
|
69
|
-
rescue LoadError
|
70
|
-
puts "CodeStatistics (Rails) is not available"
|
71
|
-
end
|
72
|
-
|
73
|
-
Rake.remove_task(:publish_docs)
|
74
|
-
desc "Publish documentation to the site"
|
75
|
-
task :publish_docs => [:clean, :docs] do
|
76
|
-
sh "rsync -avz --delete doc/ weppos@dads:/home/weppos/ruby-whois.org/api"
|
77
|
-
end
|
78
|
-
|
79
|
-
|
80
|
-
Dir["tasks/**/*.rake"].each do |file|
|
81
|
-
load(file)
|
82
|
-
end
|
data/data/ip6_del_list
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
# http://www.iana.org/assignments/ipv6-unicast-address-assignments
|
2
|
-
# The parser is very simple-minded and wants the two first components of
|
3
|
-
# addresses. It does not deal with networks == 0 or > 24 bit.
|
4
|
-
|
5
|
-
2001:0000::/32 teredo
|
6
|
-
2001:0200::/23 apnic
|
7
|
-
2001:0400::/23 arin
|
8
|
-
2001:0600::/23 ripe
|
9
|
-
2001:0800::/22 ripe
|
10
|
-
2001:0C00::/22 apnic
|
11
|
-
# contains 2001:1000::/23, not allocated
|
12
|
-
2001:1000::/22 lacnic
|
13
|
-
2001:1400::/22 ripe
|
14
|
-
2001:1800::/23 arin
|
15
|
-
2001:1A00::/23 ripe
|
16
|
-
2001:1C00::/22 ripe
|
17
|
-
# contains 2001:3C00::/22, reserved for RIPE but not allocated
|
18
|
-
2001:2000::/19 ripe
|
19
|
-
2001:4000::/23 ripe
|
20
|
-
2001:4200::/23 afrinic
|
21
|
-
2001:4400::/23 apnic
|
22
|
-
2001:4600::/23 ripe
|
23
|
-
2001:4800::/23 arin
|
24
|
-
2001:4A00::/23 ripe
|
25
|
-
# contains 2001:4E00::/23, not allocated
|
26
|
-
2001:4C00::/22 ripe
|
27
|
-
|
28
|
-
2001:5000::/20 ripe
|
29
|
-
|
30
|
-
2001:8000::/18 apnic
|
31
|
-
|
32
|
-
# 6to4 is special-cased
|
33
|
-
2002:0000::/16 6to4
|
34
|
-
|
35
|
-
2003:0000::/18 ripe
|
36
|
-
|
37
|
-
2400:0000::/20 whois.nic.or.kr
|
38
|
-
2400:0000::/12 apnic
|
39
|
-
2600:0000::/12 arin
|
40
|
-
2610:0000::/23 arin
|
41
|
-
2620:0000::/23 arin
|
42
|
-
2800:0000::/12 lacnic
|
43
|
-
2A00:0000::/12 ripe
|
44
|
-
2C00:0000::/12 afrinic
|
45
|
-
|
46
|
-
3FFE:0000::/16 6bone
|
47
|
-
|
data/data/ip_del_list
DELETED
@@ -1,245 +0,0 @@
|
|
1
|
-
# WARNING! Netblocks 128.0.0.0/2, 192.0.0.0/8, 196.0.0.0/8 and 198.0.0.0/8
|
2
|
-
# contain historical allocations now scattered among all the RIRs.
|
3
|
-
# Do not even try submitting such networks for inclusion in this list
|
4
|
-
# unless they are very big and contains multiple assignments to different
|
5
|
-
# customers documented in the whois database.
|
6
|
-
#
|
7
|
-
# http://www.iana.org/assignments/ipv4-address-space
|
8
|
-
#
|
9
|
-
1.0.0.0/8 apnic
|
10
|
-
2.0.0.0/8 ripe
|
11
|
-
14.0.0.0/8 apnic
|
12
|
-
24.132.0.0/14 ripe
|
13
|
-
27.0.0.0/8 apnic
|
14
|
-
31.0.0.0/8 ripe
|
15
|
-
41.0.0.0/8 afrinic
|
16
|
-
43.0.0.0/8 v6nic
|
17
|
-
46.0.0.0/8 ripe
|
18
|
-
51.0.0.0/8 ripe
|
19
|
-
# whois -r -K -h whois.apnic.net -i admin-c IM76-AP
|
20
|
-
59.0.0.0/11 whois.nic.or.kr
|
21
|
-
58.0.0.0/7 apnic
|
22
|
-
61.72.0.0/13 whois.nic.or.kr
|
23
|
-
61.80.0.0/14 whois.nic.or.kr
|
24
|
-
61.84.0.0/15 whois.nic.or.kr
|
25
|
-
61.112.0.0/12 whois.nic.ad.jp
|
26
|
-
61.192.0.0/12 whois.nic.ad.jp # => 61.207.255.255
|
27
|
-
61.208.0.0/13 whois.nic.ad.jp # => 61.215.255.255
|
28
|
-
60.0.0.0/7 apnic
|
29
|
-
62.0.0.0/8 ripe
|
30
|
-
77.0.0.0/8 ripe
|
31
|
-
78.0.0.0/7 ripe
|
32
|
-
80.0.0.0/4 ripe # => 95.255.255.255
|
33
|
-
96.0.0.0/6 arin # => 99.255.255.255
|
34
|
-
107.0.0.0/8 arin
|
35
|
-
108.0.0.0/8 arin
|
36
|
-
109.0.0.0/8 ripe
|
37
|
-
110.0.0.0/7 apnic
|
38
|
-
96.0.0.0/4 UNALLOCATED # => 112.215.255.255
|
39
|
-
112.160.0.0/11 whois.nic.or.kr
|
40
|
-
115.0.0.0/12 whois.nic.or.kr
|
41
|
-
115.16.0.0/13 whois.nic.or.kr
|
42
|
-
118.32.0.0/11 whois.nic.or.kr
|
43
|
-
119.192.0.0/11 whois.nic.or.kr
|
44
|
-
112.0.0.0/5 apnic
|
45
|
-
121.128.0.0/10 whois.nic.or.kr
|
46
|
-
125.128.0.0/11 whois.nic.or.kr
|
47
|
-
120.0.0.0/6 apnic
|
48
|
-
124.0.0.0/7 apnic
|
49
|
-
126.0.0.0/8 apnic
|
50
|
-
0.0.0.0/1 arin # all other A class addresses are managed by ARIN
|
51
|
-
133.0.0.0/8 whois.nic.ad.jp
|
52
|
-
139.20.0.0/14 ripe
|
53
|
-
139.24.0.0/14 ripe
|
54
|
-
139.28.0.0/15 ripe
|
55
|
-
141.0.0.0/10 ripe
|
56
|
-
141.86.0.0/16 arin
|
57
|
-
141.64.0.0/11 ripe
|
58
|
-
141.96.0.0/14 ripe
|
59
|
-
141.100.0.0/16 ripe
|
60
|
-
145.0.0.0/8 ripe
|
61
|
-
146.48.0.0/16 ripe
|
62
|
-
149.202.0.0/15 ripe
|
63
|
-
149.204.0.0/16 ripe
|
64
|
-
149.206.0.0/15 ripe
|
65
|
-
149.208.0.0/12 ripe
|
66
|
-
149.224.0.0/12 ripe
|
67
|
-
149.240.0.0/13 ripe
|
68
|
-
149.248.0.0/14 ripe
|
69
|
-
150.183.0.0/16 whois.nic.or.kr
|
70
|
-
150.254.0.0/16 ripe
|
71
|
-
150.0.0.0/8 apnic
|
72
|
-
151.0.0.0/10 ripe
|
73
|
-
151.64.0.0/11 ripe
|
74
|
-
151.96.0.0/14 ripe
|
75
|
-
151.100.0.0/16 ripe
|
76
|
-
#153.0.0.0/8 apnic
|
77
|
-
154.0.0.0/8 afrinic
|
78
|
-
155.232.0.0/13 afrinic
|
79
|
-
155.240.0.0/16 afrinic
|
80
|
-
160.216.0.0/14 ripe
|
81
|
-
160.220.0.0/16 ripe
|
82
|
-
160.44.0.0/14 ripe
|
83
|
-
160.48.0.0/12 ripe
|
84
|
-
160.115.0.0/16 afrinic
|
85
|
-
160.116.0.0/14 afrinic
|
86
|
-
160.120.0.0/14 afrinic
|
87
|
-
160.124.0.0/16 afrinic
|
88
|
-
163.156.0.0/14 ripe
|
89
|
-
163.160.0.0/12 ripe
|
90
|
-
163.195.0.0/16 afrinic
|
91
|
-
163.196.0.0/14 afrinic
|
92
|
-
163.200.0.0/14 afrinic
|
93
|
-
#163.0.0.0/8 apnic
|
94
|
-
164.0.0.0/11 ripe
|
95
|
-
164.32.0.0/13 ripe
|
96
|
-
164.40.0.0/16 ripe
|
97
|
-
164.128.0.0/12 ripe
|
98
|
-
164.146.0.0/15 afrinic
|
99
|
-
164.148.0.0/14 afrinic
|
100
|
-
165.143.0.0/16 afrinic
|
101
|
-
165.144.0.0/14 afrinic
|
102
|
-
165.148.0.0/15 afrinic
|
103
|
-
169.208.0.0/12 apnic
|
104
|
-
171.16.0.0/12 ripe
|
105
|
-
171.32.0.0/15 ripe
|
106
|
-
#171.0.0.0/8 apnic
|
107
|
-
175.192.0.0/10 whois.nic.or.kr
|
108
|
-
175.0.0.0/8 apnic
|
109
|
-
176.0.0.0/8 ripe
|
110
|
-
177.0.0.0/8 lacnic
|
111
|
-
178.0.0.0/8 ripe
|
112
|
-
180.0.0.0/8 apnic
|
113
|
-
181.0.0.0/8 lacnic
|
114
|
-
183.96.0.0/11 whois.nic.or.kr
|
115
|
-
182.0.0.0/7 apnic
|
116
|
-
186.0.0.0/7 lacnic
|
117
|
-
188.0.0.0/8 ripe # transferred from ARIN to to RIPE
|
118
|
-
189.0.0.0/8 lacnic
|
119
|
-
190.0.0.0/7 lacnic
|
120
|
-
## All other B class addresses are supposed to be allocated by ARIN
|
121
|
-
## We know that many of them are not, but they can't all be listed here
|
122
|
-
128.0.0.0/2 arin
|
123
|
-
|
124
|
-
## The C classes space is cleanly delegated and the data here should be complete
|
125
|
-
192.71.0.0/16 ripe
|
126
|
-
192.72.253.0/24 arin
|
127
|
-
192.72.254.0/24 arin # how annoying...
|
128
|
-
192.72.0.0/16 apnic
|
129
|
-
192.106.0.0/16 ripe
|
130
|
-
192.114.0.0/15 ripe
|
131
|
-
192.116.0.0/15 ripe
|
132
|
-
192.118.0.0/16 ripe
|
133
|
-
192.162.0.0/16 ripe
|
134
|
-
192.164.0.0/14 ripe
|
135
|
-
192.0.0.0/8 arin # the swamp
|
136
|
-
193.0.0.0/8 ripe
|
137
|
-
194.0.0.0/7 ripe
|
138
|
-
196.0.0.0/7 afrinic
|
139
|
-
198.0.0.0/7 arin
|
140
|
-
|
141
|
-
200.17.0.0/16 whois.nic.br
|
142
|
-
200.18.0.0/15 whois.nic.br
|
143
|
-
200.20.0.0/16 whois.nic.br
|
144
|
-
200.96.0.0/13 whois.nic.br
|
145
|
-
200.128.0.0/9 whois.nic.br
|
146
|
-
200.0.0.0/7 lacnic
|
147
|
-
202.11.0.0/16 whois.nic.ad.jp
|
148
|
-
202.13.0.0/16 whois.nic.ad.jp
|
149
|
-
202.15.0.0/16 whois.nic.ad.jp
|
150
|
-
202.16.0.0/14 whois.nic.ad.jp
|
151
|
-
202.20.128.0/17 whois.nic.or.kr
|
152
|
-
202.23.0.0/16 whois.nic.ad.jp
|
153
|
-
202.24.0.0/15 whois.nic.ad.jp
|
154
|
-
202.26.0.0/16 whois.nic.ad.jp
|
155
|
-
202.30.0.0/15 whois.nic.or.kr
|
156
|
-
202.32.0.0/14 whois.nic.ad.jp
|
157
|
-
202.48.0.0/16 whois.nic.ad.jp
|
158
|
-
202.39.128.0/17 twnic
|
159
|
-
202.208.0.0/12 whois.nic.ad.jp
|
160
|
-
202.224.0.0/11 whois.nic.ad.jp # => 202.255.255.255
|
161
|
-
203.0.0.0/10 apnic
|
162
|
-
203.66.0.0/16 twnic
|
163
|
-
203.69.0.0/16 twnic
|
164
|
-
203.74.0.0/15 twnic
|
165
|
-
203.136.0.0/14 whois.nic.ad.jp
|
166
|
-
203.140.0.0/15 whois.nic.ad.jp
|
167
|
-
203.178.0.0/15 whois.nic.ad.jp
|
168
|
-
203.180.0.0/14 whois.nic.ad.jp
|
169
|
-
203.224.0.0/11 whois.nic.or.kr # => 203.255.255.255
|
170
|
-
202.0.0.0/7 apnic
|
171
|
-
204.0.0.0/14 rwhois.gin.ntt.net # rwhois too
|
172
|
-
204.0.0.0/6 arin
|
173
|
-
208.0.0.0/7 arin
|
174
|
-
209.94.192.0/19 lacnic
|
175
|
-
210.59.128.0/17 twnic
|
176
|
-
210.61.0.0/16 twnic
|
177
|
-
210.62.252.0/22 twnic
|
178
|
-
210.65.0.0/16 twnic
|
179
|
-
210.71.128.0/16 twnic
|
180
|
-
210.90.0.0/15 whois.nic.or.kr
|
181
|
-
210.92.0.0/14 whois.nic.or.kr
|
182
|
-
210.96.0.0/11 whois.nic.or.kr # => 210.127.255.255
|
183
|
-
210.128.0.0/11 whois.nic.ad.jp
|
184
|
-
210.160.0.0/12 whois.nic.ad.jp
|
185
|
-
210.178.0.0/15 whois.nic.or.kr
|
186
|
-
210.180.0.0/14 whois.nic.or.kr
|
187
|
-
210.188.0.0/14 whois.nic.ad.jp
|
188
|
-
210.196.0.0/14 whois.nic.ad.jp
|
189
|
-
210.204.0.0/14 whois.nic.or.kr
|
190
|
-
210.216.0.0/13 whois.nic.or.kr # => 210.223.255.255
|
191
|
-
210.224.0.0/12 whois.nic.ad.jp # => 210.239.255.255
|
192
|
-
# some more TWNIC blocks are scattered here
|
193
|
-
210.240.0.0/16 twnic
|
194
|
-
210.241.0.0/15 twnic
|
195
|
-
210.241.224.0/19 twnic
|
196
|
-
210.242.0.0/15 twnic
|
197
|
-
210.248.0.0/13 whois.nic.ad.jp
|
198
|
-
211.0.0.0/12 whois.nic.ad.jp
|
199
|
-
211.16.0.0/14 whois.nic.ad.jp
|
200
|
-
211.20.0.0/15 twnic
|
201
|
-
211.22.0.0/16 twnic
|
202
|
-
211.32.0.0/11 whois.nic.or.kr # => 211.63.255.255
|
203
|
-
211.75.0.0/16 twnic
|
204
|
-
211.72.0.0/16 twnic
|
205
|
-
211.104.0.0/13 whois.nic.or.kr
|
206
|
-
211.112.0.0/13 whois.nic.or.kr # => 211.119.255.255
|
207
|
-
211.120.0.0/13 whois.nic.ad.jp
|
208
|
-
211.128.0.0/13 whois.nic.ad.jp
|
209
|
-
211.168.0.0/13 whois.nic.or.kr
|
210
|
-
211.176.0.0/12 whois.nic.or.kr
|
211
|
-
211.192.0.0/10 whois.nic.or.kr # => 211.255.255.255
|
212
|
-
210.0.0.0/7 apnic
|
213
|
-
213.154.32.0/19 afrinic
|
214
|
-
213.154.64.0/19 afrinic
|
215
|
-
212.0.0.0/7 ripe
|
216
|
-
214.0.0.0/7 arin # DoD
|
217
|
-
216.0.0.0/8 arin
|
218
|
-
217.0.0.0/8 ripe
|
219
|
-
218.36.0.0/14 whois.nic.or.kr
|
220
|
-
218.40.0.0/13 whois.nic.ad.jp
|
221
|
-
218.48.0.0/13 whois.nic.or.kr
|
222
|
-
219.96.0.0/11 whois.nic.ad.jp
|
223
|
-
218.144.0.0/12 whois.nic.or.kr
|
224
|
-
218.160.0.0/12 twnic
|
225
|
-
218.216.0.0/13 whois.nic.ad.jp
|
226
|
-
218.224.0.0/13 whois.nic.ad.jp
|
227
|
-
218.232.0.0/13 whois.nic.or.kr
|
228
|
-
219.240.0.0/15 whois.nic.or.kr
|
229
|
-
219.248.0.0/13 whois.nic.or.kr
|
230
|
-
218.0.0.0/7 apnic
|
231
|
-
220.64.0.0/11 whois.nic.or.kr
|
232
|
-
220.96.0.0/14 whois.nic.ad.jp
|
233
|
-
220.103.0.0/16 whois.nic.or.kr
|
234
|
-
220.104.0.0/13 whois.nic.ad.jp
|
235
|
-
220.149.0.0/16 whois.nic.or.kr
|
236
|
-
221.138.0.0/13 whois.nic.or.kr
|
237
|
-
221.144.0.0/12 whois.nic.or.kr
|
238
|
-
221.160.0.0/13 whois.nic.or.kr
|
239
|
-
222.96.0.0/12 whois.nic.or.kr
|
240
|
-
222.112.0.0/13 whois.nic.or.kr
|
241
|
-
222.120.0.0/15 whois.nic.or.kr
|
242
|
-
222.122.0.0/16 whois.nic.or.kr
|
243
|
-
222.232.0.0/13 whois.nic.or.kr
|
244
|
-
220.0.0.0/6 apnic
|
245
|
-
# that's all... here starts the multicast space
|
data/data/make_ip6_del.pl
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
#!/usr/bin/perl -w
|
2
|
-
|
3
|
-
use strict;
|
4
|
-
|
5
|
-
while (<>) {
|
6
|
-
chomp;
|
7
|
-
s/^\s*(.*)\s*$/$1/;
|
8
|
-
s/\s*#.*$//;
|
9
|
-
next if /^$/;
|
10
|
-
|
11
|
-
die "invalid line:\n$_\n"
|
12
|
-
if not m#^([\da-fA-F]{4}):([\da-fA-F]{1,4})::/(\d+)\s+([\w\.]+)$#;
|
13
|
-
my $len = $3; my $s = $4;
|
14
|
-
my $i1 = $1; my $i2 = $2;
|
15
|
-
my $net = (hex($i1) << 16) + hex $i2;
|
16
|
-
|
17
|
-
if (0) { # just some code to help me visually aggregate networks
|
18
|
-
my $bs = unpack('B32', pack('N', $net));
|
19
|
-
$bs =~ s/(.{8})/$1 /g;
|
20
|
-
print "${i1}:${i2}::/$len\t$bs $s\n";
|
21
|
-
next;
|
22
|
-
}
|
23
|
-
|
24
|
-
print qq|{ ${net}UL, $len, "|;
|
25
|
-
if ($s =~ /\./) {
|
26
|
-
print $s;
|
27
|
-
} elsif ($s eq '6to4') {
|
28
|
-
print "\\x0A";
|
29
|
-
} elsif ($s eq 'teredo') {
|
30
|
-
print "\\x0B";
|
31
|
-
} elsif ($s eq 'UNALLOCATED') {
|
32
|
-
print "\\006";
|
33
|
-
} else {
|
34
|
-
print $s =~ /\./ ? $s : "whois.$s.net";
|
35
|
-
}
|
36
|
-
print qq|" },\n|;
|
37
|
-
}
|
38
|
-
|
data/data/make_ip_del.pl
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
#!/usr/bin/perl -w
|
2
|
-
|
3
|
-
use strict;
|
4
|
-
|
5
|
-
while (<>) {
|
6
|
-
chomp;
|
7
|
-
s/^\s*(.*)\s*$/$1/;
|
8
|
-
s/\s*#.*$//;
|
9
|
-
next if /^$/;
|
10
|
-
|
11
|
-
die "format error: $_" if not /^([\d\.]+)\/(\d+)\s+([\w\.]+)$/;
|
12
|
-
my $m = $2; my $s = $3;
|
13
|
-
my ($i1, $i2, $i3, $i4) = split(/\./, $1);
|
14
|
-
print '{ ' . (($i1 << 24) + ($i2 << 16) + ($i3 << 8) + $i4) . 'UL, '.
|
15
|
-
((~(0xffffffff >> $m)) & 0xffffffff) . 'UL, "';
|
16
|
-
if ($s =~ /\./) {
|
17
|
-
print $s;
|
18
|
-
} elsif ($s eq 'UNALLOCATED') {
|
19
|
-
print "\\006";
|
20
|
-
} else {
|
21
|
-
print "whois.$s.net";
|
22
|
-
}
|
23
|
-
print '" },' . "\n";
|
24
|
-
}
|
25
|
-
|
@@ -1,21 +0,0 @@
|
|
1
|
-
#!/usr/bin/perl
|
2
|
-
|
3
|
-
use warnings;
|
4
|
-
use strict;
|
5
|
-
|
6
|
-
while (<>) {
|
7
|
-
chomp;
|
8
|
-
s/#.*$//;
|
9
|
-
s/^\s+//; s/\s+$//;
|
10
|
-
next if /^$/;
|
11
|
-
|
12
|
-
die "format error: $_" unless
|
13
|
-
(my ($a, $b, $c) = /^([a-z0-9.-]+)\s+([a-z0-9-]+)(?:\s+(.+))?$/);
|
14
|
-
|
15
|
-
if ($c) {
|
16
|
-
print qq( { "$a",\t"$b",\t"$c" },\n);
|
17
|
-
} else {
|
18
|
-
print qq( { "$a",\t"$b",\tNULL },\n);
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|