πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92910

Re: [RELEASE] cleanfeed 2026 maintenance release for INN2.7/2.8

#92910
From: Ivo Gandolfo
Date: Mon, 13 Jul 2026 15:05
91 lines
4721 bytes
Il 13/07/2026 13:33, Julien Γ‰LIE ha scritto:
> Hi Ivo,
> 


Hi Julien,

Many thanks for installing it and for offering to send me your logs. 
Having it tested on your server will be extremely useful.

Regarding the log lines: rejection logging is enabled by default, and 
the new policy and anomaly checks that use `audit` or `reject` mode are 
also intended to produce diagnostic events when they match. the `audit` 
it's born just to test if everything working fine before switching to 
`reject` mode (just-in-case if you put something wrong in the config, 
the filter warning you something is wrong into the log's, and don't 
apply it but using latest working rules or nothing if no previous rules 
was applied).

No additional INN setting should normally be required if Cleanfeed 
messages are already reaching `news.notice`. However, the exact 
destination still depends on the local INN/syslog configuration (on my 
Ubuntu systems it's usually `/var/log/news/news.notice`).

The lines I am mainly interested in are those produced by the filter, 
especially entries containing `filter:`, `cleanfeed_event`, or one of 
the new `CF-*` reason codes. Naturally, please remove or anonymize 
anything you do not want to share.

You are also right about `CLEANFEED_CONFIG_DIR`. I should have mentioned 
it in the announcement. It avoids editing the main filter whenever the 
configuration directory differs from the historical default and should 
make future upgrades much easier.

For example:

```
CLEANFEED_CONFIG_DIR=/etc/news/cleanfeed
```

I originally added it mainly for offline testing. At first I thought 
that editing the original path (or having the installation script patch 
it automatically) would be the simplest approach for production 
installations.

However, since you pointed it out, I think you may be right. Keeping 
`CLEANFEED_CONFIG_DIR` as a permanent feature probably makes future 
upgrades easier and avoids local modifications to the filter itself. I'm 
happy to keep it that way.

Regarding `bad_hosts_central` and `bad_url_central`: yes, I would like 
to revive that functionality.

The current release still supports both files, and the new `mtime`-based 
reload mechanism can detect an atomic replacement and load the updated 
rules without requiring changes to the main filter.

What is currently missing is a maintained and trustworthy source (and, 
of course, someone willing to maintain it).

I would not make Cleanfeed itself download anything, because network 
access and update handling should not happen inside the `innd` filtering 
path. My preferred implementation would be a small external updater, run 
from cron or a systemd timer, which would:

* download the lists from a configured source;
* verify their syntax before installation;
* reject unsafe or invalid regular expressions;
* optionally verify a signature or published SHA-256 digest;
* retain the previous valid copy if an update fails;
* replace the files atomically;
* let Cleanfeed notice the new `mtime` and reload them.

The difficult part is not the updater itself but deciding who maintains 
the lists, defining inclusion and removal criteria and avoiding stale 
entries and false positives, same as for the NoCEM notice.

Unfortunately the original central lists from Mixmin are no longer 
maintained, so the real challenge is finding a reliable source for them. 
If the newsmaster community is interested this is definitely something 
we could work on together.


Thanks again for testing the release and for your feedback.


Sincerely,

--
Ivo Gandolfo
Technical Details
Message-ID: <1132ur4$3l5ob$3@paganini.bofh.team>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
References: <11306rt$3l5ob$1@paganini.bofh.team> <1132ie8$1md$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
From: Ivo Gandolfo <usenet@bofh.team>
Newsgroups: news.software.nntp
Subject: Re: [RELEASE] cleanfeed 2026 maintenance release for INN2.7/2.8
Date: Mon, 13 Jul 2026 17:05:08 +0200
Organization: To protect and to server
Message-ID: <1132ur4$3l5ob$3@paganini.bofh.team>
References: <11306rt$3l5ob$1@paganini.bofh.team>
 <1132ie8$1md$1@news.trigofacile.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Jul 2026 15:05:08 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="3839755"; posting-host="UVa2lCJi2YFEtTlJ34XukQ.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="NnMoDEm3qkIJGKBtBYRUeg";
User-Agent: Mozilla Thunderbird
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.3