Article View: news.software.nntp
Article #82383Re: Incorrect lines count in $hdr{__LINES__}
From: D. Stussy
Date: Sun, 20 Dec 2009 01:47
Date: Sun, 20 Dec 2009 01:47
39 lines
2704 bytes
2704 bytes
"Julien ΓLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message
news:hgjp7i$rdn$1@news.trigofacile.com...
> >> Especially, the next time you see that, could you please see how many
lines
> >> are reported by an OVER request on it?
> >
> > Certainly.
> >
> >> What I think is happening is that these articles are malformed and
contain
> >> only "\n" as line delimitors, and not "\r\n". But only a careful
inspection
> >> of these articles will tell us.
> >
> > You are correct. Using a hexeditor on the log, I can see that all the
> > uuencoded lines in these articles are terminated with just 0A, not
0D0A.
> > The text lines are correctly terminated which causes the reported line
> > count of 7.
>
> OK, then it explains the count.
> Other examples will provide the same result. And an OVER request will
> answer 7 (the number of "\r\n" in the article).
>
> It is the real number of lines. We cannot do more with INN. Maybe these
> articles should be rejected by Cleanfeed -- another parameter?
Random thoughts:
I think that they should actually be rejected by INN (or whichever NNTP
server package one is using) as malformed ("line too long" error).
However, is there any restriction on the length of body lines?
Since NNTP is a TCP protocol, why isn't TCP converting the LFs into CRLFs?
Maybe there's something wrong at the protocol interface. Isn't there a
setting on UNIX-based machines for the TCP socket to do such a conversion?
Maybe some other news software is broken?
Technical Details
Message-ID:
<hgjvor$ba8$1@snarked.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news.snarked.org!not-for-mailReferences:
<slrnhindf5.mt9.steve@news.mixmin.net> <hggok5$u3p$1@news.trigofacile.com> <slrnhipvt8.mt9.steve@news.mixmin.net> <hgjp7i$rdn$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <hgjvor$ba8$1@snarked.org>
Subject: Re: Incorrect lines count in $hdr{__LINES__}
Date: Sat, 19 Dec 2009 17:47:44 -0800
From: "D. Stussy" <spam+newsgroups@bde-arc.ampr.org>
References: <slrnhindf5.mt9.steve@news.mixmin.net> <hggok5$u3p$1@news.trigofacile.com> <slrnhipvt8.mt9.steve@news.mixmin.net> <hgjp7i$rdn$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp
Lines: 39
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-118-51-161.lsanca.dsl-w.verizon.net
X-Trace: snarked.org 1261273691 11592 71.118.51.161 (20 Dec 2009 01:48:11 GMT)
X-Complaints-To: newsmaster+complaints@snarked.org
NNTP-Posting-Date: Sun, 20 Dec 2009 01:48:11 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478