whois for just prefix list
Joao Luis Silva Damas
joao at psg.com
Mon Apr 14 14:02:06 UTC 2003
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
More information about the NANOG
mailing list