🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #59509

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

#59509
From: M. Buchenrieder
Date: Sun, 07 Jul 2002 10:40
70 lines
4045 bytes
curt@kcwc.com (Curt Welch) writes:

>M. Buchenrieder <mibu@scrum.muc.de> wrote:
>> nenosed@news.apex.met.au (Ned Latham) writes:
>>
>> [...]
>>
>> >That was what I thought. It's also why I think of it as a bug. Mail or
>> >News, all messages carry Lines: headers, right?
>>
>> No.
>>
>> >Confusion shouldn't be
>> >possible.
>>
>> [...]
>>
>> Wrong. The Lines: header is merely a matter of optics. You can't
>> trust it at all, since the definition of a "line" may widely vary
>> depending from the kind of machine the message has been created
>> or been inserted into the newsfeed at.

>No, that's not really it.  Lines are well defined on Usenet articles and
>the "correct" value for the Lines: header is well defined as well.

Although in theory, this is correct, the different ways to generate
articles makes this a myth. You simply _can't_ assume the Lines:
header to be anything else than a mere guess of the article's length.
It was neither ever designed for to be used as a precise value,
nor has it ever been thoroughly implemented. For one, depending
from the news client and the news server software used locally,
the Lines: header may be created by the client, the local server
software or somewhere else upstream where they add server-generated
signatures without ever updating the Lines: header at all.

[...]

>Some software just can't count lines correctly.  

*sigh* 
Sadly true.

>They for example use an
>interface like fgets() in C which will break long lines into multiple
>buffers of data but the software counts buffers instead of lines and puts
>that value into the Lines: header.  So it works correctly for normal sized
>lines, but gets the value wrong if the article has any extra long lines in
>it.

>Mostly however the software that generates the Lines: header gets it right,
>but then some other software changes the article and doesn't update the
>header.  This happens when servers add crap to the bottom of every post, or
>has sometimes happened when signatures get added later by the posting
>software, or sometimes happens when articles are re-formated to fold long
>lines, etc. etc.

[...]

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.

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: <GyvKB5.99M@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!logbridge.uoregon.edu!kibo.news.demon.net!demon!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!informatik.tu-muenchen.de!lmu.de!news.muc.de!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>

Show Full Headers
Complete Article Headers
Message-ID: <GyvKB5.99M@scrum.muc.de>
Subject: Re: News servers, nntpcache, slrn and the Usenet bug "From ".
Date: Sun, 7 Jul 2002 10:40:17 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>
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!logbridge.uoregon.edu!kibo.news.demon.net!demon!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!informatik.tu-muenchen.de!lmu.de!news.muc.de!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: 69