🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #51458

Re: Question: Overflow on path line ... what to do ?

#51458
From: Andrew Gierth
Date: Sat, 24 Mar 2001 22:15
25 lines
1946 bytes
>>>>> "Juergen" == Juergen Helbing <mynews@i3w.com> writes:

 Juergen> Hi gurus,
 Juergen> while making the final tests for my news-server-software
 Juergen> (MyNews) I've found the first "Path:" headers exceeding the
 Juergen> acceptable size for nntp-lines (510 data bytes + CRLF).

No such limit exists.

The 510+CRLF limit is for NNTP _command_ lines, not for article
bodies.  I believe INN has a 1024 byte limit on sizes of known
headers, though.

 Juergen> My question: How do standard NNTP-servers (INN v *.*) solve
 Juergen> this case?  Is it reasonable to accept longer path-lines (up
 Juergen> to 1k, 2k, 4k, 8k ) ?  If truncating is an option/must -
 Juergen> where and how to truncate the path (Start of line == last
 Juergen> server, end of line == source, middle == transport) ?

truncating is never an option - either accept and propagate the
article, or reject it.

-- 
Andrew.
Technical Details
Message-ID: <87d7b6izkj.fsf@erlenstar.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!supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster
References: <o3129021000@archiver.winews.net>

Show Full Headers
Complete Article Headers
Message-ID: <87d7b6izkj.fsf@erlenstar.demon.co.uk>
Subject: Re: Question: Overflow on path line ... what to do ?
Date: Sat, 24 Mar 2001 22:15:08 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <o3129021000@archiver.winews.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!supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster
Newsgroups: news.software.nntp
Organization: disorganised
Lines: 24
NNTP-Posting-Host: erlenstar.demon.co.uk (5273:038c)
X-Mayan-Date: Long count = 12.19.8.1.8; tzolkin = 2 Lamat; haab = 11 Cumku
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-Attribution: AG
X-P-Persistent-Headers: are a bad idea.
X-Newsreader: Gnus v5.5/Emacs 20.2
X-Complaints-To: andrew@erlenstar.demon.co.uk
X-Post-Filter: postfilter v0.6 alpha