🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #55813

Re: Does the server has to save the full "References: " field?

#55813
From: Andrew - Supernews
Date: Mon, 31 Dec 2001 11:16
20 lines
2032 bytes
In article <N.20011231.krbx@sisyphus.demon.co.uk>, Dave Sparks wrote:
> andrew+nonews@supernews.com (Andrew - Supernews) said:
>> Servers should not try and restrict clients this way. It is quite normal
>> for References lines to be longer than 512; it doesn't start to be a
>> significant issue until they reach 1024 ...
> 
> I've had problems with References: headers which were created with more than
> 512 bytes: the messages were fetched using (IIRC) nntpget (INN 2.2) which
> truncated them to just less than 512 bytes then added CR-LF.

hmm, haven't had occasion to use nntpget, but looking at the code it is
suffering from the standard mistake of using NNTP_STRLEN as the buffer
size limit for actual data transfer as well as for NNTP response lines.
This is a serious bug; it will mangle articles in various unhealthy ways.
The same mistake is also found in some other news-sucking programs.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Technical Details
Message-ID: <slrna30i8n.1grc.andrew+nonews@trinity.supernews.net>
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!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <a0mi6g$qqr$2@mail.cn99.com> <89D4B9B30FF4B74D.88112137168FC760.06FBECD6A13DF2D8@lp.airnews.net> <301220011543570175%planb@newsreaders.com> <slrna2vhjn.1grc.andrew+nonews@trinity.supernews.net> <N.20011231.krbx@sisyphus.demon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <slrna30i8n.1grc.andrew+nonews@trinity.supernews.net>
Subject: Re: Does the server has to save the full "References: " field?
Date: Mon, 31 Dec 2001 11:16:44 -0000
From: andrew+nonews@supernews.com (Andrew - Supernews)
References: <a0mi6g$qqr$2@mail.cn99.com> <89D4B9B30FF4B74D.88112137168FC760.06FBECD6A13DF2D8@lp.airnews.net> <301220011543570175%planb@newsreaders.com> <slrna2vhjn.1grc.andrew+nonews@trinity.supernews.net> <N.20011231.krbx@sisyphus.demon.co.uk>
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!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.nntp
Organization: Posted via Supernews, http://www.supernews.com
Reply-To: andrew@supernews.com
User-Agent: slrn/0.9.7.1 (FreeBSD)
X-Complaints-To: newsabuse@supernews.com
Lines: 19