[57541] in North American Network Operators' Group
Re: whois for just prefix list
daemon@ATHENA.MIT.EDU (Joao Luis Silva Damas)
Mon Apr 14 10:02:48 2003
In-Reply-To: <E1953zs-000L6M-4p@ran.psg.com>
Date: Mon, 14 Apr 2003 16:02:06 +0200
To: Randy Bush <randy@psg.com>
From: Joao Luis Silva Damas <joao@psg.com>
Cc: <nanog@nanog.org>
Errors-To: owner-nanog-outgoing@merit.edu
The RIPE server uses a different syntax. The query language was not
part of the RPSL specification and so different servers chose
different paths inthis regard.
With the server you want to say
whois -h whois.ripe.net -k -iorigin AS3130
Another option is to use peval, which is lightweight, quick, knows
about the different server syntaxes *and* expands macros recursively
and correctly, which most server implementations do not.
Joao
At 6:27 -0700 14/4/03, Randy Bush wrote:
>!gas does not even work for ripe server
>
> % whois -h whois.ripe.net \!gas3130
> % 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
>
> %ERROR:108: bad character in input
> %
> % An invalid character was passed in the query. Allowed
> % characters are letters, numbers, and these: -_:+=.,@/?'.
>
>as, imiho, the basic reason for all this irr stuff is to let
>me build a peer filter, one would think that this sould be a
>very simple thing, the thing for which all irr software would
>optimize.
>
>randy