72 Commits

Author SHA1 Message Date
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
Marco d'Itri
27fd0b5493 Imported Debian version 4.7.13 2013-03-30 02:31:33 +01:00
Marco d'Itri
07b44b3568 Imported Debian version 4.7.12 2013-03-30 02:31:33 +01:00
Marco d'Itri
d60c06bc32 Imported Debian version 4.7.11 2013-03-30 02:31:33 +01:00
Marco d'Itri
c3f3347bc8 Imported Debian version 4.7.10 2013-03-30 02:31:33 +01:00
Marco d'Itri
7a1cc2f422 Imported Debian version 4.7.8 2013-03-30 02:31:32 +01:00
Marco d'Itri
9ad7ad696c Imported Debian version 4.7.7 2013-03-30 02:31:32 +01:00
Marco d'Itri
8d33311a68 Imported Debian version 4.7.6 2013-03-30 02:31:32 +01:00
Marco d'Itri
c163eebde7 Imported Debian version 4.7.4 2013-03-30 02:31:32 +01:00
Marco d'Itri
64ad70cad1 Imported Debian version 4.7.2 2013-03-30 02:31:31 +01:00