πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81087

Re: filter_nnrpd.pl and errors

#81087
From: Ray Banana
Date: Sun, 24 May 2009 09:20
27 lines
2836 bytes
Thus spake Julien Γ‰LIE <iulius@nom-de-mon-site.com.invalid>
 
> To be consistent, we should have the same behaviour with innd.  filter_art()
> is mostly used as an antispam filter and we then have to *reject* all articles
> if Cleanfeed dies.
> I'm not very appealed by that...

Neither am I. I prefer to get spam in this case rather than getting no
articles at all. You can always clean up the spam after receiving it,
but it's quite difficult to get articles you have already rejected.

>> nnrpd logs filter errors with 'err' syslog priority. IMHO this is bad (and
>> maybe wrong). Since filtering is a vital feature, errors should be logged
>> with 'crit' priority instead 'err'.
[...]
> However, is it really what should be done?

No. Paolo's suggestions are entirely focussed on aioe's setup, which is
quite different from other setups. If the integrity of his server
entirely relies on the filter code, he could possibly run his entire
filter in an eval() block and thus reject articles even if his filter
code dies and also issue error messages with a severity he considers
appropriate. 

-- 
Time flies like an arrow, fruit flies like a Banana.
http://news.motzarella.org
Technical Details
Message-ID: <8063fqluvn.fsf@banana.shacknet.nu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!takemy.news.telefonica.de!telefonica.de!weretis.net!feeder2.news.weretis.net!feeder.motzarella.org!news.motzarella.org!banana.shacknet.nu!motzarella.org!not-for-mail
References: <gv8scl$t24$1@aioe.org> <gvb1ud$v18$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <8063fqluvn.fsf@banana.shacknet.nu>
Subject: Re: filter_nnrpd.pl and errors
Date: Sun, 24 May 2009 11:20:44 +0200
From: Ray Banana <rayban@banana.shacknet.nu>
References: <gv8scl$t24$1@aioe.org> <gvb1ud$v18$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!takemy.news.telefonica.de!telefonica.de!weretis.net!feeder2.news.weretis.net!feeder.motzarella.org!news.motzarella.org!banana.shacknet.nu!motzarella.org!not-for-mail
Newsgroups: news.software.nntp
Organization: A noiseless patient spider
Lines: 27
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: news.eternal-september.org
 U2FsdGVkX1+xKUQpl2StnhllyuvwueUI8tkfwAODn1b4/5m1HAgJf80FEvaNqZU7rcmnYuJeu+pZyWYJk/LV38MACP2mFtsjwOLTdEbEHBL/RqVsdsk2zvKI2/iancoQdBlr+7266LE=
X-Complaints-To: abuse@banana.shacknet.nu
X-Auth-Sender: U2FsdGVkX1+xAIgjd02pwSyLuIXBCqr71pmJ9H+jU/hpMurdBb6OLQ==
Cancel-Lock: sha1:kvzI5k6oCChnOWOiejfAOuS8coU=
 sha1:gqmGbvUUsovdF/qgjqdUNJW8obI=
User-Agent: Plonkenlights
X-PGP-Sig: 2.6.3ia Subject,Message-ID,Date,From,User-Agent
 iQCVAwUBShkRkBFgDSXFGJ/lAQGvAgQAqnF6SURezBqzS7CESufu63ECRS2DHbEV
 N+NhVBNGr7OvR2fm4bquyGN3rqjGNUkKURmvh4wtsNieumAW4BREeepvjBFV+Oma
 nY0P/SZzpUTc64XZXH8rJfFx9h5AhCXux560QxfFx/LIUmps/eJD1/5nYmwuXF4W
 iNoYvg3GXBo= =KH85
X-Attribution: Ray Banana