ok, what is the normal way to get around this? freebsd 7-current % whois -h whois.ripe.net -B -G 147.28.160.0/19 whois: illegal option -- B usage: whois [-aAbdgiIklmQrR6] [-c country-code | -h hostname] [-p port] name ... randy
On Thursday 17 November 2005 19:48, Randy Bush <randy@psg.com> wrote:
ok, what is the normal way to get around this?
freebsd 7-current
% whois -h whois.ripe.net -B -G 147.28.160.0/19 whois: illegal option -- B usage: whois [-aAbdgiIklmQrR6] [-c country-code | -h hostname] [-p port] name ... whois -h whois.ripe.net -- -B -G 147.28.160.0/19, should work.
-- Roberto Leandrini Extreme Communications
whois -h whois.ripe.net -- -B -G 147.28.128.0/19, should work.
no, darn it route: 147.28.128.0/19 descr: NF test 147.28.128.0/19 origin: AS3130 mnt-by: MAINT-RGNET source: RIPE # Filtered need info for delete, like changed: etc randy
On Thu, 17 Nov 2005, Randy Bush wrote:
whois -h whois.ripe.net -- -B -G 147.28.128.0/19, should work.
no, darn it
route: 147.28.128.0/19 descr: NF test 147.28.128.0/19 origin: AS3130 mnt-by: MAINT-RGNET source: RIPE # Filtered
need info for delete, like changed: etc
Ok, the basic stupid way that always works in those cases is telnet whois.ripe.net 43 Trying 2001:610:240:0:193::202... Connected to whois.ripe.net. Escape character is '^]'. -B -G 147.28.128.0/19
randy
-- Mvh /Fredrik ------------------------------------------------------- KTHNOC, KTH, S-100 44 Stockholm, Sweden +46 8 790 65 17 -------------------------------------------------------
ply@floffy ~ $ whois -h whois.ripe.net -- ' -T route -r -B -G 147.28.128.0/29' % This is the RIPE Whois query server #1. % The objects are in RPSL format. % % Note: the default output of the RIPE Whois server % is changed. Your tools may need to be adjusted. See % http://www.ripe.net/db/news/abuse-proposal-20050331.html % for more details. % % Rights restricted by copyright. % See http://www.ripe.net/db/copyright.html route: 147.28.128.0/19 descr: NF test 147.28.128.0/19 origin: AS3130 notify: rw@rg.net mnt-by: MAINT-RGNET changed: randy@psg.com 20051011 source: RIPE On Thu, Nov 17, 2005 at 10:58:39AM -0800, Randy Bush wrote:
whois -h whois.ripe.net -- -B -G 147.28.128.0/19, should work.
no, darn it
route: 147.28.128.0/19 descr: NF test 147.28.128.0/19 origin: AS3130 mnt-by: MAINT-RGNET source: RIPE # Filtered
need info for delete, like changed: etc
randy
* Randy Bush <randy@psg.com> [2005-11-17 19:49]:
ok, what is the normal way to get around this?
freebsd 7-current
% whois -h whois.ripe.net -B -G 147.28.160.0/19 whois: illegal option -- B usage: whois [-aAbdgiIklmQrR6] [-c country-code | -h hostname] [-p port] name ...
whois -h whois.ripe.net -- '-B -G 147.28.160.0/19' annoying eh -- Henning Brauer, hb@bsws.de, henning@openbsd.org BS Web Services, http://bsws.de OpenBSD-based Webhosting, Mail Services, Managed Servers, ...
On Thu, 17 Nov 2005, Henning Brauer wrote:
* Randy Bush <randy@psg.com> [2005-11-17 19:49]:
ok, what is the normal way to get around this?
freebsd 7-current
% whois -h whois.ripe.net -B -G 147.28.160.0/19 whois: illegal option -- B usage: whois [-aAbdgiIklmQrR6] [-c country-code | -h hostname] [-p port] name ...
whois -h whois.ripe.net -- '-B -G 147.28.160.0/19'
I have since long an alias for this set to echo "-B -G $@" |/usr/local/bin/nc whois.ripe.net 43
annoying eh
-- Mvh /Fredrik ------------------------------------------------------- KTHNOC, KTH, S-100 44 Stockholm, Sweden +46 8 790 65 17 -------------------------------------------------------
I have since long an alias for this set to echo "-B -G $@" |/usr/local/bin/nc whois.ripe.net 43
i am a basher wripe () { whois -h whois.ripe.net -- "-B -G $@"; } randy
Recompile whois client to the one ripe has been handing or force your whois client to send query prepended with -B and -G in raw form (might have to enclose in quotes). If you're using jwhois try: jwhois -h whois.ripe.net -a -- "-B -G 147.28.160.0/19" If not output of 'whois --version; would help to know what you need to do. P.S. I think it was quite stupid for RIPE to have chosen '-?' as way to send options to whois server on the protocol level.... On Thu, 17 Nov 2005, Randy Bush wrote:
ok, what is the normal way to get around this?
freebsd 7-current
% whois -h whois.ripe.net -B -G 147.28.160.0/19 whois: illegal option -- B usage: whois [-aAbdgiIklmQrR6] [-c country-code | -h hostname] [-p port] name ...
randy
Randy Bush wrote:
ok, what is the normal way to get around this?
freebsd 7-current
% whois -h whois.ripe.net -B -G 147.28.160.0/19 whois: illegal option -- B usage: whois [-aAbdgiIklmQrR6] [-c country-code | -h hostname] [-p port] name ...
$ whois -h whois.ripe.net -- "-B -G 147.28.160.0/19" | grep "@" changed: hostmaster@ripe.net 20050202 notify: rw@rg.net changed: randy@psg.com 20051011 e-mail: hostmaster@ripe.net ref-nfy: hm-dbm-msgs@ripe.net notify: hm-dbm-msgs@ripe.net changed: hostmaster@ripe.net 20040417 e-mail: bitbucket@ripe.net changed: bitbucket@ripe.net 20010411 Returns mails so -B is in effect ;) Better and simpler, just upgrade to Marco d'Itri's whois tool, which IMHO is the best one and can also find that block automatically so one doesn't have to guess RIR oneselves. Greets, Jeroen
participants (7)
-
Fredrik Widell
-
Henning Brauer
-
Jeroen Massar
-
Kristian Larsson
-
Randy Bush
-
Roberto Leandrini
-
william(at)elan.net