🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69371

Possible bugs in rnews (inn 2.4.1)

#69371
From: Eric Veldhuyzen
Date: Tue, 29 Jun 2004 12:13
30 lines
2527 bytes
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?

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.

In both cases it might very well be that it is indeed illegal, but in my
opinion this should mean that this article should be ignored and
processing the batchfile should continue after the illegal article.
Instead the whole batchfile is placed in /var/spool/news/incoming/bad/
for manual inspection.

Opinions?
-- 
#!perl #                       Life ain't fair, but root passwords help.
# Eric Veldhuyzen                                       http://terra.nu/
$!=$;=$_+(++$_);($:,$~,$/,$^,$*,$@)=$!=~                 # eric@terra.nu
/.(.)...(.)(.)....(.)..(.)..(.)/;`$^$~$/$: $^$*$@$~ $_>&$;` #Perl Monger
Technical Details
Message-ID: <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.maxwell.syr.edu!transit.news.xs4all.nl!uucp.xs4all.nl!xs4all!terra.xs4all.nl!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <cbrmdl$8mm$1@whisky.terra.koffie.dot>
Subject: Possible bugs in rnews (inn 2.4.1)
Date: Tue, 29 Jun 2004 12:13:41 +0000
From: eric@terra.nu (Eric Veldhuyzen)
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.maxwell.syr.edu!transit.news.xs4all.nl!uucp.xs4all.nl!xs4all!terra.xs4all.nl!not-for-mail
Newsgroups: news.software.nntp
Organization: Terra's Usenet System, Oegstgeest, The Netherlands
Lines: 30
NNTP-Posting-Host: ip6-localhost
X-Trace: whisky.terra.koffie.dot 1088511221 8919 ::1 (29 Jun 2004 12:13:41 GMT)
X-Complaints-To: abuse@terra.nu
NNTP-Posting-Date: Tue, 29 Jun 2004 12:13:41 +0000 (UTC)