Article View: news.software.readers
Article #256892Re: [ANN] Influx Usenet Filter v0.9.0.0
From: Ian
Date: Tue, 04 Feb 2014 07:28
Date: Tue, 04 Feb 2014 07:28
331 lines
17583 bytes
17583 bytes
VanguardLH <V@nguard.LH> wrote in news:lcpqsi$u3l$1@dont-email.me: > 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: > Xref:full > . > > 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). Hi Vanguard, interesting post. It's correct that XOVER will only pull fields available in the news server OVERVIEW.FMT database. I've restricted the current version to using XOVER just to get the back end and basic GUI stable before venturing into filtering full article headers and bodies which involves changes to my state machine and parsing, not really trivial changes at this point. I think Influx would be valuable to people who don't want to maintain a seperate application to the extent that they do with Hamster or nFilter, as well as the more advanced filtering mentioned on my site. And I think being newsreader agnostic is a good selling point. > > 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). > I'd quibble with the assertion that chaining together multiple distinct solutions makes things less reliable - I'm not sure where the evidence is for that. In fact Linux and Unix are based on the that principle and they seem to work pretty well.99% of all modern applications are composed of integrated solutions from various parties because those indvidual elements work well within their dedicated remit, e.g. GUI library, network lib etc, > 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? Because they don't want to use regular expressions, or any other complex filtering solutions. > 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. > I think it allows users who want to stay with their current newsreader or who use multiple newsreaders to keep a consistent set of filters which are easy to maintain and use. Users can even share rule files if they want to. Every time you change newsreader you have to change the way you filter articles. Again, it's about usability and portability. > "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. > No, I avoided regex because they're too complicated and unintuitive for the user in the context of my application. Whether I use regex in the back end is another matter. It was a design choice following the principle of ease of use. I do the complicated stuff so the user doesn't have to. > "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. > I disagree with that. The proxy is used to transparently remove unwanted articles. It's not strictly used to tag articles of interest, that's the newsreaders job. It's just a nice feature to have. The articles matching filtering rules are either dropped (they never reach the newsreader) or they can be tagged in an existing or custom header. So tagging isn't strictly neccessary, articles can just be dropped. > "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. > It's a standard feature. To put in the context of the current working features, group filtering hasn't been implemented. All filters are global. In the version noted on the site I will implement proper group filtering. Some of these features are just covering inevitable questions about why the current version doesn't have these basic features. They're not stricly selling points that differntiate my application from others. > "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. > My answer to that would be as I've said above, it's not neccessarily a differentiating feature, it's just a feature that will be implemented but isn't currently. > 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. You could argue that the client has the same problem. It has to apply filtering rules at some point which implies a performance hit. If you mean that in the case of an online reader the network performance is affected, the relative performance of the network versus the application is much slower for the former, so I don't consider it an issue. In any case, what matters is if the user notices. If it slows the client to a noticeable degree, yes it's a problem. But I don't believe that it will be. There is zero noticeable performance hit with XOVER without any optimisation so far. So I'm confident the performance won't be a problem. > 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. > As above, performance isn't really an issue. To be pedantic, there is a lot of buffering going on in order to parse and deal with incoming and outgoing data. If you mean that applications like Hamster buffer in the sense that they download articles first, it's always going to be faster to download from a local news server than one on the network regardless of whether you have Influx in-between. I could buffer articles, I did think about that design but I decided it was overkill and I still think the reasoning is sound. It's too complex to maintain a news server when all you want to do is filter articles. Hamster really solves different problems in my view. It's really about: 1. Ease of Use. 2. Consistent filtering setup across newsreaders 3. Advanced filtering To be fair I haven't really explained #3 on the site partciularly well, I'm still thinking about what I'm doing there. Maybe I need to explain that better on the site. Thanks. -- Cheers, Ian http://www.dilesware.com Influx Usenet Filter
Technical Details
Message-ID:
<XnsA2CAD0596785Bdilesware2014@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!f11no12233493qae.1!news-out.google.com!y18ni2995qap.1!nntp.google.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!news.astraweb.com!border5.newsrouter.astraweb.com!not-for-mailReferences:
<XnsA2C9EADC3A814dilesware2014@216.151.153.41> <20140203053154.623@news1.newsguy.com> <XnsA2CAA5CB0A7AFdilesware2014@216.151.153.45> <lcpqsi$u3l$1@dont-email.me>Show Full Headers
Complete Article Headers
Message-ID: <XnsA2CAD0596785Bdilesware2014@216.151.153.45> Subject: Re: [ANN] Influx Usenet Filter v0.9.0.0 Date: Tue, 04 Feb 2014 07:28:51 +0000 From: Ian <support@dilesware.com> References: <XnsA2C9EADC3A814dilesware2014@216.151.153.41> <20140203053154.623@news1.newsguy.com> <XnsA2CAA5CB0A7AFdilesware2014@216.151.153.45> <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!f11no12233493qae.1!news-out.google.com!y18ni2995qap.1!nntp.google.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!news.astraweb.com!border5.newsrouter.astraweb.com!not-for-mail X-Received: by 10.58.151.98 with SMTP id up2mr14874466veb.14.1391498931751; MIME-Version: 1.0 Newsgroups: news.software.readers Organization: Dilesware User-Agent: Xnews/2006.08.24 Lines: 331 NNTP-Posting-Host: 2d037771.news.astraweb.com X-Trace: DXC=R6PbCAEAcDhj05>>><PFIcL?0kYOcDh@j[_o@C>; FPff4B81KWZLGd`[`2jY88cePjRG2`=_h:8oc30D]LjG; R\h3]TQ68LMRblQPc6I6coF[l X-Received-Bytes: 16926 X-Received-Body-CRC: 1173852398 X-Original-Bytes: 17273