🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #59520

Re: News servers, nntpcache, slrn and the Usenet bug "From ".

#59520
From: M. Buchenrieder
Date: Mon, 08 Jul 2002 08:19
84 lines
4711 bytes
curt@kcwc.com (Curt Welch) writes:

>M. Buchenrieder <mibu@scrum.muc.de> wrote:

[...]

>When you send an article to a server over NNTP there is _no_ confusion
>about how many lines the article has.  NONE.  Lines end with CR LF.  You
>count the number of CR LF pairs in the data stream and you know EXACTLY how
>many lines are in the article.  

Ack.

[...]

>> You simply _can't_ assume the Lines:
>> header to be anything else than a mere guess of the article's length.

>If you use my servers you can.  On the reader side of my servers every
>article has a valid and correct Lines: header.  Other than on my server
>however, your statement is accurate.  But it's not because it can't be done
>as you would have us believe, it's simply because it isn't done for about
>5% of the articles posted ot Usenet.

Slight correction: I don't want you to believe it, it was my impression
as far as the accuracy (and the relative value) of the Lines: header
was concerned. :-)

>Because of the different types of encoding, the Lines: header however has
>very limited use these days even when it is correctly calculated.

>> It was neither ever designed for to be used as a precise value,

>Yes, when first created, the only code calculating it was doing it
>correctly. It was both a precise value and a useful value.  

It was a needed header entry, as it was the only way to tell
the receiving party what size the article in question had. I
can't make any statement on the accuracy of the Lines: header
back then, though. I never checked it (although I still remember
those days, yes).


>It was added
>before we had XOVER as a way for clients to get an idea of how long the
>article was just by doing a HEAD.  But once XOVER became the norm for
>Usenet, the Lines: header was no longer needed and as such, tends to be
>inaccurate.

Right.

>Also, when it was created, everyone (99.9%) used 80 character wide
>terminals to read usenet articles.  

I still do. It's much easier to read articles on a terminal (but
that's just my EUR 0.02).

[...]

>> It is even worse. If you save the article to a file first, then later
>> use the saved article to create your response, then the LF or CR/LF
>> definition of the local system may prevent the newsserver software
>> that accepts the article for posting from ever seeing the correct
>> number of lines in the article's body. It's really a lost cause.

>It's not lost at all.  If in the processes of saving and re-posting, the
>software manges to change the number of lines in the article, that is not a
>problem.  The posting software still should be smart enough to count the
>number of lines which it is sending to the server and correctly generate a
>valid Lines: header.  HOW hard is it to count CR LF pairs which are sent to
>the server????

Obviously, this simple procedure is still too complicated for a
sufficient number of software products. Otherwise, you wouldn't
see a roughly 5% of incorrectly labelled articles on your survey.
But I agree, it could be done, if people really cared about doing
it right - which seems at this moment in time not to be the case.

Michael
-- 
Michael Buchenrieder * mibu@scrum.greenie.muc.de * http://www.muc.de/~mibu
          Lumber Cartel Unit #456 (TINLC) & Official Netscum
    Note: If you want me to send you email, don't munge your address.
Technical Details
Message-ID: <Gyx8GM.D0D@scrum.muc.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!kibo.news.demon.net!demon!newsfeed.stueberl.de!news.space.net!greenie!scrum.muc.de!mibu
References: <slrnaiaghh.333.nenosed@arthur.valhalla.net.oz> <87eleisdsw.fsf@erlenstar.demon.co.uk> <slrnaib0fg.3b6.nenosed@arthur.valhalla.net.oz> <DNhV8.6017$xf3.1063173@news11-gui.server.ntli.net> <slrnaibc7b.3hu.nenosed@arthur.valhalla.net.oz> <GytKsw.GFI@scrum.muc.de> <20020706181520.539$fK@newsreader.com> <GyvKB5.99M@scrum.muc.de> <20020707151931.111$ni@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <Gyx8GM.D0D@scrum.muc.de>
Subject: Re: News servers, nntpcache, slrn and the Usenet bug "From ".
Date: Mon, 8 Jul 2002 08:19:34 GMT
From: M. Buchenrieder <mibu@scrum.muc.de>
References: <slrnaiaghh.333.nenosed@arthur.valhalla.net.oz> <87eleisdsw.fsf@erlenstar.demon.co.uk> <slrnaib0fg.3b6.nenosed@arthur.valhalla.net.oz> <DNhV8.6017$xf3.1063173@news11-gui.server.ntli.net> <slrnaibc7b.3hu.nenosed@arthur.valhalla.net.oz> <GytKsw.GFI@scrum.muc.de> <20020706181520.539$fK@newsreader.com> <GyvKB5.99M@scrum.muc.de> <20020707151931.111$ni@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!kibo.news.demon.net!demon!newsfeed.stueberl.de!news.space.net!greenie!scrum.muc.de!mibu
Newsgroups: news.software.nntp,news.software.readers
Content-Type: text/plain; charset=ISO-8859-1
User-Agent: NN/6.6.3 (NOV)
Sender: usenet@scrum.muc.de
Content-Transfer-Encoding: 8bit
Organization: private Linux-site
Mime-Version: 1.0
X-Nntp-Posting-Host: scrum.muc.de
Lines: 83