Article View: news.software.nntp
Article #69381Re: Possible bugs in rnews (inn 2.4.1)
From: Eric Veldhuyzen
Date: Fri, 02 Jul 2004 13:21
Date: Fri, 02 Jul 2004 13:21
49 lines
3517 bytes
3517 bytes
In article <87659as24u.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: >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. Ah, I wasn't able to find anything conclusive on this. >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. Well, that's not what my logs tell me, but I have to admit that the version I use isn't the STABLE version. I am using the Debian packaged version which is a CVS snapshot version of 2004-04-03. >> 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. In both cases, I can get the whole batch fully processed by rnews when I first fix/remove the article that rnews didn't like from the batch. Since rnews logs the message-id's and total number accepted/refused from a batch I can see that it didn't work good before, and is processed good after fixing. -- #!perl # Life ain't fair, but root passwords help. # Eric Veldhuyzen http://terra.nu/ $!=$;=$_+(++$_);($:,$~,$/,$^,$*,$@)=$!=~ # eric@terra.nu /.(.)...(.)(.)....(.)..(.)..(.)/;`$^$~$/$: $^$*$@$~ $_>&$;` #Perl Monger
Technical Details
Message-ID:
<cc3nhk$kn9$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!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!transit.news.xs4all.nl!uucp.xs4all.nl!xs4all!terra.xs4all.nl!not-for-mailReferences:
<cbrmdl$8mm$1@whisky.terra.koffie.dot> <87659as24u.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <cc3nhk$kn9$1@whisky.terra.koffie.dot> Subject: Re: Possible bugs in rnews (inn 2.4.1) Date: Fri, 02 Jul 2004 13:21:56 +0000 From: eric@terra.nu (Eric Veldhuyzen) References: <cbrmdl$8mm$1@whisky.terra.koffie.dot> <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!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!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: 49 NNTP-Posting-Host: ip6-localhost X-Trace: whisky.terra.koffie.dot 1088774516 21226 ::1 (2 Jul 2004 13:21:56 GMT) X-Complaints-To: abuse@terra.nu NNTP-Posting-Date: Fri, 2 Jul 2004 13:21:56 +0000 (UTC)