370 Commits

Author SHA1 Message Date
Marco d'Itri
ba7218d902 Debian changelog for 5.3.0 v5.3.0 2018-01-21 01:24:06 +01:00
Marco d'Itri
9b0c29e271 Update the .pr TLD server 2018-01-21 01:21:51 +01:00
Marco d'Itri
2a746f4390 Update the list of new gTLDs 2018-01-21 01:21:35 +01:00
Marco d'Itri
488e445f53 Add the .in hiding string 2018-01-13 01:43:12 +01:00
Marco d'Itri
a9f59fdd52 Update the copyright years 2018-01-13 01:15:48 +01:00
Marco d'Itri
1f28a6ed25 Remove references to 6bone 2018-01-13 01:15:34 +01:00
Marco d'Itri
8a6ce04adb Implement querying ip6.arpa domains
The program will query the whois server of the appropriate RIR when
provided with an *.ip6.arpa IPv6 reverse DNS domain.
2018-01-13 01:14:27 +01:00
Marco d'Itri
cb0c7062ab Fix the formatting 2018-01-08 03:00:06 +01:00
Marco d'Itri
ac1d4125de Makefile: fix the afl invocation
DEFS must be set in the environment or else will override even DEFS+=...
statements in the Makefile.
2018-01-08 02:50:53 +01:00
Marco d'Itri
5d60bbe102 Abort the build if the old HAVE_LIBIDN variable is defined
To encourage maintainers to automatically detect libidn2 and hopefully
switch to it.
2018-01-08 02:15:53 +01:00
Marco d'Itri
0af8984ad7 Debian changelog for 5.2.20 v5.2.20 2017-12-27 03:26:25 +01:00
Marco d'Itri
2534108200 Update the .vn TLD server 2017-12-27 03:25:03 +01:00
Marco d'Itri
caf03e771c Update the .com.uy TLD server 2017-12-27 03:25:03 +01:00
Marco d'Itri
ea4a698e1a Update the .ph TLD server 2017-12-27 03:25:03 +01:00
Marco d'Itri
243b72a263 Update the .ls TLD server 2017-12-27 03:25:03 +01:00
Marco d'Itri
76be6214df Update the .kw TLD server 2017-12-27 03:25:03 +01:00
Marco d'Itri
ac41790c1f Update the .gr TLD server 2017-12-27 03:25:03 +01:00
Marco d'Itri
72d5f8bd51 Update the .gh TLD server 2017-12-27 03:25:03 +01:00
Marco d'Itri
4f32ffa479 Update the .sb TLD server 2017-12-27 03:24:46 +01:00
Marco d'Itri
1a90b5433a Update the .ai TLD server 2017-12-27 03:24:00 +01:00
Marco d'Itri
ee86b76114 Update some comments in tld_serv_list 2017-12-27 03:23:48 +01:00
Marco d'Itri
b5d4bb43a8 Remove the .bs TLD server 2017-12-27 03:13:38 +01:00
Marco d'Itri
95c2a51d51 Add the .mr TLD server 2017-12-27 03:13:38 +01:00
Marco d'Itri
4be183d651 Remove the inet_pton(3)-based parser
It has never worked and never will.
2017-12-27 03:09:58 +01:00
Timo Gurr
8a4023b315 use env var ${PKG_CONFIG} instead of hard coding pkg-config
This allows building in cross environments e.g. using host triplet
prefixed binaries (x86_64-pc-linux-gnu-pkg-config).
2017-12-27 03:09:58 +01:00
Petr Písař
50b57a6fb7 Remove unused variables in get_random_bytes()
If getentropy() is available, GCC warns about unsused variables:

mkpasswd.c: In function ‘get_random_bytes’:
mkpasswd.c:369:13: warning: unused variable ‘bytes_read’ [-Wunused-variable]
     ssize_t bytes_read;
             ^~~~~~~~~~
mkpasswd.c:368:9: warning: unused variable ‘fd’ [-Wunused-variable]
     int fd;
         ^~

This patch fixes it.
2017-12-27 03:09:58 +01:00
Marco d'Itri
888fa4654b Debian changelog for 5.2.19 v5.2.19 2017-12-10 17:17:11 +01:00
Marco d'Itri
31250d3ba6 Switch to libidn2
See e20b8bbab3687aa26294bc3c443b4a43292b7636 for details.
2017-12-10 17:16:37 +01:00
Marco d'Itri
6557a52b3e mkpasswd: use getentropy(2) on recent Linux 2017-12-10 17:14:26 +01:00
Marco d'Itri
182fdaaaaa mkpasswd: refactoring 2017-12-10 17:13:03 +01:00
Marco d'Itri
41387e5837 debian/control: actually depend on debhelper >=9
Since the compat level was raised in
f02595fb4354027306d80df66bb847a6919fe122.
2017-11-21 18:26:16 +01:00
Marco d'Itri
8c8c53fde3 Update TLD servers: id
Same IP, different name.
2017-11-21 18:23:01 +01:00
Marco d'Itri
3771286c90 Remove TLD servers: dj 2017-11-21 18:23:01 +01:00
Marco d'Itri
59eefd076a Update TLD servers: museum 2017-11-21 18:23:01 +01:00
Marco d'Itri
f83de0b223 Use Rules-Requires-Root 2017-11-21 18:22:53 +01:00
Marco d'Itri
cb55571677 delete debian/source/options
xz has been the default for a while.
2017-11-05 11:59:39 +01:00
Marco d'Itri
5dd942bd11 Debian changelog for 5.2.18 v5.2.18 2017-08-22 18:48:50 +02:00
Marco d'Itri
1a32a3266a debian/control: update the policy version 2017-08-22 18:48:35 +02:00
Marco d'Itri
e20b8bbab3 Autodetect libidn/libidn2 support with pkg-config
libidn2 >= 2.0.3 must be used, or else it would silently remove
characters not valid in hostnames like "/" and "_".
For details see https://github.com/rfc1036/whois/issues/50 .

For more information about IDNA2003 vs. IDNA2008 and TR46 see:
http://nmav.gnutls.org/2017/04/the-mess-with-internationalized-domain.html
http://unicode.org/faq/idn.html
https://fedoraproject.org/wiki/Changes/IDNA2008
2017-08-22 18:35:12 +02:00
Andreas Stieger
a786e83add fix FSF address in mkpasswd.c 2017-08-22 16:59:53 +02:00
Marco d'Itri
9777e2aa77 Do not request domain results for name server queries
If there is more than one dot in the query string then it can only be
a name server, so do not restrict the results to domains only.
2017-08-22 16:52:56 +02:00
Marco d'Itri
46faeee41e Disable recursion for queries like "nameserver name.example.com"
Or else the program would return an error because no registrar
whois server is returned by the registry.
2017-08-22 16:50:32 +02:00
Marco d'Itri
4f374d16b0 whois.1: document the default for Verisign queries 2017-08-16 04:13:05 +02:00
Marco d'Itri
f77fe271a4 whois.1: remove the paragraph about whois.networksolutions.com
Since it has not been the default server for gTLD queries in a very
long time.
2017-08-16 04:11:46 +02:00
Marco d'Itri
7b25ae652a whois.1: remove the commented and deprecated options -F and -V 2017-08-16 03:59:18 +02:00
Marco d'Itri
85c7b302a3 Initialize the target of strcat
Was not detected until now, but immediately crashes with a recent libc.
2017-08-15 21:18:21 +02:00
Marco d'Itri
6e23999a24 Debian changelog for 5.2.17 v5.2.17 2017-07-27 17:09:05 +02:00
Marco d'Itri
89d2aef158 Fix referrals for .com, .net, .jobs, .bz, .cc and .tv
ICANN mandated that the referral whois server field had to be renamed,
hence breaking all whois clients:
https://www.icann.org/resources/pages/rdds-labeling-policy-2017-02-01-en

Closes #56 from Github.
2017-07-27 16:55:20 +02:00
Marco d'Itri
ba9500eb9d whois.1: fix typo
Closes: #866742
2017-07-27 15:32:03 +02:00
Marco d'Itri
00059e0fce New TLD servers: xn--2scrj9c and more (India)
Also:
xn--3hcrj9c
xn--45br5cyl
xn--h2breg3eve
xn--h2brj9c8c
xn--mgbbh1a
xn--mgbgu82a
xn--rvc1e0am3e
2017-07-27 15:19:23 +02:00