44 Commits

Author SHA1 Message Date
Marco d'Itri
f5d4f95d76
Remove some leftovers of 6bone referral handling
The rest was removed in commit 3364fe47f2bc408c1faa2e3209448320cb928423.
2025-10-13 03:18:08 +02:00
Marco d'Itri
e19e5d9f4f
Refactoring 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
4a5357548d
Refactoring 2025-05-05 02:38:02 +02:00
Marco d'Itri
adb4af2ddc Refactor the code which detects the ASN names 2023-10-08 13:06:32 +02:00
Marco d'Itri
bedd34e3fe Refactoring 2023-10-08 13:05:49 +02:00
Marco d'Itri
96173f3630 Remove support for the as32 dot notation
It has been deprecated long ago and is not used anymore.
2023-10-08 13:05:49 +02:00
Petr Menšík
6761f80395 Add SPDX license identifiers to code files
Change manual pages word to recognize it by licensecheck tool.
2023-07-22 17:38:06 +02:00
Marco d'Itri
bfc8c6bf9c Automatically generate the IDSTRING 2019-06-28 01:44:58 +02:00
Marco d'Itri
b49ba5ecc0 Implement -I to use referrals from whois.iana.org
Closes: #774603
2019-06-28 01:38:17 +02: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
fb823a251a Annotate more functions with NORETURN
Contributed by Sami Kerola.
Closes #48 from Github.
2017-02-26 23:33:01 +01:00
Marco d'Itri
a8608bc168 Update IDSTRING to 5.2
It should have been updated when whois 5.2 was released, but I forgot.
2015-06-08 02:17:55 +02:00
Marco d'Itri
db5dc4db7a Rename domcmp() in endstrcaseeq() and rewrite it
Rewrite it to use the same code of in_domain().
2014-10-16 01:52:04 +02:00
Marco d'Itri
3aa160e6a1 Add in_domain() to check if the argument is a subdomain 2014-10-15 14:30:35 +02:00
Marco d'Itri
c7769cbfdf make is_new_gtld() return the TLD 2014-09-13 02:42:29 +02:00
Marco d'Itri
1e1cb543c2 Support hiding disclaimers until the end of the output 2014-05-26 04:28:36 +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
e660a2266f Debian changelog for 5.1.0 2013-12-26 20:40:19 +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ř
361164fea5 Handle --help as success
whois --help output should go to standard output, and exit code should
be zero.
2013-04-10 17:25:05 +02:00
Petr Písař
c5fb072b2b Remove -S option
RIPE-like `-S' option is not documented nor supported by RIPE.
2013-04-10 17:25:05 +02: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
95229c98ad Imported Debian version 4.7.31 2013-03-30 02:31:37 +01:00
Marco d'Itri
bd837394e6 Imported Debian version 4.7.29 2013-03-30 02:31:36 +01:00
Marco d'Itri
e90424d179 Imported Debian version 4.7.26 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
1ea7943996 Imported Debian version 4.7.18 2013-03-30 02:31:34 +01:00
Marco d'Itri
c163eebde7 Imported Debian version 4.7.4 2013-03-30 02:31:32 +01:00
Marco d'Itri
c30d631969 Imported Debian version 4.7.0 2013-03-30 02:31:31 +01:00
Marco d'Itri
02298a2df4 Imported Debian version 4.6.13 2013-03-30 02:31:31 +01:00
Marco d'Itri
548793b0a4 Imported Debian version 4.6.9 2013-03-30 02:31:30 +01:00
Marco d'Itri
77049c1b5d Imported Debian version 4.6.3 2013-03-30 02:31:29 +01:00
Marco d'Itri
fc83e15cf7 Imported Debian version 4.6.0 2013-03-30 02:31:29 +01:00
Marco d'Itri
71d1546979 Imported Debian version 4.5.31 2013-03-30 02:31:29 +01:00
Marco d'Itri
1b665ec34c Imported Debian version 4.5.14 2013-03-30 02:31:28 +01:00
Marco d'Itri
bd5fd88c6b Imported Debian version 4.5.7 2013-03-30 02:31:27 +01:00
Marco d'Itri
ea3543984a Imported Debian version 4.5.4 2013-03-30 02:31:27 +01:00
Marco d'Itri
d4170f1879 Imported Debian version 4.4.14 2013-03-30 02:31:27 +01:00
Marco d'Itri
6d3af40a95 Imported Debian version 4.4.1 2013-03-30 02:31:26 +01:00
Marco d'Itri
bc68e8c4a6 Imported Debian version 4.3.1 2013-03-30 02:31:26 +01:00