🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92921

[ANNOUNCE] cleanfeed-ng GitHub repository and 2026-07-03 RC1 (Was: [RELEASE] cleanfeed 2026 maintenance release for INN2.7/2.8)

#92921
From: Ivo Gandolfo
Date: Tue, 14 Jul 2026 21:28
240 lines
9404 bytes
Hi everyone,

Following the encouraging feedback received over the past few days, I am
pleased to announce that the project has now officially moved to GitHub
under its definitive name:

     cleanfeed-ng

GitHub repository:

     https://github.com/infybofh/cleanfeed-ng

The project is intended to be a community-maintained continuation of the
historical Cleanfeed project, originally created by Marco d'Itri and 
later maintained by Steve Crook.

What initially started as a small maintenance update to investigate 
reports of misplaced binary articles in text-only newsgroups quickly 
evolved into a much more extensive review of the entire codebase.

During this work, numerous long-standing issues were fixed, obsolete 
code was removed, helper tools were modernized, documentation was 
completely rewritten and several new optional features were introduced, 
while always trying to preserve Cleanfeed's original philosophy: remain 
lightweight, efficient and suitable for busy INN transit servers.

The feedback received from the community, especially from Julien ÉLIE,
The Doctor and several other news administrators, has been invaluable.
Testing on production servers helped identify edge cases, refine several
parts of the filter and improve the overall quality of the project.

For this reason I decided it was finally time to move the project to a
public GitHub repository, where development, issue tracking and future
contributions can happen much more naturally than exchanging ZIP 
archives by email.

======================================================================
Versioning
======================================================================

Starting with cleanfeed-ng, the project adopts a date-based versioning
scheme inspired by Ubuntu releases:

     YYYY-MM-VV

where:

     YYYY  = release year
     MM    = release month
     VV    = incremental release number for that month

Examples:

     2026-07-01
     2026-07-02
     2026-07-03

Release Candidates append the "RC" suffix (for example 2026-07-03 RC1),
while stable releases simply use the version number.

The goal is to make the age and evolution of every release immediately
obvious.

======================================================================
Development history
======================================================================

The project has intentionally been developed through small incremental
public releases.

2026-07-01 (Alpha 1)

     First public maintenance snapshot.

     This release established the initial modernized baseline, fixed the
     most urgent issues, reorganized the package and completely rewrote
     the documentation and example configuration files.

2026-07-02 (Alpha 2)

     Second public maintenance snapshot.

     This version introduced additional bug fixes, new configuration
     directives, runtime configuration validation, improved diagnostics,
     new policy mechanisms and several internal improvements.

     More importantly, it became the first version tested on production
     servers other than my own. The feedback received during this phase
     proved extremely valuable for identifying edge cases and improving
     compatibility.

2026-07-03 RC1

     First public Release Candidate published on GitHub.

     RC1 incorporates the feedback collected during the public Alpha
     testing phase.

     Several internal components have been reviewed and optimized,
     including substantial work on the binary detection engine to improve
     both accuracy and execution speed.

     The codebase has also been simplified by removing obsolete
     compatibility code and historical workarounds that are no longer
     relevant on current INN installations and modern Perl releases.

     Additional profiling and optimization work has been performed with
     the specific goal of minimizing execution time on busy transit
     servers processing very large article volumes.

The Alpha releases remain available in the GitHub Releases page for
historical reference and comparison. I removed the oldest version from
my website. Don't use them, it's now obsolete.

======================================================================
Highlights
======================================================================

* Extensive review of the original Perl code.

* Numerous bug fixes throughout the filter.

* Improved detection of misplaced binary articles, including yEnc, MIME,
   Base64, uuencode and related encodings.

* Runtime configuration validation before activation.

* Automatic rollback to the last known-good external rule set whenever
   invalid regular expressions are detected.

* Optional peer-based and hierarchy-based policies.

* New audit mode allowing administrators to evaluate new rules before
   switching them to reject mode.

* Stable reject reason codes.

* Improved diagnostics and logging.

* Runtime configuration consistency checks.

* Modernized helper utilities (Python 3).

* Standalone configuration checker.

* Standalone article testing tool.

* Audit log analyzer.

* Internal code cleanup and performance optimizations.

* Completely rewritten documentation.

* Fully commented example configuration files.

======================================================================
Design principles
======================================================================

cleanfeed-ng follows a few simple principles.

• Performance first.

   The filter executes for every article accepted by innd. Every new
   feature therefore needs to justify its execution cost of CPU and
   RAM and time.

• Safe by default.

   New policy mechanisms are designed to support an audit mode before
   enabling reject mode, allowing administrators to observe the effects
   of configuration changes before enforcing them. In case of errors or
   mistakes, the filter does not disable itself and continues to work.

• Simplicity over complexity.

   The goal is to improve Cleanfeed, not to replace it with a heavyweight
   filtering framework.

• Backwards-friendly configuration.

   Existing installations should continue to work with little or no
   configuration changes, while administrators may gradually adopt the
   new optional features.

• Modern codebase.

   cleanfeed-ng intentionally targets modern Perl versions and current
   INN releases. Obsolete compatibility code has been removed whenever
   doing so simplified the implementation and improved maintainability.
   So this means the old INN versions or old OS not updated cant use CF.

======================================================================
Current status
======================================================================

The current GitHub release is published as **2026-07-03 RC1**.

Although it has already been successfully tested on several production
servers, I would greatly appreciate additional testing before publishing
the first stable release.

In particular, I would welcome reports about:

     * false positives;
     * false negatives;
     * performance;
     * portability;
     * unusual articles;
     * suggestions for improvements.

======================================================================
Contributions
======================================================================

Issues, discussions, pull requests and patches are all welcome.

One of the motivations for moving to GitHub was to make collaboration
considerably easier than exchanging ZIP archives by email.

My intention is not only to keep Cleanfeed actively maintained, but also
to build a healthy, collaborative project around it.

Many thanks again to everyone who has already tested the software,
reviewed the code and provided suggestions.

Special thanks go to Marco d'Itri, Steve Crook, Paolo Amoroso,
Julien ÉLIE, Russ Allbery, The Doctor, Ray Banana and everyone else who
has contributed to INN, Cleanfeed and Usenet over the years, this
version is dedicated to them.


I hope cleanfeed-ng will prove useful to the wider INN community.



Sincerely

--
Ivo Gandolfo
Technical Details
Message-ID: <11369ml$1couf$1@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>

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: [ANNOUNCE] cleanfeed-ng GitHub repository and 2026-07-03 RC1 (Was:
 [RELEASE] cleanfeed 2026 maintenance release for INN2.7/2.8)
Date: Tue, 14 Jul 2026 23:28:53 +0200
Organization: To protect and to server
Message-ID: <11369ml$1couf$1@paganini.bofh.team>
References: <11306rt$3l5ob$1@paganini.bofh.team>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 14 Jul 2026 21:28:53 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="1467343"; posting-host="UVa2lCJi2YFEtTlJ34XukQ.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="NnMoDEm3qkIJGKBtBYRUeg";
User-Agent: Mozilla Thunderbird
X-Notice: Filtered by postfilter v. 0.9.3
Content-Language: en-US