Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34768 - whois doesn't work as expected
Summary: whois doesn't work as expected
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-30 12:05 UTC by Andrei Ivanov
Modified: 2004-02-05 14:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fixed gentoo patch (whois-4.6.9a-gentoo-security.patch,4.60 KB, patch)
2003-12-07 16:38 UTC, Marcin Kryczek (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Ivanov 2003-11-30 12:05:27 UTC
Older versions (4.6.6-r2) of whois worked for me like this:

whois rotld.ro (or whois -h whois.rotld.ro rotld.ro, if the whois.rotld.ro wasn't the default server)

whois -h whois.rotld.ro idm.ro

% whois.rotld.ro :
%
% Rights restricted by copyright.
%
% Specifically, this data MAY ONLY be used for Internet operational
%   purposes. It may not be used for targeted advertising or any
%   other purpose.
%
% Este INTERZISA folosirea datelor de pe acest server in oricare
%   alt scop decat operarea retelei. In special este INTERZISA
%   folosirea lor in scopuri publicitare.
%


domain-name: idm.ro
description: IDM Kennedy Group Co SRL
description: Str.Orhideelor 31-33
description: Sector 1
description: Bucharest
description: RO
description: Postal Code:77139
description: Phone: +40-21-6377873
description: Fax: +40-21-6377864
description: Email: jan@fx.ro
description: Registration/ID Number:
description: Fiscal Code: R6562229
admin-contact: CJ6-ROTLD
technical-contact: CJ6-ROTLD
zone-contact: CJ6-ROTLD
billing-contact: MD62-ROTLD
nameserver:  ns.fx.ro 193.231.208.1
nameserver:  ns2.fx.ro 193.231.208.2
info:        Register your .ro domain names at http://www.rotld.ro/
notify:      domain-admin@listserv.rnc.ro
object-maintained-by: ROTLD-MNT
mnt-lower:   ROTLD-MNT
updated:     domain-admin@listserv.rnc.ro 20010925
updated:     flore@rnc.ro 20010925
updated:     cmircea@rnc.ro 20011001
source:      ROTLD
application-date: 20010925
domain-status: active
registration-date: 20010925

person:      Cotocu Jan
address:     IDM Kennedy Group Co SRL
address:     Str.Orhideelor 31-33
address:     Sector 1
address:     Bucharest
address:     RO
address:     Postal Code: 77139
address:     Registration/ID Number:
address:     Fiscal Code: R6562229
phone:       +40-21-6377873
fax-no:      +40-21-6377864
e-mail:      jan@fx.ro
nic-hdl:     CJ6-ROTLD
notify:      domain-admin@listserv.rnc.ro
object-maintained-by: ROTLD-MNT
updated:     flore@rnc.ro 20010925
source:      ROTLD

person:      Magureanu Dumitru
address:     IDM Kennedy Group Co SRL
address:     Str.Orhideelor 31-33
address:     Sector 1
address:     Bucharest
address:     RO
address:     77139
phone:       +40-21-6377873
fax-no:      +40-21-6377864
nic-hdl:     MD62-ROTLD
info:        cod fiscal/CNP: R6562229
notify:      domain-admin@listserv.rnc.ro
object-maintained-by: ROTLD-MNT
updated:     flore@rnc.ro 20010925
source:      ROTLD


But 4.6.8 doesn't work:

whois -h whois.rotld.ro idm.ro

% whois.rotld.ro :
%
% Rights restricted by copyright.
%
% Specifically, this data MAY ONLY be used for Internet operational
%   purposes. It may not be used for targeted advertising or any
%   other purpose.
%
% Este INTERZISA folosirea datelor de pe acest server in oricare
%   alt scop decat operarea retelei. In special este INTERZISA
%   folosirea lor in scopuri publicitare.
%


% No search key specified

% No entries found for the selected source(s).
Comment 1 Stephane Loeuillet 2003-12-04 20:12:15 UTC
by the way, v4.6.9 is out :
http://www.linux.it/~md/software/whois_4.6.9.tar.gz

having compiled it, it works like 4.6.6 did and like 4.6.8 didn't

changelog does not speak about this fixed bug : (or is it one of those 3 ??)

whois (4.6.9) unstable; urgency=medium

  * Removed .ac.cn SLD. (Closes: #219883)
  * Added support for 6to4 IPv6 addresses. (Closes: #219028)
  * Updated 145/8 after ERX transfer. (Closes: #220400)
  * Added IDN support.

 -- Marco d'Itri <md@linux.it>  Mon,  1 Dec 2003 18:58:54 +0100
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-12-07 07:58:30 UTC
i've sent this upstream
Comment 3 Marcin Kryczek (RETIRED) gentoo-dev 2003-12-07 16:38:51 UTC
Created attachment 21837 [details, diff]
fixed gentoo patch

there was a bug in whois-4.6.[89]-gentoo-security.patch. i've fixed it and
create whois-4.6.9a-gentoo-security.patch, which should be used instead of the
old one
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-12-07 18:05:55 UTC
great, thx
Comment 5 Jan Schubert 2004-01-26 06:27:32 UTC
Martin: how can someone get this new patch (automaticaly), if you do not upgrade the version number? Is'nt this a reason for a -r1?
Comment 6 Andy Dustman 2004-02-05 14:47:24 UTC
whois-4.6.9 seems hopelessly fubar when querying ARIN, whereas bwwhois-3.4 works correctly. Example:

andy@kenny andy $ whois 69.28.223.130 # also with -h whois.arin.net
 @ Your Service (YOURSE)
 Academisch Ziekenhuis Leiden (AZL)
 Allware (ALLWAR)
 Centro Brasileiro de Pesquisas Fisicas (CBDPF)
 Dan Johnson (DANJOH)
 IBA-GEIGY AS (IBAGEI)
 National Network Corp. (NANC)
 orwegian Telecommunications Administration (OTA)
 RF Networks (RFNETW-1)
 sian Development Bank (SDB-1)
 USDA - Office of Operations (UOO-1)
 USDA - Office of Operations (UOO)
+8 Records Limited (8RL)
+News Gazette (NEWSG)
 Ankin, Richard C. (RCR-ARIN)     rrankin@netramp.net +1-918-622-7267
 Reenberg, Bob  (BG152-ARIN)     bobby@inentertainment.com +1-213-464-1370
,FAISON, HEATHER  (HFA1-ARIN)     hfaison@vcomsolutions.com +1-925-415-8744
Marcus, Julius  (JM8273-ARIN)     @gcs-server.jsc.nasa.gov +1-703-242-8928
 Allware (AS4204) ALLWARE-AS    4204
 RF Networks (AS6239) RF-NETWORKS    6239
 @ Your Service YOUR (NET-192-231-43-0-1) 192.231.43.0 - 192.231.43.255
 Centro Brasileiro de Pesquisas Fisicas CBPF (NET-152-84-0-0-1) 152.84.0.0 - 152.84.255.255
 IBA-GEIGY AS CGCH-NET133 (NET-192-37-132-0-1) 192.37.132.0 - 192.37.132.255
 National Network Corp. CW-208-147-226 (NET-208-147-226-0-1) 208.147.226.0 - 208.147.227.255
 National Network Corp. CW-208-147-232 (NET-208-147-232-0-1) 208.147.232.0 - 208.147.233.255
 National Network Corp. CW-206-98-138 (NET-206-98-138-0-1) 206.98.138.0 - 206.98.139.255
 National Network Corp. CW-207-49-112 (NET-207-49-112-0-1) 207.49.112.0 - 207.49.112.255
 National Network Corp. CW-207-49-127 (NET-207-49-127-0-1) 207.49.127.0 - 207.49.127.255
 National Network Corp. CW-208-147-234-0 (NET-208-147-234-0-1) 208.147.234.0 - 208.147.235.255
 National Network Corp. CW-208-147-225 (NET-208-147-225-0-1) 208.147.225.0 - 208.147.225.255
 orwegian Telecommunications Administration NTANET (NET-128-39-0-0-1) 128.39.0.0 - 128.39.255.255
 sian Development Bank NETBLK-ADBNET (NET-198-56-16-0-1) 198.56.16.0 - 198.56.25.255
 USDA - Office of Operations USDANET2 (NET-162-79-0-0-1) 162.79.0.0 - 162.79.255.255
 USDA - Office of Operations USDANET3 (NET-151-121-0-0-1) 151.121.0.0 - 151.121.255.255
+8 Records Limited INTELLINET1 (NET-206-130-86-0-1) 206.130.86.0 - 206.130.86.255
+News Gazette SPRINTLINK (NET-208-5-125-160-1) 208.5.125.160 - 208.5.125.175
++Shipleys Donut Shops SBC065068085208020716 (NET-65-68-85-208-1) 65.68.85.208 - 65.68.85.215
++Shipleys Donut Shops SBC066139252144020716 (NET-66-139-252-144-1) 66.139.252.144 - 66.139.252.151
 
# ARIN WHOIS database, last updated 2004-02-04 19:15
# Enter ? for additional hints on searching ARIN's WHOIS database.
andy@kenny andy $ bwwhois 69.28.223.130
BW whois 3.4 by Bill Weinman (http://whois.bw.org/)
Copyright 1999-2003 William E. Weinman
Request: 69.28.223.130
connected to whois.arin.net [192.149.252.43:43] ...
Peer 1 Network Inc. PEER1-BLK-07 (NET-69-28-192-0-1)
                                  69.28.192.0 - 69.28.255.255
Elecmail News Bronze Sys and Tech Inc PEER1-ELECMAIL-01 (NET-69-28-223-0-1)
                                  69.28.223.0 - 69.28.223.255
 
# ARIN WHOIS database, last updated 2004-02-04 19:15
# Enter ? for additional hints on searching ARIN's WHOIS database.