misc/59533: whois not parsing queries correctly (not logically anyway)

Jan Szumiec jszumiec at kraksystem.pl
Thu Nov 20 15:51:42 PST 2003


>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 at 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, at 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 at tpnet.pl
origin:       AS5617
mnt-by:       AS5617-MNT
changed:      nabn at tpnet.pl 20030228
source:       RIPE


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


More information about the freebsd-bugs mailing list