Article View: news.software.nntp
Article #92952Re: [ANNOUNCE] cleanfeed-ng GitHub repository and 2026-07-03 RC1
From: Ivo Gandolfo
Date: Thu, 16 Jul 2026 23:42
Date: Thu, 16 Jul 2026 23:42
69 lines
4006 bytes
4006 bytes
Il 16/07/2026 23:12, Kevin Bowling ha scritto:
> I was looking into these servers a bit to see how they worked, and one
> interesting thing in Typhoon and Diablo wrt CleanFeed: both daemons
> share the same filter ABI, although Diablo doesn't have the FastFilter
> shm option. Typhoon is heavily threaded, per connection and some helper
> pools, so filter and auth run in helper pools so you don't have to wait
> for exec perl every time.
Al lot of difference between INN and that.
> I guess cleanfeed could regrow that support. Not sure it matters on inn
> (currently) because perl is embedded and single process/thread but
> something to consider if that changes.
>
this is much more interesting than I initially expected.
If Diablo and Typhoon really share that FastFilter ABI, then supporting
them does not look like a complete port of cleanfeed-ng. The filtering
engine itself only needs an article, its headers and body, and must
eventually produce an accept or reject decision.
The main difference is therefore not the filtering logic, but the host
adapter:
* INN embeds Perl inside innd and directly provides the article data and
INN logging functions;
* FastFilter runs as an external persistent process, retrieves the raw
article from shared memory and returns a 335 or 435 response.
A possible design would be to keep one common cleanfeed-ng engine and
provide two adapters:
INN adapter
FastFilter adapter for Diablo/Typhoon
The FastFilter adapter would handle the handshake, shared-memory access,
raw article parsing, logging and conversion of the cleanfeed-ng result
into the 335/435 wire response.
There are a few details that still need investigation.
Does the FastFilter interface expose the identity of the incoming
peer/feed, or only the raw article and Message-ID?
That matters because cleanfeed-ng has optional peer-based policies.
Audit mode can easily be implemented by logging a finding and returning
335, but quarantine may not have a direct equivalent if the ABI only
supports accept and reject.
Another point is worker state. If Diablo or Typhoon runs several filter
helpers, each process would have its own caches, counters, EMP state and
rate-limit data. Local caches are fine, but global state and persistent
files would need to be handled carefully without adding expensive IPC to
the article path.
If the Diablo adapter works cleanly, Typhoon compatibility may follow
from the shared ABI, although it should still be tested on a real
installation before being documented as supported, but in one case it's
need to pay, and I don't think it's necessary to spend time and money on
that, HW don't filter anything.
Sincerely,
--
Ivo Gandolfo
Technical Details
Message-ID:
<113bq9g$2256e$4@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-mailReferences:
<11306rt$3l5ob$1@paganini.bofh.team> <11369ml$1couf$1@paganini.bofh.team> <1138s4p$c5c9$1@news.trigofacile.com> <113b7gg$2256f$1@paganini.bofh.team> <113bfcc$dsa$1@omnios-inn.blueworldhosting.com> <113bhf8$1g6$1@csiph.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: [ANNOUNCE] cleanfeed-ng GitHub repository and 2026-07-03 RC1 Date: Fri, 17 Jul 2026 01:42:41 +0200 Organization: To protect and to server Message-ID: <113bq9g$2256e$4@paganini.bofh.team> References: <11306rt$3l5ob$1@paganini.bofh.team> <11369ml$1couf$1@paganini.bofh.team> <1138s4p$c5c9$1@news.trigofacile.com> <113b7gg$2256f$1@paganini.bofh.team> <113bfcc$dsa$1@omnios-inn.blueworldhosting.com> <113bhf8$1g6$1@csiph.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 16 Jul 2026 23:42:40 -0000 (UTC) Injection-Info: paganini.bofh.team; logging-data="2168014"; 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