RE: WHOIS gateways

From: Charles Daminato (chuck@tucows.com)
Date: Thu May 02 2002 - 12:06:20 EDT


Yeah, read the source and figured it out...

Note that relying on ohter supplier servers for images is not necessarily
the best thing to do ;)

Charles Daminato
OpenSRS Product Manager
Tucows Inc. - chuck@tucows.com

> -----Original Message-----
> From: Paul Chvostek [mailto:paul@it.ca]
> Sent: May 2, 2002 12:03 PM
> To: Charles Daminato
> Cc: discuss-list@opensrs.org
> Subject: Re: WHOIS gateways
>
>
>
> Wow, Chuck thinks it's way cool. I must have scored! ;)
>
> Yup, I just looked at the source for the default transfer page at
> https://rr-n1-tor.opensrs.net/transfers/index.cgi, from the last
> transfer authorization I got. I'm using mod_rewrite reformat the
> requested URL into something with variables PHP can understand:
>
> RewriteRule ^/whois/(.*) /bin/whois/$1
> RewriteRule ^/bin/whois/index.php - [L]
> RewriteRule ^/bin/whois/([0-9]+)/(.+)/(.+)
> /bin/whois/index.php\?rid=$1&server=$2&object=$3 [NC,L,PT]
> RewriteRule ^/bin/whois/([0-9]+)/(.*)
> /bin/whois/index.php\?rid=$1&object=$2 [NC,L,PT]
> ... etc.
>
> Then the PHP script simply has:
>
> if ($rid) print "<img
> src='http://rr-n1-tor.opensrs.net/transfers/image.cgi?$rid' alt=''>\n";
> else { my own header stuff }
>
> Sneaky? Well, I admit, I did sit here last night for 3 minutes going
> sequentially through numeric rid's before I found domaindirect at 45. ;)
>
> p
>
> On Thu, May 02, 2002 at 09:45:46AM -0400, Charles Daminato wrote:
> >
> > That's way cool... where do you snag the logo from? Using our transfers
> > page modifications for your own purposes?
> >
> > Sneaky... I like it ;)
> >
> > Charles Daminato
> > OpenSRS Product Manager
> > Tucows Inc. - chuck@tucows.com
> >
> > > -----Original Message-----
> > > From: owner-discuss-list@opensrs.org
> > > [mailto:owner-discuss-list@opensrs.org]On Behalf Of Paul Chvostek
> > > Sent: May 2, 2002 6:05 AM
> > > To: Mark Petersen
> > > Cc: discuss-list@opensrs.org
> > > Subject: WHOIS gateways
> > >
> > >
> > >
> > > Another option is http://www.it.ca/bin/whois , which has some nifty
> > > support for multiple whois servers (ARIN, APNIC, RIPE, etc).
> > >
> > > A while back, I wrote an OpenSRS logo extension for it. If you take
> > > your numeric reseller ID, the number that's used as the "rid" variable
> > > on your OpenSRS transfer page, and put it before the object to lookup,
> > > the whois client will be automatically "branded".
> > >
> > > So http://www.it.ca/bin/whois/45/tucows.com looks up the tucows.com
> > > domain using DomainDirect's logo. And if you want just a blank form,
> > > leave off the lookup object: http://www.it.ca/bin/whois/45/ .
> > >
> > > Enjoy.
> > >
> > > p
> > >
> > > On Wed, May 01, 2002 at 01:23:50PM -0700, Mark Petersen wrote:
> > > >
> > > > Cool! Thanks Mike!
> > > >
> > > > ----- Original Message -----
> > > > From: "Mike Frazer" <mikef@invertedmind.com>
> > > > To: "Charles Daminato" <chuck@tucows.com>
> > > > Cc: "Mark Petersen" <mark@planet-nic.com>;
> <discuss-list@opensrs.org>
> > > > Sent: Wednesday, May 01, 2002 1:20 PM
> > > > Subject: RE: NSI Whois Block
> > > >
> > > >
> > > > > http://www.invertedminds.com/php/scripts/WhoisPro/whois.php
> > > > >
> > > > > Recursive lookups, configurable for any number of TLDs.
> > > Until I get the
> > > > > site where I'll be selling it and a number of other scripts and
> > > > > applications, it's free to anyone on this list. If you want
> > > it just email
> > > > > me.
> > > > >
> > > > > NOTE: The output screen is *somewhat* configurable as to
> > > appearance. Some
> > > > > of the text you see on there is also for my testing purposes,
> > > but this is
> > > > > a fully functional WHOIS lookup utility. One of the fastest
> > > out there,
> > > > > too, usual lookup times range from 0.2 to 0.65 seconds.
> > > > >
> > > > > Mike Frazer
> > > > >
> > > > >
> > > > >
> > > > > On Wed, 1 May 2002, Charles Daminato wrote:
> > > > >
> > > > > > There is no timeline for them to remove the block.
> > > > > >
> > > > > > My suggestion is to use a recursive whois client on your
> > > own system. A
> > > > > > suggestion (for hints and helps), and a favourite of mine,
> > > is available
> > > > > > here:
> > > > > >
> > > > > > http://freshmeat.net/projects/whois/
> > > > > >
> > > > > > Charles Daminato
> > > > > > OpenSRS Product Manager
> > > > > > Tucows Inc. - chuck@tucows.com
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: owner-discuss-list@opensrs.org
> > > > > > [mailto:owner-discuss-list@opensrs.org]On Behalf Of
> Mark Petersen
> > > > > > Sent: May 1, 2002 1:40 PM
> > > > > > To: discuss-list@opensrs.org
> > > > > > Subject: NSI Whois Block
> > > > > >
> > > > > >
> > > > > > Do we have any idea when the V boys will unblock WHOIS
> > > lookups from
> > > > > > Tucows?
> > > > > > Or should I rewrite my WHOIS script to do all my
> .com, .net, .org
> > > > lookups
> > > > > > through them?
> > > > > > I'd hate to do that. I like the *extra* info the Tucows
> > > server gives,
> > > > but
> > > > > > if their going to block
> > > > > > us forever, I guess I'll have to.
> > > > > > Any info would be greatly appreciated. (Chuck?...)
> > > > > > Thanks,
> > > > > > Mark
> > > > > >
> > > > > > Mark Petersen mark@planet-nic.com
> > > > > > Planet Nic http://www.planet-nic.com
> > > > > >
> > > > >
> > > >
> > >
> > > --
> > > Paul Chvostek
> <paul@it.ca>
> > > Operations / Development / Abuse / Whatever vox: +1
> 416 598-0000
> > > it.canada
http://www.it.ca/
> >

--
  Paul Chvostek                                             <paul@it.ca>
  Operations / Development / Abuse / Whatever       vox: +1 416 598-0000
  it.canada                                            http://www.it.ca/



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:37:13 EDT