Debian Bug report logs -
#174497
whois: please request flat output from ARIN
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>, whois@packages.qa.debian.org:
Bug#174497; Package whois.
(full text, mbox, link).
Acknowledgement sent to "Florian Weimer" <Weimer@CERT.Uni-Stuttgart.DE>:
New Bug report received and forwarded. Copy sent to Marco d'Itri <md@linux.it>, whois@packages.qa.debian.org.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: whois
Version: 4.6.1
Severity: normal
Tags: patch
Please include the "+" flag when querying information for IP addresses
from whois.arin.net. This way, whois(1) will print useful information
and not just the useless overview.
Patch attached below.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux CERT 2.4.18-xfs-1.1 #4 Thu Sep 12 21:18:46 CEST 2002 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages whois depends on:
ii libc6 2.3.1-3 GNU C Library: Shared libraries an
-- no debconf information
--- whois-4.6.1/whois.c Thu Dec 12 02:20:30 2002
+++ whois.c.new Fri Dec 27 22:10:31 2002
@@ -412,6 +412,9 @@
if (!isripe && strcmp(server, "whois.arin.net") == 0 &&
strncasecmp(query, "AS", 2) == 0 && isasciidigit(query[2]))
sprintf(buf, "A %s", query + 2); /* always ask for a ASN */
+ if (!isripe && strcmp(server, "whois.arin.net") == 0 &&
+ myinet_aton (query))
+ sprintf(buf, "+%s", query);
else if (!isripe && strcmp(server, "whois.corenic.net") == 0)
sprintf(buf, "--machine %s", query); /* machine readable output */
else if (!isripe && strcmp(server, "whois.nic.ad.jp") == 0) {
Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>, whois@packages.qa.debian.org:
Bug#174497; Package whois.
(full text, mbox, link).
Acknowledgement sent to Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>, whois@packages.qa.debian.org.
(full text, mbox, link).
Message #10 received at 174497@bugs.debian.org (full text, mbox, reply):
Marco d'Itri <md@Linux.IT> writes:
> On Dec 27, Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE> wrote:
>
> >Please include the "+" flag when querying information for IP addresses
> >from whois.arin.net. This way, whois(1) will print useful information
> >and not just the useless overview.
> No, this would flood the user with too much data.
No data is better than too much data?
It would provide output which is more consistent with other RIRs.
Please reconsider.
--
Florian Weimer Weimer@CERT.Uni-Stuttgart.DE
University of Stuttgart http://CERT.Uni-Stuttgart.DE/people/fw/
RUS-CERT fax +49-711-685-5898
Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>, whois@packages.qa.debian.org:
Bug#174497; Package whois.
(full text, mbox, link).
Acknowledgement sent to Marco d'Itri <md@Linux.IT>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>, whois@packages.qa.debian.org.
(full text, mbox, link).
Message #15 received at 174497@bugs.debian.org (full text, mbox, reply):
On Jan 02, Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE> wrote:
>> No, this would flood the user with too much data.
>No data is better than too much data?
Yes. Users will have to choose the right netblock and make a second
query.
The ARIN server is stupid (it should just show the more specific match)
but using + is not a solution.
>It would provide output which is more consistent with other RIRs.
This is not true. The + ARIN flag would behave like the -L RIPE flag,
and this is unacceptable.
--
ciao,
Marco
Reply sent to Marco d'Itri <md@Linux.IT>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to "Florian Weimer" <Weimer@CERT.Uni-Stuttgart.DE>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #20 received at 174497-done@bugs.debian.org (full text, mbox, reply):
On Dec 27, Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE> wrote:
>Please include the "+" flag when querying information for IP addresses
>from whois.arin.net. This way, whois(1) will print useful information
>and not just the useless overview.
No, this would flood the user with too much data.
--
ciao,
Marco
Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>, whois@packages.qa.debian.org:
Bug#174497; Package whois.
(full text, mbox, link).
Acknowledgement sent to Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>, whois@packages.qa.debian.org.
(full text, mbox, link).
Message #25 received at 174497@bugs.debian.org (full text, mbox, reply):
Marco d'Itri <md@Linux.IT> writes:
> >> No, this would flood the user with too much data.
> >No data is better than too much data?
> Yes. Users will have to choose the right netblock and make a second
> query.
For most network blocks you'll encounter in this format, all three
queries are necessary.
> The ARIN server is stupid (it should just show the more specific match)
Often, the most specific netblock does not contain any contact
information, and sometimes the contact information is obviously
incorrect.
So you still end up querying all three netblocks. Trust me, I've
queried too much WHOIS records recently. ;-)
> >It would provide output which is more consistent with other RIRs.
> This is not true. The + ARIN flag would behave like the -L RIPE flag,
> and this is unacceptable.
Technically, yes. De facto, no. ARIN address space is not as
hierarchical as RIPE address space, and the ARIN output format is more
concise, even with "+".
--
Florian Weimer Weimer@CERT.Uni-Stuttgart.DE
University of Stuttgart http://CERT.Uni-Stuttgart.DE/people/fw/
RUS-CERT fax +49-711-685-5898
Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>, whois@packages.qa.debian.org:
Bug#174497; Package whois.
(full text, mbox, link).
Acknowledgement sent to Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>, whois@packages.qa.debian.org.
(full text, mbox, link).
Message #30 received at 174497@bugs.debian.org (full text, mbox, reply):
Package: whois
Version: 4.6.1
Followup-For: Bug #174497
For what it's worth, the behavior of gwhois will be changed in one
of the next releases, according to this proposal.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux CERT 2.4.18-xfs-1.1 #4 Thu Sep 12 21:18:46 CEST 2002 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages whois depends on:
ii libc6 2.3.1-3 GNU C Library: Shared libraries an
-- no debconf information
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun May 2 12:07:59 2021;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.