🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92947

Re: [ANNOUNCE] cleanfeed-ng GitHub repository and 2026-07-03 RC1

#92947
From: Kevin Bowling
Date: Thu, 16 Jul 2026 21:12
100 lines
6582 bytes
On 7/16/26 13:36, Jesse Rehmer wrote:
> On Jul 16, 2026 at 1:22:08 PM CDT, "Ivo Gandolfo" <usenet@bofh.team> wrote:
> 
>> * Diablo *: The last stable release (5.1) from the official maintainer
>> was released in 2007. It was unofficially patched by engineer Miquel van
>> Smoorenburg, who worked for XS4ALL (a Dutch provider) until 2009.
>> Version 6.0 from 2013 (I think it only includes XS4ALL patches and small
>> changes, probably released by the same engineer) is still in
>> circulation, dating back to 2017, this version patched seems in use on
>> XS4ALL servers. Too many years have passed without further development,
>> even though the official website continues to take snapshots every day,
>> but no changes have been made. I think this too can be considered
>> "abandonware" if no one is thinking of continuing development. I
>> checked, and it also still has some active CVEs (although they don't
>> seem too dangerous, but you never know).
>> Some newsmaster here use them (Jesse Bluewordhosting I know) and alot of
>> USP (Abavia, XSNews, etc) as transit server, see:
>>
>> I think Jesse compiled the version himself, and USP use latest "stable
>> and ancient" version.
> 
> Diablo isn't publicly maintained, but the commercial NSPs seem to have
> furthered development/fixed bugs, but no contribution has been made public
> (that I'm aware of). Which is really sad, because it is a beast in terms of
> throughput capabilities compared to INN.
> 
>> * Highwings Cyclone and Typhoon *: NNTP software (proxy reader and
>> transit server) developed by Highwings Media, closed source and under a
>> pay license, and used by it and all its USP resellers. Cleanfeed
>> probably supported this type of server, but reading the manual,
>> unfortunately, reveals that external Perl filters are barely (if at all)
>> supported. It's full-blown abandonware. Don't laugh: it doesn't even
>> support IPv6, and the latest release is from 2010 and requires Linux
>> Kernel 2.6 (!!!) or Solaris 10 (!!!!!!). I wouldn't install a Solaris
>> server today even if they showered me with gold.
> 
> Highwinds doesn't publish any current information about Cyclone or Typhoon,
> but I believe it is still actively maintained, but is commercial only. (Also,
> don't be afraid of Solaris, it's quite a nice operating environment IMHO.) I'm
> currently using OmniOS, an illumos-based distribution, which is a fork from
> OpenSolaris.
> 
>> *NNTPSwitch*: It's an NNTP proxy, not an NNTP server (it uses INN or
>> Diablo servers as a backend for the articles, see the manual itself).
>> Starting out as closed-source, after NVE news-service.com's court defeat
>> against the RIAA, one of the developers released the sources. Some USPs
>> (and their resellers) still use it, but I think they've continued
>> developing in-house, in fact, some support IPv6 and have other features
>> that the version I found doesn't have. Regardless, it can be considered
>> abandonware or closed-source, but no longer officially developed.
> 
> I used NNTPSwitch for several years when it would compile on RHEL 5/6. I
> really enjoyed it and its features, but was unable to successfully compile on
> newer versions of Linux. I would *love* to see someone pick this project up.
> 
>> However, if Jesse could read and tell us if he uses upstream filters, maybe we
>> could work
>> on it.
> 
> Steve Crook's version of Cleanfeed works with Diablo. I'm not currently using
> it on my Diablo transit server, but did at one time.
> 
> I'd be happy to setup a Diablo instance and give your filter a try.

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.

extern int          filterapi_init(int shm_key, int size);
extern const char * filterapi_fetch(unsigned long offset, size_t *len);
extern void         filterapi_destroy(void);

Wire protocol:
1. Daemon side
    - socketpair(AF_UNIX) + shmget(10 MiB) + `fork()` + 
execve(FilterProgram) per child.
    - Sends 4-line handshake over the socket:
      Version = 2.0
      Mode = FastFilter
      Key = <shm key>
      Length = 10485760
    - Per article: writes <offset> <msgid>\r\n to child stdin
      (signal: new article waiting at that shm offset).
    - Reads back 335 <msgid>\r\n (accept) or 435 <msgid>\r\n (reject).
2. Filter side (Perl or C using the SDK):
    - filterapi_init(key, size) → shmget(key, size, 0400) + shmat
      (read-only attach).
    - Reads <offset> <msgid> from stdin.
    - filterapi_fetch(offset, &len) - reads 4-byte LE length prefix at
      shm + offset`, returns pointer to shm + offset + 4.
    - Decides accept/reject.
    - Writes verdict line to stdout.

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.
Technical Details
Message-ID: <113bhf8$1g6$1@csiph.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder9.news.weretis.net!csiph.com!.POSTED.172.83.103.228!not-for-mail
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>

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!csiph.com!.POSTED.172.83.103.228!not-for-mail
From: Kevin Bowling <kevin.bowling@kev009.com>
Newsgroups: news.software.nntp
Subject: Re: [ANNOUNCE] cleanfeed-ng GitHub repository and 2026-07-03 RC1
Date: Thu, 16 Jul 2026 14:12:07 -0700
Organization: csiph.com Internet News Service
Message-ID: <113bhf8$1g6$1@csiph.com>
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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 16 Jul 2026 21:12:08 -0000 (UTC)
Injection-Info: csiph.com; posting-host="172.83.103.228";
	logging-data="1542"; mail-complaints-to="admin@kev009.com"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:+Zui3QbHsyjODZ/K9t029PtF8H4= sha256:g5NGB/RIBhdjAoT2xBAeDb/oey+mR45vG1o4bM5hnMI=
	sha1:mXdHLCZt9UA98mr54UynuHolhwQ= sha256:DLkVfuc3I8JGyMwMTey0yyZ+S1OEGpFgsAkyQyE4G8w=
Content-Language: en-US
In-Reply-To: <113bfcc$dsa$1@omnios-inn.blueworldhosting.com>