🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #28460

Re: Help - trn and zippo (or other authenticating NNTP servers)

#28460
From: Michael Schuster
Date: Wed, 18 Dec 1996 00:00
62 lines
2927 bytes
In article <597oap$mho@lois.zippo.com>,
Ron Newman  <rnewman@cybercom.net> wrote:
>Hello again everyone.
>
>In our last episode, I asked how to make trn 3.6 work with an
>authenticating NNTP server such as Zippo.  One helpful reader
>suggested that I switch to a beta version of trn 4.0, which I
>may eventually do.  In the meantime, however, the Zippo folks
>helpfully provided a source patch which they claimed *should*
>make trn 3.6 work with Zippo.  (I've appended it to the end
>of this message.)

net-link sent me the same patch once; never could get it to work.

>Well, the good news is that the patch does indeed supply
>the correct authentication strings to the Zippo NNTp server
>(snews.zippo.com).  The bad news is that trn 3.6 seems to
>hang forever upon startup.
>
>Upon closer examination (with the Gnu Debugger) I find that trn
>is not in fact hanging, but is instead reading the server's entire "active"
>file and building a huge hash table -- something that takes
>quite a while when the server has as many newsgroups as Zippo.
>trn is doing this because, when it starts up, one of the
>first things it does is issue the following command to the
>NNTP server:
>
>   list active control
>
>(see the function "ngdata_init" in ngdata.c, 
> and the function "nntp_list", in nntp.c).
>
>The Super Zippo server snews.zippo.com, unfortunately, does not
>respond properly to this command.  Instead of responding with the
>expected 215, it sends back a fatal error:
>
>   501 [active|newsgroups|distributions|schema]
>
>As you'll see when looking at the code, this causes
>nntp_list() to return -1, and ngdata_init() to fall
>into a case which causes it to call ngdatahash_init(),
>which builds the aforementioned hash table.
>
>I assume that the Zippo NNTP server is buggy, rather than
>the trn code, but that still leaves me without a useful
>trn for this purpose.  Can someone recommend an additional
>patch to trn 3.6 for this purpose?   
>
>Two other questions:
>
>Does trn 4.0 somehow avoid this problem?  

Yes. I don't know how (perhaps if Wayne is reading) but it works on Zippo
(posting remotely may or may not work). You **REALLY** should try trn4.0
alpha.

-- 
Mike Schuster      	|	70346.1745@CompuServe.COM
schuster@panix.com 	|	schuster@mem.po.com 

Technical Details
Message-ID: <599ij2$6h9@panix3.panix.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.mbox.zip!not-for-mail
References: <58v6q1$pr9@shell1.cybercom.net> <597oap$mho@lois.zippo.com>

Show Full Headers
Complete Article Headers
Message-ID: <599ij2$6h9@panix3.panix.com>
Subject: Re: Help - trn and zippo (or other authenticating NNTP servers)
Date: Wed, 18 Dec 1996 00:00:00 +0000
From: schuster@panix.com (Michael Schuster)
References: <58v6q1$pr9@shell1.cybercom.net> <597oap$mho@lois.zippo.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.mbox.zip!not-for-mail
X-Deja-AN: 204785386
Organization: [p]
Newsgroups: news.software.readers