🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90418

Re: inn filtering question (and cleanfeed problem?)

#90418
From: Marc SCHAEFER
Date: Thu, 08 Jun 2023 18:42
39 lines
2787 bytes
On Thu, 08 Jun 2023 17:53:09, Adam W. <gof-cut-this-news@cut-this-chmurka.net.invalid> wrote:
>> On my installation, /etc/news/filters/filter_innd.pl calls
>> /etc/news/cleanfeed/cleanfeed.local and is called for every article
> 
> /etc/news/cleanfeed/cleanfeed I guess?

Not in my installation, but I guess it was manually installed.

> - MIME-encoded image is accepted. Example (full post):

Maybe this is just not handled by this version?

I don't think mine does it either, however I have not encountered,
recently, anyone posting that kind of stuff. If it's in the big8 and you
have a Message-ID I could look for it.

There are also bots, for example in the USENET-fr hierarchy that will
kill that kind of stuff automatically (using a global cyberspam cancel
and/or a NoCeM).

I guess rejecting Content-Type: multipart/mixed in the header checks
could be enough. It would be even better to do it in filter_nnrpd.pl so
that the user gets some info (if it's a local post).

I have some experience in tweaking cleanfeed for my needs (the last
changed I am trying soon is to transform ALL rejects into NoCeM so that
my users can, through my NNTP/NNRP proxy, select which one they want to
apply, see https://nnrp.alphanet.ch/config for a web demo).

> To me, it looks like a bug in cleanfeed, but is it possible that such 
> basic loophole in a filter used by most news servers went unnoticed?

Could well be either an old version, or a bug, yes.

Doing a quick search shows me that the original author has not released
anything since 1998, and that there are various patches floating around
and a mixmin version on GitHub, dating > 10 years ago.

Anyone has a more recent version?
Technical Details
Message-ID: <u5t7fa$sii$1@shakotay.alphanet.ch>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <u5sogj$ish$6$arnold@news.chmurka.net> <u5sq5i$tf0$4@shakotay.alphanet.ch> <u5sth5$n3c$14$arnold@news.chmurka.net>

Show Full Headers
Complete Article Headers
Message-ID: <u5t7fa$sii$1@shakotay.alphanet.ch>
Subject: Re: inn filtering question (and cleanfeed problem?)
Date: Thu, 08 Jun 2023 18:42:50 +0000
From: Marc SCHAEFER <schaefer@alphanet.ch>
References: <u5sogj$ish$6$arnold@news.chmurka.net> <u5sq5i$tf0$4@shakotay.alphanet.ch> <u5sth5$n3c$14$arnold@news.chmurka.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: Posted through news.alphanet.ch
Injection-Date: Thu, 8 Jun 2023 18:42:50 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-account="schaefer"; logging-data="29266"; mail-complaints-to="usenet@alphanet.ch"; posting-host="634ce6c9682d817d72f6177875e2bb4f.nnrp.alphanet.ch"
User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-23-amd64 (x86_64))
Cancel-Lock: sha256:ttQK1jCkhYM+BWo/PpMKH0U64GqaUvppzJPbi6Hof/k= sha256:y21MHAkDY/bp48Guq1gVZ/hiidy2cDdCOEI5V04xMCw=