81 Commits

Author SHA1 Message Date
Marco d'Itri
3364fe47f2
Remove referral handling for whois.6bone.net
6bone has been shut down 20 years ago and this specific referrals format
does not appear to be used anywhere else.
2025-08-02 00:52:12 +02:00
Marco d'Itri
4171b62cf9
data.h: remove the reference to the obsolete whois.ra.net 2025-08-02 00:41:15 +02:00
Marco d'Itri
9b349a9c40
Add more missing SPDX license identifiers 2025-05-05 02:53:51 +02:00
Marco d'Itri
b36474fc77
Refactoring 2025-05-05 02:38:03 +02:00
Marco d'Itri
6ec5b9dd48
Implement following the APNIC pseudo-referrals
Closes GitHub #95
2025-05-05 02:38:03 +02:00
Marco d'Itri
8f5ef792d8
Refactoring 2025-05-05 02:38:03 +02:00
Marco d'Itri
b903b3679b
Refactoring 2025-05-05 02:38:02 +02:00
Marco d'Itri
5211801fe0
Refactoring 2025-05-05 02:38:02 +02:00
Marco d'Itri
4190279e0e
Add more hiding strings 2025-05-04 00:41:16 +02:00
Marco d'Itri
18145364ab Refactoring
Merge the as and as32 data structures, since it is highly unlikely
that using short ints will save any memory.
2023-11-08 11:38:27 +01:00
Marco d'Itri
d80e41cc9e Rename whois.register.si in the list of RIPE-like servers 2022-10-16 22:00:13 +02:00
Marco d'Itri
d4c27f6dae Remove whois.nic.fr from the list of RIPE-like servers
Closes: #1021110
2022-10-16 22:00:08 +02:00
Petr Písař
37b70606c2 Make sx. hide string more specific
Commit caa27b0675e171fe85c043d0199bfe77fddb23b9 broke displaying
results for at. subdomains because "%" lines exists in their outputs.

This patch changes the sx. start hide string to be more specific on
the expense that sx. output will contain a single "%" line.

More thorough fix would require changing the hiding algorithm to
either require prefix for each hidden line or to bind the strings to
their respective domains or servers.

Fixes <https://github.com/rfc1036/whois/issues/84>.
2020-01-23 09:56:51 +01:00
Marco d'Itri
04e24318df Add an hiding string for a .in registrar 2019-12-31 03:00:25 +01:00
Marco d'Itri
caa27b0675 Fix and update many hiding string 2019-12-30 05:47:16 +01:00
Marco d'Itri
88f8a14a07 Remove whois.bgpmon.net from the list of RIPE-like servers
It does not support the longer version strings which are used by the
program since bfc8c6bf9ccb6c43f3ef46d218c9cf0f9a85319a and the operators
are unresponsive.
2019-07-18 02:31:59 +02:00
Marco d'Itri
57d741d68a Add rr.ntt.net to the list of RIPE-like servers
In agreement with NTT.
2019-06-28 20:21:45 +02:00
Marco d'Itri
5b31f7b0e7 Remove whois.connect.com.au from ripe_servers
It is not a whois server anymore.
2019-06-23 15:40:12 +02:00
Marco d'Itri
bfb1fcc750 Add whois.tcinet.ru to ripe_servers
This is the new name of whois.ripn.net, since 2011.
2019-06-23 15:40:12 +02:00
Marco d'Itri
5431be2d5d Remove whois.restena.lu from ripe_servers
The server changed its name in 2002 and the new one does not support the
RIPE flags.
2019-06-23 15:40:12 +02:00
Marco d'Itri
488e445f53 Add the .in hiding string 2018-01-13 01:43:12 +01:00
Marco d'Itri
76cee0f552 Change the Afilias hiding string 2016-12-29 22:25:00 +01:00
Marco d'Itri
b6f3c8b089 Change the crsnic.net hiding string
This change has the dual purpose of not hiding a notice which is actually
informative and fixing support for the .bi ccTLD, which uses a similar
message and was broken by the old string.
2016-04-24 03:00:38 +02:00
Marco d'Itri
31c38e0543 Update TLD servers: vg 2015-07-30 03:00:59 +02:00
Marco d'Itri
fe22e40ce2 Update TLD servers: cr 2015-06-08 02:16:58 +02:00
Petr Písař
c5742eb115 Remove bogus hide_strings[] entry
The empty starting string matched always and the final NULL string
enabled hiding to the end of the response.

As a result any response got hidden.

<https://github.com/rfc1036/whois/issues/27>

Signed-off-by: Petr Písař <ppisar@redhat.com>
2015-03-25 23:04:07 +01:00
Marco d'Itri
78d2e38a64 Update the disclaimer detection strings
When possible they have been future-proofed by hiding everything until
the end of the input.
2015-03-23 04:29:58 +01:00
Marco d'Itri
4cc74ef22a Remove obsolete entries from ripe_servers[] 2014-10-16 01:52:04 +02:00
Marco d'Itri
29b1a3a9c3 Split nic_handles_list off tld_serv_list
To be able to use in_domain() for tld_serv_list
2014-10-16 01:52:03 +02:00
Marco d'Itri
544c3abb5c Add more disclaimer suppression strings 2014-07-30 08:49:27 +02:00
Marco d'Itri
b9408a2e12 Fix a disclaimer hiding string
Closes: #748363
2014-05-26 04:28:36 +02:00
Marco d'Itri
b1299db453 Use the IANA recovered address space list 2014-05-26 04:28:36 +02:00
Martino Fornasa
3a408f7f1c Update some disclaimer strings 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
dc432b4d20 Hide the disclaimer of .sx 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
Marco d'Itri
e5e1efe2c3 Update the TLD servers list
Add:
.xn--j1amh (.укр, Ukraine)

Update:
.bi
.se (requested by registry staff)
.vn

Remove whois.pandi.or.id from the list of servers which support the RIPE
extensions, since it does not anymore and queries are broken.
2013-03-31 08:13:02 +02:00
Marco d'Itri
147c1f3e06 Update some disclaimer suppression strings 2013-03-31 08:10:29 +02:00
Marco d'Itri
2d381497c0 Imported Debian version 5.0.17 2013-03-30 02:31:42 +01:00
Marco d'Itri
6c3ca39f25 Imported Debian version 5.0.12 2013-03-30 02:31:41 +01:00
Marco d'Itri
15c8d523f7 Imported Debian version 5.0.0 2013-03-30 02:31:38 +01:00
Marco d'Itri
e8806bc509 Imported Debian version 4.7.37 2013-03-30 02:31:38 +01:00
Marco d'Itri
4ee9510383 Imported Debian version 4.7.34 2013-03-30 02:31:37 +01:00
Marco d'Itri
ba38b34886 Imported Debian version 4.7.32 2013-03-30 02:31:37 +01:00
Marco d'Itri
8032d7b7f6 Imported Debian version 4.7.28 2013-03-30 02:31:36 +01:00
Marco d'Itri
d0c35c4219 Imported Debian version 4.7.25 2013-03-30 02:31:36 +01:00
Marco d'Itri
c3c46b20b8 Imported Debian version 4.7.23 2013-03-30 02:31:35 +01:00
Marco d'Itri
1e6c14f7fa Imported Debian version 4.7.21 2013-03-30 02:31:35 +01:00
Marco d'Itri
1ea7943996 Imported Debian version 4.7.18 2013-03-30 02:31:34 +01:00
Marco d'Itri
e5c1a36ec1 Imported Debian version 4.7.16 2013-03-30 02:31:34 +01:00