mirror of
https://github.com/rfc1036/whois.git
synced 2026-08-01 07:20:13 +00:00
Imported Debian version 4.7.22
This commit is contained in:
parent
1e6c14f7fa
commit
b62995f670
@ -58,7 +58,7 @@
|
||||
36864 37887 afrinic
|
||||
37888 38911 apnic
|
||||
38912 39935 ripe
|
||||
40960 41983 ripe
|
||||
40960 44031 ripe
|
||||
|
||||
# catch all: everything else comes from ARIN
|
||||
1 40959 arin
|
||||
|
||||
2
config.h
2
config.h
@ -1,6 +1,6 @@
|
||||
/* Program version */
|
||||
/* not for the inetutils version */
|
||||
#define VERSION "4.7.21"
|
||||
#define VERSION "4.7.22"
|
||||
|
||||
/* Configurable features */
|
||||
|
||||
|
||||
12
debian/changelog
vendored
12
debian/changelog
vendored
@ -1,3 +1,15 @@
|
||||
whois (4.7.22) unstable; urgency=medium
|
||||
|
||||
* Added new IPv4 allocations.
|
||||
* Added new ASN allocations.
|
||||
* Updated the Polish translation.
|
||||
* Updated the .jobs, .ai and .tn TLD and za.net servers.
|
||||
* Added the za.net server. (Closes: #423549)
|
||||
* Stop misparsing <as-set>:<hierarchical-name> as an IPv6 address.
|
||||
* Stop mangling IDN queries with in-query flags. (Closes: #422895)
|
||||
|
||||
-- Marco d'Itri <md@linux.it> Sat, 28 Jul 2007 23:53:00 +0200
|
||||
|
||||
whois (4.7.21) unstable; urgency=medium
|
||||
|
||||
* Improved myinet_aton to not parse addresses with trailing junk
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
2003:0000::/18 ripe
|
||||
|
||||
2400:0000::/20 kornet
|
||||
2400:0000::/20 whois.nic.or.kr
|
||||
2400:0000::/12 apnic
|
||||
2600:0000::/12 arin
|
||||
2610:0000::/23 arin
|
||||
|
||||
@ -22,18 +22,16 @@
|
||||
62.0.0.0/8 ripe
|
||||
77.0.0.0/8 ripe
|
||||
78.0.0.0/7 ripe
|
||||
80.0.0.0/5 ripe # => 87.255.255.255
|
||||
88.0.0.0/6 ripe # => 91.255.255.254
|
||||
92.0.0.0/7 ripe
|
||||
80.0.0.0/4 ripe # => 95.255.255.255
|
||||
96.0.0.0/6 arin
|
||||
116.0.0.0/6 apnic
|
||||
121.128.0.0/10 whois.nic.or.kr
|
||||
125.128.0.0/11 whois.nic.or.kr
|
||||
120.0.0.0/6 apnic
|
||||
124.0.0.0/7 apnic
|
||||
126.0.0.0/8 apnic
|
||||
96.0.0.0/6 arin
|
||||
96.0.0.0/3 UNALLOCATED # => 127.215.255.255
|
||||
0.0.0.0/1 arin # all other A classes are managed by ARIN
|
||||
0.0.0.0/1 arin # all other A class addresses are managed by ARIN
|
||||
133.0.0.0/8 whois.nic.ad.jp
|
||||
139.20.0.0/14 ripe
|
||||
139.24.0.0/14 ripe
|
||||
|
||||
59
po/pl.po
59
po/pl.po
@ -1,21 +1,21 @@
|
||||
# Polish translation for whois.
|
||||
# Micha³ 'CeFeK' Nazarewicz <cefek@career.pl>, 1999
|
||||
# Przemys³aw Knycz <djrzulf@pld.org.pl>, 2003
|
||||
# Jakub Bogusz <qboosh@pld-linux.org>, 2003-2004
|
||||
# Jakub Bogusz <qboosh@pld-linux.org>, 2003-2007
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: whois 4.6.24\n"
|
||||
"Project-Id-Version: whois 4.7.21\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2006-07-15 19:18+0200\n"
|
||||
"PO-Revision-Date: 2004-11-28 15:09+0100\n"
|
||||
"POT-Creation-Date: 2007-04-07 14:31+0200\n"
|
||||
"PO-Revision-Date: 2007-04-07 14:32+0200\n"
|
||||
"Last-Translator: Jakub Bogusz <qboosh@pld-linux.org>\n"
|
||||
"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=iso-8859-2\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: ../whois.c:114
|
||||
#: ../whois.c:117
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Version %s.\n"
|
||||
@ -26,42 +26,42 @@ msgstr ""
|
||||
"\n"
|
||||
"B³êdy proszê zg³aszaæ na adres %s.\n"
|
||||
|
||||
#: ../whois.c:164 ../whois.c:257
|
||||
#: ../whois.c:167 ../whois.c:266
|
||||
#, c-format
|
||||
msgid "Using server %s.\n"
|
||||
msgstr "U¿ycie serwera %s.\n"
|
||||
|
||||
#: ../whois.c:206
|
||||
#: ../whois.c:209
|
||||
msgid "This TLD has no whois server, but you can access the whois database at"
|
||||
msgstr ""
|
||||
"Ta g³ówna domena nie ma serwera whois, ale mo¿na u¿yæ bazy danych whois pod"
|
||||
|
||||
#: ../whois.c:214
|
||||
#: ../whois.c:217
|
||||
msgid "This TLD has no whois server."
|
||||
msgstr "Ta g³ówna domena nie ma serwera whois."
|
||||
|
||||
#: ../whois.c:217
|
||||
#: ../whois.c:220
|
||||
msgid "No whois server is known for this kind of object."
|
||||
msgstr "Dla tego rodzaju obiektu nie jest znany ¿aden serwer whois."
|
||||
|
||||
#: ../whois.c:220
|
||||
#: ../whois.c:223
|
||||
msgid "Unknown AS number or IP network. Please upgrade this program."
|
||||
msgstr "Nieznany numer AS lub sieæ IP. Proszê uaktualniæ ten program."
|
||||
|
||||
#: ../whois.c:224
|
||||
#: ../whois.c:227
|
||||
msgid "Connecting to whois.crsnic.net."
|
||||
msgstr "£±czenie z whois.crsnic.net."
|
||||
|
||||
#: ../whois.c:230
|
||||
#: ../whois.c:233
|
||||
msgid "Connecting to whois.publicinterestregistry.net."
|
||||
msgstr "£±czenie z whois.publicinterestregistry.net."
|
||||
|
||||
#: ../whois.c:236
|
||||
#: ../whois.c:239
|
||||
msgid "Connecting to whois.nic.cc."
|
||||
msgstr "£±czenie z whois.nic.cc."
|
||||
|
||||
#. XXX should fail if p = 0.0.0.0
|
||||
#: ../whois.c:243
|
||||
#: ../whois.c:246
|
||||
#, c-format
|
||||
msgid ""
|
||||
"\n"
|
||||
@ -72,7 +72,18 @@ msgstr ""
|
||||
"Pytanie o zakoñczenie IPv4 %s adresu IPv6 typu 6to4.\n"
|
||||
"\n"
|
||||
|
||||
#: ../whois.c:258
|
||||
#: ../whois.c:253
|
||||
#, c-format
|
||||
msgid ""
|
||||
"\n"
|
||||
"Querying for the IPv4 endpoint %s of a Teredo IPv6 address.\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Pytanie o zakoñczenie IPv4 %s adresu IPv6 Teredo.\n"
|
||||
"\n"
|
||||
|
||||
#: ../whois.c:267
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Query string: \"%s\"\n"
|
||||
@ -81,7 +92,7 @@ msgstr ""
|
||||
"Zapytanie: \"%s\"\n"
|
||||
"\n"
|
||||
|
||||
#: ../whois.c:268
|
||||
#: ../whois.c:277
|
||||
#, c-format
|
||||
msgid ""
|
||||
"\n"
|
||||
@ -94,16 +105,16 @@ msgstr ""
|
||||
"Znaleziono odniesienie do %s.\n"
|
||||
"\n"
|
||||
|
||||
#: ../whois.c:311 ../whois.c:314
|
||||
#: ../whois.c:320 ../whois.c:323
|
||||
#, c-format
|
||||
msgid "Cannot parse this line: %s"
|
||||
msgstr "Nie mo¿na przeanalizowaæ tej linii: %s"
|
||||
|
||||
#: ../whois.c:451
|
||||
#: ../whois.c:460
|
||||
msgid "Warning: RIPE flags used with a traditional server."
|
||||
msgstr "Uwaga: u¿yto flag RIPE ze starszym serwerem."
|
||||
|
||||
#: ../whois.c:586
|
||||
#: ../whois.c:598
|
||||
msgid ""
|
||||
"Catastrophic error: disclaimer text has been changed.\n"
|
||||
"Please upgrade this program.\n"
|
||||
@ -111,26 +122,26 @@ msgstr ""
|
||||
"Katastrofa! Tekst o¶wiadczenia zosta³ zmieniony.\n"
|
||||
"Proszê uaktualniæ ten program.\n"
|
||||
|
||||
#: ../whois.c:713
|
||||
#: ../whois.c:725
|
||||
#, c-format
|
||||
msgid "Host %s not found."
|
||||
msgstr "Serwer %s nie zosta³ znaleziony."
|
||||
|
||||
#: ../whois.c:723
|
||||
#: ../whois.c:735
|
||||
#, c-format
|
||||
msgid "%s/tcp: unknown service"
|
||||
msgstr "%s/tcp: us³uga nieznana"
|
||||
|
||||
#: ../whois.c:742
|
||||
#: ../whois.c:754
|
||||
msgid "Timeout."
|
||||
msgstr "Up³yn±³ limit czasu."
|
||||
|
||||
#: ../whois.c:748
|
||||
#: ../whois.c:760
|
||||
#, c-format
|
||||
msgid "Interrupted by signal %d..."
|
||||
msgstr "Przerwano sygna³em %d..."
|
||||
|
||||
#: ../whois.c:860
|
||||
#: ../whois.c:888
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Usage: whois [OPTION]... OBJECT...\n"
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
.uk.net whois.centralnic.net
|
||||
.us.com whois.centralnic.net
|
||||
.uy.com whois.centralnic.net
|
||||
.za.net whois.centralnic.net
|
||||
.za.com whois.centralnic.net
|
||||
.jpn.com whois.centralnic.net
|
||||
.web.com whois.centralnic.net
|
||||
@ -36,7 +37,7 @@ e164.arpa whois.ripe.net
|
||||
.cat whois.cat
|
||||
.coop whois.nic.coop
|
||||
.info whois.afilias.info
|
||||
.jobs whois.jobs
|
||||
.jobs jobswhois.verisign-grs.com
|
||||
.mobi whois.dotmobiregistry.net
|
||||
.museum whois.museum
|
||||
.name whois.nic.name
|
||||
@ -47,7 +48,7 @@ e164.arpa whois.ripe.net
|
||||
.ae whois.uaenic.ae
|
||||
.af whois.nic.af
|
||||
.ag whois.nic.ag
|
||||
.ai WEB http://whois.offshore.ai/
|
||||
.ai whois.ai
|
||||
.al NONE # http://www.inima.al/Domains.html
|
||||
.am whois.nic.am
|
||||
.an NONE # http://www.una.net/an_domreg/
|
||||
|
||||
54
whois.c
54
whois.c
@ -1,4 +1,4 @@
|
||||
/* Copyright 1999-2003 by Marco d'Itri <md@linux.it>.
|
||||
/* Copyright 1999-2007 by Marco d'Itri <md@linux.it>.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
@ -363,9 +363,13 @@ const char *whichwhois(const char *s)
|
||||
if ((colon = strchr(s, ':'))) {
|
||||
unsigned long v6prefix, v6net;
|
||||
|
||||
/* RPSL hierarchical objects like AS8627:fltr-TRANSIT-OUT */
|
||||
if (strncasecmp(s, "as", 2) == 0 && isasciidigit(s[2]))
|
||||
return whereas(atoi(s + 2));
|
||||
/* RPSL hierarchical objects */
|
||||
if (strncasecmp(s, "as", 2) == 0) {
|
||||
if (isasciidigit(s[2]))
|
||||
return whereas(atoi(s + 2));
|
||||
else
|
||||
return "";
|
||||
}
|
||||
|
||||
v6prefix = strtol(s, NULL, 16);
|
||||
|
||||
@ -778,23 +782,49 @@ int domcmp(const char *dom, const char *tld)
|
||||
char *normalize_domain(const char *dom)
|
||||
{
|
||||
char *p, *ret;
|
||||
char *domain_start = NULL;
|
||||
|
||||
ret = strdup(dom);
|
||||
for (p = ret; *p; p++); p--; /* move to the last char */
|
||||
for (; *p == '.' || p == ret; p--) /* eat trailing dots */
|
||||
/* eat trailing dots and blanks */
|
||||
for (; *p == '.' || *p == ' ' || *p == '\t' || p == ret; p--)
|
||||
*p = '\0';
|
||||
|
||||
#ifdef HAVE_LIBIDN
|
||||
if (idna_to_ascii_lz(ret, &p, 0) != IDNA_SUCCESS) {
|
||||
/* find the start of the last word if there are spaces in the query */
|
||||
for (p = ret; *p; p++)
|
||||
if (*p == ' ')
|
||||
domain_start = p + 1;
|
||||
|
||||
if (domain_start) {
|
||||
char *q, *r;
|
||||
int prefix_len;
|
||||
|
||||
if (idna_to_ascii_lz(domain_start, &q, 0) != IDNA_SUCCESS)
|
||||
return ret;
|
||||
|
||||
/* reassemble the original query in a new buffer */
|
||||
prefix_len = domain_start - ret;
|
||||
r = malloc(prefix_len + strlen(q) + 1);
|
||||
strncpy(r, ret, prefix_len);
|
||||
r[prefix_len] = '\0';
|
||||
strcat(r, q);
|
||||
|
||||
free(q);
|
||||
free(ret);
|
||||
return ret;
|
||||
return r;
|
||||
} else {
|
||||
char *q;
|
||||
|
||||
if (idna_to_ascii_lz(ret, &q, 0) != IDNA_SUCCESS)
|
||||
return ret;
|
||||
|
||||
free(ret);
|
||||
return q;
|
||||
}
|
||||
|
||||
free(ret);
|
||||
ret = p;
|
||||
#endif
|
||||
|
||||
#else
|
||||
return ret;
|
||||
#endif
|
||||
}
|
||||
|
||||
/* server and port have to be freed by the caller */
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Summary: Enhanced WHOIS client
|
||||
Name: whois
|
||||
Version: 4.7.21
|
||||
Version: 4.7.22
|
||||
Release: 1
|
||||
License: GPL
|
||||
Vendor: Marco d'Itri <md@linux.it>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user