[152686] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: Anyone have a layman's guide to writing an rwhois daemon?

daemon@ATHENA.MIT.EDU (Landon Stewart)
Tue May 8 18:03:11 2012

In-Reply-To: <CAK19Y1dSonJWdLALByZt7TRvVUnC9c0fA-m640FTy+iia3=mGA@mail.gmail.com>
Date: Tue, 8 May 2012 15:02:24 -0700
From: Landon Stewart <lstewart@superb.net>
To: Tim Jackson <jackson.tim@gmail.com>
Cc: NANOG list <nanog@nanog.org>
Errors-To: nanog-bounces+nanog.discuss=bloom-picayune.mit.edu@nanog.org

Hey Tim, thanks a lot.  This did help.  I saw how you dealt with some
queries and stuff.  Thanks again!

On 7 May 2012 16:44, Tim Jackson <jackson.tim@gmail.com> wrote:

> Dunno how much help it'll be but here's mine.. It's basic and probably
> non-RFC compliant, but it might help.
>
> crapbox.idge.net/~tjackson/rwhois.tar.gz
> On May 7, 2012 6:35 PM, "Landon Stewart" <lstewart@superb.net> wrote:
>
>> Hi All,
>>
>> I just wrote a perl daemon that seems to be a working rwhois server but
>> the
>> RFC is quite difficult to read for me.  When talking about the protocol it
>> mentions a bunch of requirements and describes them quite strangely
>> (see rfc2167 section 3.1.9).  Is there a layman's guide around somewhere
>> or
>> can anyone lend some advice here?  Is what I wrote acting like a real
>> rwhois server - at least partially?
>>
>> $ whois -h sirt.hopone.net -p rwhois 66.235.162.21
>> %rwhois V-1.5:00ffff:00 rwhois.hopone.net (HopOne Internet Corp)
>> servername:sls-cf7p17
>> domain:rac13a.com
>> ipaddress:66.235.162.21
>> ipaddress:66.235.166.15
>> ipaddress:66.235.179.110
>> abusename:Abuse Department
>> abusephone:206-438-5909
>> abusemail:abuse@hopone.net
>> %ok
>>
>> (If you try running the command above it may or may not be running and may
>> not succeed)
>>
>> If anyone knows where to get an rwhois daemon that has hooks for looking
>> up
>> the data in an external database (not a .cdb database or flat file) I'd
>> appreciate it a great deal.  I won't want to waste too much time on this
>> if
>> I can help it but I want a functioning rwhois server.  Our rwhoisd at
>> rwhois.hopone.net has been broken for a while and for the life of me I
>> cannot figure out what's wrong with the data formatting it's using.  I
>> attempted to join the mailing list for ISC's rwhoisd daemon but it's dead
>> (no volume on the list).
>>
>> --
>> Landon Stewart <LStewart@Superb.Net>
>> Sr. Administrator
>> Systems Engineering
>> Superb Internet Corp - 888-354-6128 x 4199
>> Web hosting and more "Ahead of the Rest": http://www.superbhosting.net
>>
>


-- 
Landon Stewart <LStewart@Superb.Net>
Sr. Administrator
Systems Engineering
Superb Internet Corp - 888-354-6128 x 4199
Web hosting and more "Ahead of the Rest": http://www.superbhosting.net

home help back first fref pref prev next nref lref last post