🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69372

Re: Possible bugs in rnews (inn 2.4.1)

#69372
From: Russ Allbery
Date: Tue, 29 Jun 2004 17:30
34 lines
2778 bytes
Eric Veldhuyzen <eric@terra.nu> writes:

> I just found two problems when rnews tried to process some news batches
> that where send by my ISP via UUCP. Since I am not sure if they are
> really bugs or simply something that should not be possible (in other
> words, my ISP accepts and sends articles they should not) I'd like your
> opinion first before I mail this to the inn-bugs list (and/or trying to
> fix this myself).

> 1) rnews stops processing the newsbatch when it gets to an article which
>    contains control characters. What I usually see is that some article
>    contains the NULL characters (^@) en rnews breaks on it, and stops
>    processing the rest of the newsbatch. Are control characters like the
>    NULL character illegal in postings?

NUL in particular is illegal; control characters in general are not.  I
think rnews was fixed in STABLE to not stop at a NUL and just let the
server reject it instead, though, so that it doesn't break the whole
batch.

> 2) rnews stops processing the newsbatch when it gets to an article that
>    does have an empty Subject (/^Subject: $/). It logs the message
>    "rnews: bad_article missing Subject", but then doesn't process the
>    rest of the newsbatch.

This sounds like a bug.  I'll try to find time to take a look at this.  I
wonder if rnews doesn't have a way of saving specific articles out of a
batch to the bad directory or something.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87659as24u.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <cbrmdl$8mm$1@whisky.terra.koffie.dot>

Show Full Headers
Complete Article Headers
Message-ID: <87659as24u.fsf@windlord.stanford.edu>
Subject: Re: Possible bugs in rnews (inn 2.4.1)
Date: Tue, 29 Jun 2004 10:30:25 -0700
From: Russ Allbery <rra@stanford.edu>
References: <cbrmdl$8mm$1@whisky.terra.koffie.dot>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 34
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1088530225 20661 171.64.19.147 (29 Jun 2004
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through
 Obscurity, linux)
Cancel-Lock: sha1:1T3OCtlmx62OvvUY95LrslC1r5g=