🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26814

Re: NNTP followup/response method

#26814
From: Simon Lyall
Date: Thu, 12 Mar 1998 00:00
35 lines
1940 bytes
Forrest J. Cavalier III <mibsoft@mibsoftware.com> wrote:
>To be able to discuss this in more detail, I just dug through the INN code 
>again....

>   The limit on any line in a post is actually 1000 characters, (I 
>   remembered it incorrectly as 512.)  The limit is set by ART_LINE_LENGTH
>   in nnrpd.h, and the code in nnrpd/commands.c::CMDpost().

The problem appears to be in innd/art.c in the function ARTparseheader .

The bit that checks against "MAXHEADERSIZE" (usually set to 1024) seems to
do this against the header after it has been unfolded. Thus a 1500
character header that is folded into three 500-character "lines" is
rejected with a:

437 "References" header too long 

type error. Thus newsreaders that take longish References (and other)
headers and fold them to keep each line under 1000 characters still have
their articles rejected. 

The problem is that all the default config.data files have MAXHEADERSIZE
set to 1024. The question is why this limit is coded in and why is is
coded for this value.

Why does a limit on the length of each header need to exist seperate from
an overall article size limit? 

-- 
Simon Lyall. | Looking for Work | Mail: simon@darkmere.gen.nz
"Inside me Im Screaming, Nobody pays any attention."  |  MT.


Technical Details
Message-ID: <6e9id9$mat@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
References: <6e6cnl$es$1@cc.tut.fi> <6e6in9$57q$1@nntp.epix.net> <6e6r65$d13@darkmere.gen.nz> <6e74ml$e5r$1@nntp.epix.net>

Show Full Headers
Complete Article Headers
Message-ID: <6e9id9$mat@darkmere.gen.nz>
Subject: Re: NNTP followup/response method
Date: Thu, 12 Mar 1998 00:00:00 +0000
From: Simon Lyall <simon@darkmere.gen.nz>
References: <6e6cnl$es$1@cc.tut.fi> <6e6in9$57q$1@nntp.epix.net> <6e6r65$d13@darkmere.gen.nz> <6e74ml$e5r$1@nntp.epix.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!not-for-mail
X-Deja-AN: 333449712
Organization: Darkmere Private access Internet, Hamilton, NZ
Newsgroups: news.software.nntp