From owner-freebsd-bugs@FreeBSD.ORG Thu Nov 20 15:51:41 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAF7E16A4D7 for ; Thu, 20 Nov 2003 15:51:41 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 480CF44005 for ; Thu, 20 Nov 2003 15:50:23 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hAKNoNFY024325 for ; Thu, 20 Nov 2003 15:50:23 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hAKNoNuK024324; Thu, 20 Nov 2003 15:50:23 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 20 Nov 2003 15:50:23 -0800 (PST) Resent-Message-Id: <200311202350.hAKNoNuK024324@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jan Szumiec Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E00216A4CF for ; Thu, 20 Nov 2003 15:39:58 -0800 (PST) Received: from delta.kraksystem.pl (delta.kraksystem.pl [217.97.202.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEEAF43F85 for ; Thu, 20 Nov 2003 15:39:56 -0800 (PST) (envelope-from jszumiec@delta.kraksystem.pl) Received: from localhost (unknown [127.0.0.1]) by delta.kraksystem.pl (Postfix) with ESMTP id 720572A424 for ; Thu, 20 Nov 2003 23:38:52 +0000 (GMT) Received: from delta.kraksystem.pl ([127.0.0.1]) by localhost (delta.kraksystem.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 85436-09 for ; Fri, 21 Nov 2003 00:38:50 +0100 (CET) Received: by delta.kraksystem.pl (Postfix, from userid 1001) id A214A2A41D; Fri, 21 Nov 2003 00:38:50 +0100 (CET) Message-Id: <20031120233850.A214A2A41D@delta.kraksystem.pl> Date: Fri, 21 Nov 2003 00:38:50 +0100 (CET) From: Jan Szumiec To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/59533: whois not parsing queries correctly (not logically anyway) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jan Szumiec List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 23:51:42 -0000 >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: