🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #205222

Re: [slrn] NNTP-Posting-Host whois lookup macro

#205222
From: Troy Piggins
Date: Wed, 05 Sep 2007 01:54
49 lines
2819 bytes
* Blinky the Shark is quoted & my replies are inline below :
> Troy Piggins wrote:
> [---=| Quote block shrinked by t-prot: 23 lines snipped |=---]
>> #v+
>> define whois_postinghost () {
>>
>>   variable postinghost=extract_displayed_article_header("NNTP-Posting-Host");
>>   () = system ( "whois "+postinghost+" | less");
>>
>>  }
>>
>> definekey ( "whois_postinghost", "\eH", "article");
>> #v-
>
> I ran it on your post and got:
>
> <q>
>
> Unknown AS number or IP network. Please upgrade this program.
> lines 1-1/1 (END) 
>
> </q>

So upgrade the program already ;)

I'm not sure about that message.  It comes from the whois
program, so the macro is indeed working, but maybe the IP
database your whois is reading from isn't up to date.  I don't
know if the program itself needs updating.

I have had that message before, but it works when I try it on
same message.

Try it on some other messages, like you own, and see if it works.

Someone once recommended me to try 'whois -a' - the '-a' argument
supposedly searches all databases.  From memory it didn't help
much, but you may have better results.  Just add the '-a' in the
"system" line of macro and source the macro again or just restart
slrn.

If that works let me know, it may pay to add that to the macro as
a default.

-- 
Troy Piggins | http://piggo.com/~troy                             
                                            ___  |   __   __    ,-O   (o-    O 
slrn macros and howto:                     |___  | |/   |/  |  O   )  //\     O
http://piggo.com/~troy/slrn                 ___| | |    |   |   `-O   V_/_  OOO
Technical Details
Message-ID: <20070905114715@usenet.piggo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
References: <20070905110242@usenet.piggo.com> <slrnfds2dc.vb2.no.spam@thurston.blinkynet.net>

Show Full Headers
Complete Article Headers
Message-ID: <20070905114715@usenet.piggo.com>
Subject: Re: [slrn] NNTP-Posting-Host whois lookup macro
Date: Wed, 05 Sep 2007 11:54:36 +1000
From: Troy Piggins <usenet-0709@piggo.com>
References: <20070905110242@usenet.piggo.com> <slrnfds2dc.vb2.no.spam@thurston.blinkynet.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
Newsgroups: news.software.readers
Reply-To: usenet-0709@piggo.com
X-NNTP-Proxy: Leafnode-2
 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/)
User-Agent: slrn/0.9.8.1pl2.1/rt (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 49
NNTP-Posting-Host: 124.171.229.82
X-Trace: 1188957278 per-qv1-newsreader-01.iinet.net.au 28552 124.171.229.82