Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2003 00:38:50 +0100 (CET)
From:      Jan Szumiec <jszumiec@kraksystem.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/59533: whois not parsing queries correctly (not logically anyway)
Message-ID:  <20031120233850.A214A2A41D@delta.kraksystem.pl>
Resent-Message-ID: <200311202350.hAKNoNuK024324@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         59533
>Category:       misc
>Synopsis:       whois not parsing queries correctly (not logically anyway)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 20 15:50:22 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jan Szumiec
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
N/A
>Environment:
System: FreeBSD delta.kraksystem.pl 4.9-RELEASE FreeBSD 4.9-RELEASE #11: Thu Oct 30 00:50:19 CET 2003 jszumiec@delta.kraksystem.pl:/usr/obj/usr/src/sys/BLUE i386


	
>Description:
	Let's say I want to obtain all networks connected to AS5617.
	I should do the folllowing:

		whois -r "-i origin AS5617"

	Instead, I get the following:
		
		> whois -r "-i origin AS5617"
		whois: illegal option --
		usage: whois [-adgilmpQrR6] [-c country-code | -h hostname] name ...

	I know that this is how this version of whois works, but it
	should...

>How-To-Repeat:
	> whois -r "-i origin AS5617"
        whois: illegal option --
        usage: whois [-adgilmpQrR6] [-c country-code | -h hostname]
	name ...

>Fix:
	00:32:55,@kontakt:~ > telnet whois.ripe.net 43
Trying 2001:610:240:0:193::202...
telnet: connect to address 2001:610:240:0:193::202: No route to host
Trying 193.0.0.135...
Connected to whois.ripe.net.
Escape character is '^]'.
% This is the RIPE Whois server.
% The objects are in RPSL format.
%
% Rights restricted by copyright.
% See http://www.ripe.net/ripencc/pub-services/db/copyright.html

-i origin AS5617
route:        80.48.0.0/13
descr:        TPNET
descr:        for abuse: abuse@tpnet.pl
origin:       AS5617
mnt-by:       AS5617-MNT
changed:      nabn@tpnet.pl 20030228
source:       RIPE


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031120233850.A214A2A41D>