🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #110

How to trim extra-long headers

#110
From: Tim Ramsey
Date: Thu, 09 Feb 1989 06:01
25 lines
1613 bytes
This problem recently came to my attention:

A user posted a followup to a local newsgroup.  The References: header was
*very* long (205 characters, not including the References: part).  When you
tried to followup on the article, you got this error:

%interp buffer flow

and rn would exit, complaining about an internal error.

This article was posted via a NNTP server using the fake inews supplied with
the NNTP distribution.  Apparently, the real inews doesn't force a maximum
upper length on headers like this.

Has this been a problem to any other sites before?  Does anybody have a
magic set of patches (to either the real or fake inews) that will trim
headers to some maximum length?

Tim
--
Timothy Ramsey
BITNET: tar@KSUVAX1
Internet: tar@ksuvax1.cis.ksu.edu
UUCP: ...!rutgers!ksuvax1!tar -or- ...!{pyramid,ucsd}!ncr-sd!ncrwic!ksuvax1!tar
Technical Details
Message-ID: <720@deimos.cis.ksu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!sharkey!atanasoff!deimos!ksuvax1.cis.ksu.edu!tar

Show Full Headers
Complete Article Headers
Message-ID: <720@deimos.cis.ksu.edu>
Subject: How to trim extra-long headers
Date: Thu, 09 Feb 1989 06:01:39 +0000
From: tar@ksuvax1.cis.ksu.edu (Tim Ramsey)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!sharkey!atanasoff!deimos!ksuvax1.cis.ksu.edu!tar
Newsgroups: news.software.nntp,news.software.b
Sender: news@deimos.cis.ksu.edu
Reply-To: tar@ksuvax1.cis.ksu.edu (Tim Ramsey)
Followup-To: news.software.nntp
Distribution: na
Organization: Kansas State University, Dept of Computing & Information Sciences
Lines: 24