🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26825

Re: NNTP followup/response method

#26825
From: Curt Welch
Date: Fri, 13 Mar 1998 00:00
71 lines
4709 bytes
Simon Lyall <simon@darkmere.gen.nz> wrote:
> Curt Welch <curt@kcwc.com> wrote:
> >Which means that some transports may not be able to handle lines which
> >are over 1000 octets.  So, to make sure that the article will be able
> >to get to every point in the Usenet network, you should limit your lines
> >to 1000 octets or less.  Inn therefore forces new posts to follow this.
>
> See my other post, Im not complaining about that limit. I *am*
> complaining that it is junking articles recieved via ihave that have
> logical header lines longer that 1000-odd characters, even if the actual
> lines are all less than that limit.

Yes, I saw and commented on your other post.

If the RFC can argue for any line limits, then I think that same argument
can logicaly be extended to "logical line" length limits, even if the RFCs
didn't address the issue.  But clearly, wrapping References: lines instead
of truncating them to fit on a single line should be supported by the news
transport.  And a 1024 character logical line length limit is far too small
in the case of References: lines. Ideally, as you say, there should be no
limit at all.

If the limit is just rasied, I'd think a value of 10000 might be
reasonable.

But this brings up another issue.  What if the news transports and news
readers all started supporting unlimited length References: lines?  It
seems to me that there would be some threads in some newsgroups that
might go on for years.  Do we really want articles (and overview files)
that have 100K References: lines containing thousands of Message-IDs?  I
don't think so.  It seems like a big waste of bandwidth, diskspace and
newsreader processing time.  Thinking about it this way, it seems very
resonable for transports (at least the ones which are building
overview-like data bases) to reject articles with excessively long
References: lines.

Having a small number of Message-ID's in the References: lines of around 10
seems resonable to me. Newsreaders rebuild the thread from all the articles
currently available in the spool.  With a limit of only 10 IDs per article,
that gives the newsreader a lot of overlap to work with.  It can skip gaps
of up to 9 articles, and it can go back 9 articles further than the oldest
article still in the spool.

At an avg Message-ID length of 50 characters, you can get about 20
Messages-IDs on a single 1000 character References: line.  So it seems that
limiting the References: line to a single 1000 charcter line should be more
then resonable behavior for a newsreader when constructing a new
References: line for a reply.

But, the news transport (inn) needs to be more liberal in what it will
accept.  Messages IDs are limited to around 512 bytes in length (or a bit
less due to NNTP command line length restrictions), so if you want to allow
up to 10 (my "resonable" limit from above) max size Message IDs, you need a
logical line limit around 5000 bytes.  And a 10000 byte logical line limit
would extend that to around 20 max size IDs, which I'd feel even more
comfortable with.  And a 10000 byte limit would give (10000/50) or about
200 typical size IDs - which also sounds like a resonable size for an upper
limit which inn could use as a basis for rejecting articles.

So, I'd vote for levaving the logical line limit check in inn (for both
POST and IHAVE transfers) for References: lines, but increasing it from the
current 1024 to somewhere around 10K.  (This assumes of course that
increasing this limit doesn't cause too many other problems with overview
record size limits etc...).  I'll look into this some....

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Technical Details
Message-ID: <19980313101515.857$Fu@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!not-for-mail
References: <6e6cnl$es$1@cc.tut.fi> <6e6in9$57q$1@nntp.epix.net> <6e6r65$d13@darkmere.gen.nz> <6e74ml$e5r$1@nntp.epix.net> <19980312133756.167$GQ@newsreader.com> <6eb26r$roo@darkmere.gen.nz>

Show Full Headers
Complete Article Headers
Message-ID: <19980313101515.857$Fu@newsreader.com>
Subject: Re: NNTP followup/response method
Date: Fri, 13 Mar 1998 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <6e6cnl$es$1@cc.tut.fi> <6e6in9$57q$1@nntp.epix.net> <6e6r65$d13@darkmere.gen.nz> <6e74ml$e5r$1@nntp.epix.net> <19980312133756.167$GQ@newsreader.com> <6eb26r$roo@darkmere.gen.nz>
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!not-for-mail
X-Deja-AN: 333700978
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
X-User: Curt@NewsReader.Com
Organization: KCW Consulting
Newsgroups: news.software.nntp