167 Commits

Author SHA1 Message Date
Marco d'Itri
f12e652595 Fix some invalid ASN and networks entries
Some of them would never be matched.

Reported by Henry Stern.
2014-05-02 04:26:50 +02:00
Igor Pashev
4a77be3e03 Port mkpasswd to Solaris/Dyson 2014-05-02 04:26:50 +02:00
Martino Fornasa
3a408f7f1c Update some disclaimer strings 2014-05-02 04:26:50 +02:00
Marco d'Itri
e07b33c538 Update TLD servers: tc vu 2014-05-02 04:26:50 +02:00
Georgi Stanojevski
a8c6f4af2c Update the .mk TLD server 2014-05-02 04:26:50 +02:00
Marco d'Itri
24a10bc7b8 Add the .zm TLD server 2014-05-02 04:26:50 +02:00
Arjen Zonneveld
d2a476fbcb Add the .aw TLD server 2014-05-02 04:26:50 +02:00
Marco d'Itri
171705cbde Use whois.nic.$TLD for the "new" gTLDs
The "new" gTLDs are contractually required by ICANN to provide port 43
whois service on this standard domain.
2014-05-02 04:26:50 +02:00
Marco d'Itri
4411a41702 Remove the "new" gTLDs servers from tld_serv_list
The program will use whois.nic.$TLD by default.
2014-05-02 04:22:45 +02:00
Marco d'Itri
13bce6f4ce Make the small perl programs uniform in style 2014-05-02 04:22:35 +02:00
Marco d'Itri
084b02ceab Rename po/no.po to po/nb.po
SuSE and PLD already did this.
2014-02-09 11:52:18 +01:00
Marco d'Itri
47b98dcad2 Remove whois.spec 2014-02-07 06:33:14 +01:00
Marco d'Itri
9b7c00dd32 debian/rules: remove the version sanity check
It is now part of make_version_h.pl.
2014-02-07 06:33:14 +01:00
Marco d'Itri
d2ee7af1d7 Extract the version number from the changelog 2014-02-07 06:33:08 +01:00
Marco d'Itri
bc35c3c585 Add .DELETE_ON_ERROR to the Makefile 2014-02-07 06:33:05 +01:00
Marco d'Itri
366ca9bcbe mkpasswd: fix an underflow in the parser for -R
Reported by mahkoh on github:
https://github.com/rfc1036/whois/issues/12
2014-02-06 01:03:05 +01:00
Marco d'Itri
d053b2f1f6 Debian changelog for 5.1.1 v5.1.1 2014-01-11 00:57:22 +01:00
Marco d'Itri
ea1d854322 Add the servers for 29 "new" gTLDs 2014-01-11 00:53:41 +01:00
Marco d'Itri
c4ace128ed whois.conf(5): add an example about AS numbers 2014-01-05 20:00:36 +01:00
Marco d'Itri
780e30a538 tld_serv_list: replace spaces with tabs 2013-12-30 03:38:28 +01:00
Marco d'Itri
e660a2266f Debian changelog for 5.1.0 v5.1.0 2013-12-26 20:40:19 +01:00
Marco d'Itri
72285df375 Add some server charsets 2013-12-26 20:38:48 +01:00
Marco d'Itri
18d09e698b Add the servers for 54 "new" gTLDs
This is not going to scale well.
2013-12-26 17:56:58 +01:00
Marco d'Itri
19ff536d38 Add the .xn--l1acc and .xn--mgba3a4f16a TLD servers 2013-12-26 09:58:43 +01:00
Marco d'Itri
9eeb9c7159 make_tld_serv.pl: fix hex escape sequences
C hexadecimal escape sequences are actually defined as \x followed by
*any* number of hexadecimal digits.
2013-12-26 09:57:16 +01:00
Marco d'Itri
332de6ebc2 Update the .xn--mgberp4a5d4ar and .xn--j1amh TLD servers 2013-12-26 09:56:53 +01:00
Marco d'Itri
713c4a5779 Add the .pf TLD server 2013-12-26 09:49:11 +01:00
Marco d'Itri
edc32919c5 Remove the .ck TLD server 2013-12-26 09:49:11 +01:00
Marco d'Itri
5420421f3e Change many TLD servers to the IANA-registered names
In some cases replaced the existing whois server name with the domain
alias registered in the IANA whois database.
2013-12-26 09:49:11 +01:00
Terence Ng
af47f46670 Update zh_CH.po 2013-12-26 09:36:13 +01:00
Marco d'Itri
6a18602bc8 Direct queries for private ASN blocks to RIPE
The ARIN DB too has dummy entries for private ASN, but I like the RIPE
DB format more.
2013-12-26 09:36:13 +01:00
Marco d'Itri
4612f7f986 make_as32_del.pl: support ASPLAIN AS32 2013-12-26 09:36:13 +01:00
Marco d'Itri
363d101ac7 Add the .ga and .ml TLD servers 2013-12-26 07:48:10 +01:00
Marco d'Itri
4853379e61 Update the .bw, .hn and .sb TLD servers 2013-12-26 07:48:10 +01:00
Marco d'Itri
dc432b4d20 Hide the disclaimer of .sx 2013-12-26 07:48:10 +01:00
Petr Písař
3dc2a9c587 Fix a typo in whois(1)
Signed-off-by: Petr Písař <ppisar@redhat.com>
2013-12-26 07:48:10 +01:00
Petr Písař
a626373f45 Free memory in handle_query()
Make the server variable always hold a dynamically allocated string and
clean up the related const statements.

Signed-off-by: Petr Písař <ppisar@redhat.com>
2013-12-26 07:48:10 +01:00
Petr Písař
4c8e0be3ce Free memory on error in simple_recode()
Signed-off-by: Petr Písař <ppisar@redhat.com>
2013-12-26 07:48:10 +01:00
Petr Písař
298f2080fe strtol() returns signed long int
Assiging strol() return value to unsigned int makes subsequent
comparison to < 0 pointless.

Signed-off-by: Petr Písař <ppisar@redhat.com>
2013-12-26 07:48:10 +01:00
Marco d'Itri
4808ec3bd8 Add new RIPE and APNIC ASN allocations 2013-12-26 07:48:10 +01:00
Marco d'Itri
7b18c4e0c2 Hide the disclaimer for .be
The disclaimer for .eu matched the start line of the .be disclaimer too
but not the end line, so I made it more specific to prevent future issues
like this one.
2013-12-26 07:43:15 +01:00
Petr Písař
2d12f4da54 Do not hide legal disclaimer with whois -V
There was missing break in the 'V' option case.

Signed-off-by: Petr Písař <ppisar@redhat.com>
2013-12-26 07:43:15 +01:00
zcooler
275ac2f0ce Add support for -cunic NIC handles 2013-12-26 07:42:50 +01:00
Romuald Brunet
48fe7fa93b Add CentralNic .IN.NET TLD server 2013-08-13 19:12:20 +02:00
Marco d'Itri
352c45e327 Update the .gd TLD server 2013-08-09 15:36:28 +02:00
Marco d'Itri
5a0f08500f Debian changelog for 5.0.26 v5.0.26 2013-07-17 01:06:44 +02:00
Marco d'Itri
3a1c279dbd Add comments about some upcoming TLD servers
These TLDs are still in the launch phase.
2013-07-17 01:06:44 +02:00
Simone Carletti
913ee41cbd Update .CF TLD definition
.CF TLD now has a WHOIS server.

See http://www.iana.org/domains/root/db/cf.html
2013-07-16 15:29:30 +02:00
Simone Carletti
80b71c5e1d Update .BI TLD definition
.BI TLD now has a WHOIS server.

See http://www.iana.org/domains/root/db/bi.html
2013-06-25 11:55:59 +03:00
Marco d'Itri
588e7c530d Update an ASN allocation
LACNIC returned part of its last allocation.
2013-06-12 01:26:12 +02:00