🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72633

Re: Bug in slrn POST command?

#72633
From: Ken Murchison
Date: Fri, 11 Nov 2005 16:19
77 lines
3984 bytes
Alan Connor wrote:
> On news.software.readers, in
> <larsks-4AF904.23334109112005@news.isp.giganews.com>, "Lars
> Kellogg-Stedman" wrote:

>> For the rest of you, yes, it does look like a bug in slrn.
> 
> No.

Yes, it is a bug in slrn.  Lars clearly pointed out the problem in the 
code.  Its a small oversight, but its clearly a bug.


> I've never encountered a newsserver before that slrn/slrnpull
> had a problem accessing.

That just means that slrn has never encountered a server which has a 
strict parser for the NNTP grammar as documented.


> That means the fault is with Cyrus IMAP. 

Say what you will, but I'm not going to apologize for following 
documented protocol grammar.


>> Fortunately, most news servers are reasonably lax w/r/t to the
>> RFC; I imagine they strip trailing whitespace on commands,
>> which would obviously take care of this problem.  Cyrus IMAP's
>> NNTP server appears to be strict in this regard.
> 
> Then it's _their_ application that has the bug. They should have
> enough sense to look at actual practices as well as the RFCs.

So, server implementers are supposed to test against all known clients 
and code around their bugs?  The reason why protocols are documented on 
paper is so that implementers write code per the spec, not per other 
implementations.


> RFC means "request for comment" and they are, like maps,
> out-of-date by the time they are published.

Its this kind of blind disregard for IETF docs that has caused Usenet to 
become the complete mess that it is.  Not so much in NNTP, but the 
article format has turned into a complete free-for-all.


>> Slrn's problem 
> 
> Please! It is not a problem with slrn. Slrn can access every
> other newsserver in the world.

Good for it.  It got lucky that the bug never bit it in the ass until 
now.  This doesn't change the fact that its code is incorrect.


> Since when does Cyrus IMAP set industry standards?

It doesn't, it follows them.  Obviously slrn doesn't (note: I'm not 
saying that slrn intentionally ignores the spec).


> Just because YOU chose to use a newsserver that does not
> conform to industry standards does not mean that slrn has
> to be patched.

So, are you saying that slrn's NNTP implementation should be used as the 
defacto-standard, rather than the published standard which happens to be 
RFC 977 (soon to be RFC 3977)?  *If* I were to subscribe to your 
argument, I would certainly use INN as the reference implementation, not 
slrn.

-- 
Kenneth Murchison
Systems Programmer
Carnegie Mellon University
Technical Details
Message-ID: <4374C496.7050306@andrew.cmu.edu>
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!newshub.sdsu.edu!logbridge.uoregon.edu!usenet01.sei.cmu.edu!nn.andrew.cmu.edu!lmtp2nntp!not-for-mail
References: <larsks-ED6EA6.08383909112005@news.isp.giganews.com> <slrndn4vpg.19f.i3x9mdw@b29x3m.invalid> <larsks-4AF904.23334109112005@news.isp.giganews.com> <slrndn5pcr.11o.i3x9mdw@b29x3m.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <4374C496.7050306@andrew.cmu.edu>
Subject: Re: Bug in slrn POST command?
Date: Fri, 11 Nov 2005 11:19:34 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
References: <larsks-ED6EA6.08383909112005@news.isp.giganews.com> <slrndn4vpg.19f.i3x9mdw@b29x3m.invalid> <larsks-4AF904.23334109112005@news.isp.giganews.com> <slrndn5pcr.11o.i3x9mdw@b29x3m.invalid>
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!newshub.sdsu.edu!logbridge.uoregon.edu!usenet01.sei.cmu.edu!nn.andrew.cmu.edu!lmtp2nntp!not-for-mail
Newsgroups: news.software.nntp,news.software.readers
Organization: Carnegie Mellon University
Lines: 77
NNTP-Posting-Host: smtp.andrew.cmu.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: nn.andrew.cmu.edu 1131725971 14671 128.2.10.81 (11 Nov 2005 16:19:31
 GMT)
X-Complaints-To: postman+netnews@andrew.cmu.edu
NNTP-Posting-Date: Fri, 11 Nov 2005 16:19:31 +0000 (UTC)
User-Agent: Thunderbird 1.5 (Windows/20051025)
In-Reply-To: <slrndn5pcr.11o.i3x9mdw@b29x3m.invalid>