🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #256889

Re: [ANN] Influx Usenet Filter v0.9.0.0

#256889
From: VanguardLH
Date: Tue, 04 Feb 2014 04:38
205 lines
12428 bytes
Ian wrote:

> moses@gmail-.com wrote in news:20140203053154.623@news1.newsguy.com:
> 
>> 
>> On 2014-02-03, Ian <support@dilesware.com> wrote:
>>> Hi,
>>>
>>> I've been working on filtering software for Usenet for a while. I've 
>>> tentatively released a beta on the website (see sig). It's very
>>> primitive at the moment but it's about time I released it. At the
>>> moment it's limited to exact matching for filters, i.e. there's no
>>> wildcard ability at the moment. It's also limited to certain XOVER
>>> fields. I think the most useful function will be filtering on the
>>> From: header and possibly Subject. It's designed to run between the
>>> news server and newsreader so you can use it on any newsreader. For
>>> details on what I hope it will be able to do see my about page on the
>>> website. 
>>>
>>>
>>>
>> 
>> I think there is already a program that is open source that runs on
>> Windows. IIRC the name was hamster. 
>> 
> 
> Hi Moses,
> 
> I think I've seen Hamster before but I'd forgotten about it until now,
> thanks for the reminder. It's not really the same thing though. Influx
> isn't a news server, it's a "thin" proxy between the server and
> newsreader that drops articles according to filter rules. The newsreader
> still drives everything. 
> 
> Also I'm going for two main principles I think has been lacking for
> these type of applications: 
> 
> 1. Ease of Use - I've yet to be convinced Hamster or NFilter are easy to
> use. With Influx it's just a case of setting your news server name once
> and then clicking "Add Filter" on the field you're interested in with
> appropriate rule text. It will be even easier once I add white and black
> listing and other filtering techniques. 
> 
> 2. Usenet specific filtering - I don't believe anyone else is filtering
> in the same way Influx will be post-Beta,
> see:<http://www.dilesware.com/about.html> 
> 
> Also Hamster, NFilter (which is probably closer to what I'm doing than
> Hamster) etc. have all been abandoned as far as I can tell.

I thought the XOVER command simply returned all the headers for an
article available from the overview database, not from the articles
database.  That is, XOVER returns the same list of headers (per article)
that you could see from the LIST OVERVIEW.FMT command.  Well, that
doesn't include all headers for an article.  For example, if you run the
LIST OVERVIEW.FMT command, you won't see the PATH header listed yet it
is very useful to determine the injection node for an article to further
identify a poster's Usenet identity or filter based on from where the
article got injected.

You're posting via Atraweb.  I tried to telnet into news.astraweb.com to
run the LIST command but apparently they won't let me submit any
commands under after I login.  I have no login there.  So I went to my
own NNTP server and ran the following:

telnet news.eternal-september.org 119
list overview.fmt
215 Order of fields in overview database
Subject:
From:
Date:
Message-ID:
References:
Bytes:
Lines:
..

That means the only overview headers that will available from the
articles (when retrieving their headers and not their complete body) are
From, Date, MID, Referecnes, Bytes, Lines, and Xref.  The Bytes and
Lines let the client decide if it won't download the body of articles
that exceed a size threshold.  With Subject, From, and MID being the
only useful headers for filtering, the filters are too weak.  Alas, NNTP
servers are required by RFC to keep a MID header inserted by the client
versus discarding it and always using a MID header added by the server.  

So you don't get much on which to filter with just the overview headers.
The XPAT command can let the client request the server return any header
for an article, like a non-overview header; however, most servers
consider it abusive and also a duplication (unnecessary load) of their
resources since downloading the entire article already includes all the
overview and non-overview headers.  None of the NNTP servers that I've
used will honor XPAT.

Wouldn't your proxy be of value only to NNTP clients that cannot test on
the overview headers the client doesn't include in their rules and for
clients that cannot test on non-overview headers?  Many can already test
on the overview headers although some clients omit some of them, like
the MID header.  That is, the clients can test on the overview headers
but perhaps not all of them.  Many do not have clauses in their rules to
let them test on the non-overview headers (e.g., PATH). 

The client I use (40tude Dialog) has 2-pass filtering.  Rules I define
that exercise against the overview headers are tested in the 1st pass
(when the overview headers are retrieved).  If a message gets flagged in
the 1st pass then there is no reason to exercise rules on the
non-overview headers on that same message in the 2nd pass.  If not
flagged in the 1st pass, rules testing against the non-overview headers
are exercised in a 2nd pass.  My client doesn't support the XPAT command
to retrieve specific headers from the server plus I haven't used an NNTP
server that supported that command.  Only if *both* the NNTP server and
client support the XPAT command does it have some value (but I don't
have stats to see if doing XPAT to retrieve all headers for an article
is any faster than just retrieving the entire article).

I must configure my client to download the entire message (headers +
body).  That means I can test on all headers: overview and non-overview.
This is doable because I don't waste time, bandwidth, and disk space
visiting binary newsgroups.  I only visit text-only newsgroups so
retrieving them complete takes little time and gives me all the headers
on which to test plus my client lets me test on ANY header, not just
some of the overview headers.

For clients that only permit testing on some of the overview headers
even after downloading the complete message then I can see the need for
a proxy before the client to compensate for that deficiency in the
client.  Seems like your solution really targets users of Microsoft NNTP
clients.  As I recall, Mozilla eventually but late got around to adding
the ability to define a rule that would test on a header that the user
specified instead of just a few overview headers; however, someone that
uses Thunderbird for posting in Usenet would have to reply as to whether
or not that header-rule in Thunderbird will test on non-overview headers
or only on the overview headers.  If Thunderbird can test on
non-overview headers then does it get them by using XPAT (which the
server likely does not support) or by retrieving the complete article?

It seems the user of a weak NNTP client that only allows testing on some
but not all of the overview headers or doesn't allow testing on
non-overview headers could install your proxy or install a better
client.  For the work involved, it seems going with a better client
would be the smarter choice.  Anytime you have to chain together a
solution composed of multiple distinct solutions means that solution is
less reliable.  If the proxy goes dead, crashes, or is unresponsive then
they don't just lose the filtering but all access to the NNTP server(s).  

When I used OE, I experimented with nFilter (aka newsproxy) but it was
too unstable and it forced me to find a better client rather than trying
to patch up deficiencies in OE.  I had also used OE-quotefix but figured
I needed a better client than trying to patch up more deficiencies in
OE.  If the user goes to a better NNTP client that lets them test on all
overview headers and even on the non-overview headers, and includes
regex to define on just what to filter, why would they need a proxy to
do that filtering?  You solution looks to empower weak clients to
continue posting in Usenet rather than promote users to move to better
clients.  Well, that's doable but akin to putting a weakling in a robot
suit so he could compete at a weight lifting contest.

"Full wildcard matching on all available XOVER article fields"
Hopefully you really meant to say regex (regular expression) matching.
Wildcarding is weak and too broad so users will end up matching on far
more posts than they expect.  Also, filtering on just the XOVER headers
gives them little more, if any, then they could do with rules insides
their own choice of NNTP client.

"Ability to tag articles"
Well, that's a requirement.  You're using a proxy to identify posts of
interest (wanted versus unwanted posts).  The only way you can pass that
identification to the NNTP client is to tag it (probably by adding a
header on which the client could test or adding a tag string to the
Subject header's value).  Without the tagging, nothing identified by
rules in the proxy could be passed to the client.

"Filtering by group"
I have that in 40tude dialog.  That is, I can define global filters that
are exercised on posts from any group or I can define filters that are
exercised only within a specify group.  In fact, I can define filters
that exercise across several groups that match on wildcarded specifier,
like "microsoft.public.*".  Doesn't XNews let you do that, too.  So,
again, it seems your proxy is geared toward weak[er] clients.

"Setting article limits, such as maximum bytes, number of groups posted
to etc"
Bytes is an overview header so any client can test on that (as long as
the client has a clause to test on size they can add in a rule).  Number
of groups (cross-posting) can be determined by counting the number of
delimiters in the Newsgroups header (a non-overview header hence the
client would have to test on non-overview headers to test for
cross-posting limits).  Some clients make it easy to test on exceeding a
cross-post count.

Understand that what you propose is a proxy.  Anything that slows the
proxy, like your proposed change in v2 to scan the body of an article on
which to test with a filtering rule, would slow the client.  Nothing is
getting buffered up in the proxy to make the operation transparent to
the client.  If the proxy is slow then so, too, is the client.  In
contrast, using a local NNTP leech, like hamster, which runs by itself
in the background even when the user is not using their NNTP client
means the articles have already been retrieved and filtered (flagged) by
that leech server.  For someone trying to overcome the deficiencies in
their choice of a weak NNTP client, and between the choice of a proxy or
leech server, I'd probably recommend going with the leech although I'd
first recommend moving to a better and more robust client.  Some folks
don't want to consume the resources of a leech, especially to store
articles that they would normally not retrieve, so for them a proxy is a
better choice for those that refuse to move to a better client.
Technical Details
Message-ID: <lcpqsi$u3l$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
References: <XnsA2C9EADC3A814dilesware2014@216.151.153.41> <20140203053154.623@news1.newsguy.com> <XnsA2CAA5CB0A7AFdilesware2014@216.151.153.45>

Show Full Headers
Complete Article Headers
Message-ID: <lcpqsi$u3l$1@dont-email.me>
Subject: Re: [ANN] Influx Usenet Filter v0.9.0.0
Date: Mon, 3 Feb 2014 22:38:40 -0600
From: VanguardLH <V@nguard.LH>
References: <XnsA2C9EADC3A814dilesware2014@216.151.153.41> <20140203053154.623@news1.newsguy.com> <XnsA2CAA5CB0A7AFdilesware2014@216.151.153.45>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: Usenet denizen
Lines: 206
Sender: VanguardLH <>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 4 Feb 2014 04:38:42 +0000 (UTC)
Injection-Info: mx05.eternal-september.org;
 posting-host="f65692f1328d27b9dd53e0170aa8b6f1";
 logging-data="30837"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX18nXLMXtOJ7pYtjzdhOK++LvzCQFfj884o="
Keywords: VanguardLH VLH811
User-Agent: 40tude_Dialog/2.0.15.41
Cancel-Lock: sha1:pQhms3Ts3FRXuWiOsW+L9LcIcR8=
X-Original-Bytes: 12132