🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92992

Re: [RELEASE] Postfilter-NG 2026.07.5-rc2 nnrpd filter

#92992
From: The Doctor
Date: Wed, 22 Jul 2026 03:00
104 lines
4849 bytes
In article <113opai$3rh24$2@paganini.bofh.team>,
Ivo Gandolfo  <usenet@bofh.team> wrote:
>Hi all,
>
>I am publishing the first public release candidate of Postfilter-NG:
>
>     Postfilter-NG 2026.07.5-rc2
>
>Repository and release:
>
>     https://github.com/infybofh/postfilter-ng
>
>Postfilter-NG is a modernized continuation of the original Postfilter 
>Perl hook for INN nnrpd.
>
>The original philosophy remains unchanged: inspect articles submitted by 
>users, apply local posting policies, reject abusive or malformed 
>content, normalize selected headers, protect private information and 
>provide useful logs to the newsmaster.
>
>The implementation, however, has been extensively rewritten and reorganized.
>
>Among the main additions:
>
>- modular Perl code instead of a single large script;
>- TOML configuration and configuration fragments;
>- separate handling of text and binary hierarchies;
>- explicit protection against mixed text/binary crossposts;
>- MIME parsing and attachment detection in text groups;
>- detection of yEnc, UUencode and large Base64 blocks;
>- configurable exemptions for PGP signatures, keys and certificates;
>- header replacement, removal and pseudonymization;
>- structured syslog logging with symbolic result codes;
>- audit mode, quarantine and rejected-article storage;
>- SQLite-backed history and audit information;
>- last-known-good and emergency configuration fallback;
>- command-line administration through postfilterctl;
>- safer installation and manual activation;
>- extensive documentation, examples and more than one thousand automated 
>tests.
>
>Postfilter-NG can distinguish the text and binary worlds from the target 
>newsgroups. A binary article posted to a binary hierarchy can therefore 
>be accepted, while the same content posted to a text group can be rejected.
>
>It can also remove or pseudonymize sensitive information from 
>Injection-Info while preserving local traceability for the server operator.
>
>Performance has improved considerably. In the development benchmark, the 
>same workload required approximately:
>
>     Original Postfilter: 1200 ms
>     Postfilter-NG:        201 ms
>
>This is about 5.5 times faster, despite the additional checks and 
>features. Naturally, real performance depends on configuration, article 
>size, enabled modules, logging and storage.
>
>The installer does not automatically replace the active INN posting 
>hook. It installs a candidate named:
>
>     filter_nnrpd.pl.ng
>
>The newsmaster can verify the configuration, permissions, database and 
>embedded Perl loading before manually activating it as filter_nnrpd.pl.
>
>Please note that Postfilter-NG is an nnrpd posting filter. It is not 
>reloaded by:
>
>     ctlinnd reload filter.perl
>
>That command applies to filter_innd.pl. Postfilter-NG is loaded when a 
>new nnrpd process starts.
>
>This release candidate has been tested with real posts from Thunderbird 
>and raw NNTP sessions, including header transformations, anonymous 
>users, pseudonymization, SQLite concurrency and embedded-INN loading.
>
>I still recommend starting in audit mode and checking the results 
>against real traffic before enabling rejection in production.
>
>Bug reports, false-positive reports, performance results, unusual MIME 
>examples, documentation corrections and pull requests are welcome on GitHub.
>
>The original Postfilter had a useful idea worth preserving.
>
>The old guard at the posting gate is still there — it simply received a 
>rather extensive upgrade.
>
>
>Special thanks to Paolo Amoroso (Aioe) to mantain it until 2018.
>
>
>Sincerely
>
>-- 
>Ivo Gandolfo
>

Got you!
-- 
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism ; 31 years in the ISP business!
Technical Details
Message-ID: <113pbol$tna$26@gallifrey.nk.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder9.news.weretis.net!news.nk.ca!.POSTED.doctor.nl2k.ab.ca!not-for-mail
References: <113opai$3rh24$2@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!weretis.net!feeder9.news.weretis.net!news.nk.ca!.POSTED.doctor.nl2k.ab.ca!not-for-mail
From: doctor@doctor.nl2k.ab.ca (The Doctor)
Newsgroups: news.software.nntp
Subject: Re: [RELEASE] Postfilter-NG 2026.07.5-rc2 nnrpd filter
Date: Wed, 22 Jul 2026 03:00:37 -0000 (UTC)
Organization: NetKnow News
Message-ID: <113pbol$tna$26@gallifrey.nk.ca>
References: <113opai$3rh24$2@paganini.bofh.team>
Injection-Date: Wed, 22 Jul 2026 03:00:37 -0000 (UTC)
Injection-Info: gallifrey.nk.ca; posting-host="doctor.nl2k.ab.ca:204.209.81.1";
	logging-data="30442"; mail-complaints-to="usenet@gallifrey.nk.ca"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: doctor@doctor.nl2k.ab.ca (The Doctor)