Article View: news.software.nntp
Article #82384Re: Incorrect lines count in $hdr{__LINES__}
From: Russ Allbery
Date: Sun, 20 Dec 2009 02:55
Date: Sun, 20 Dec 2009 02:55
36 lines
2792 bytes
2792 bytes
"D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> "Russ Allbery" <rra@stanford.edu> wrote:
>> "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
>>> 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?
>> Nope.
> Maybe there should be (but it could be long - like the maximum TCP
> packet size of 64kB).
Arbitrary limits are bad because they limit your ability to deal with the
unforseen (such as yEnc, for instance). We went out of our way to
eliminate as many of them as possible. I don't think we should
reintroduce them at the protocol level. Sites can always set a reasonable
local policy. (And it would be useful to have a best practices guide for
that sort of thing.)
> Now, doesn't the UUCODE protocol require the conversion? That's not for
> NNTP to detect or decide, but back to cleanfeed.
It's not really clear -- uuencode isn't horribly well-defined outside of a
UNIX environment. I don't think anyone's written an RFC specification for
it, for instance.
MIME base64 encoding does require CRLF line endings (since MIME in general
requires CRLF line endings for any article).
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87hbrm5p85.fsf@windlord.stanford.edu>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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.news.ucla.edu!usenet.stanford.edu!news.stanford.edu!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> <hgjvor$ba8$1@snarked.org> <87638276ld.fsf@windlord.stanford.edu> <hgk1l1$cl3$2@snarked.org>Show Full Headers
Complete Article Headers
Message-ID: <87hbrm5p85.fsf@windlord.stanford.edu>
Subject: Re: Incorrect lines count in $hdr{__LINES__}
Date: Sat, 19 Dec 2009 18:55:06 -0800
From: Russ Allbery <rra@stanford.edu>
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> <hgjvor$ba8$1@snarked.org> <87638276ld.fsf@windlord.stanford.edu> <hgk1l1$cl3$2@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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.news.ucla.edu!usenet.stanford.edu!news.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 36
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.stanford.edu 1261277706 15686 171.67.225.134 (20 Dec 2009
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock: sha1:zddUVSfalmpgkDH2Cc2QfzcqCOM=