๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
28 messages
28 total messages Started by Aaron W. Hsu Fri, 15 Aug 2008 07:41
Server Side filtering (as pertains to Google Groups)
#224767
Author: Aaron W. Hsu
Date: Fri, 15 Aug 2008 07:41
30 lines
2921 bytes
I noticed that some people have some very strict requirements on their 
ability to filter results, mostly because they want to filter out 
obvious spam. One of the common methods it appears, is the elimination 
of google groups by filtering on Message-ID. [Please, correct me if I 
am wrong here.] 

I am not very knowledgeable about the different servers out there, but 
I have to say that for myself, with no filtering, I receive almost 
zero spam in my newsgroups. I can look at thos same groups on Google 
Groups and see quite a lot of spam. I presume that this is because of 
some server side filtering that they (Giganews) does. 

This got me wondering, what kind of filtering is common for news servers? 
Is it very common to filter, or attempt to filter, spam, or, do servers 
usually not bother with the extra hassle of filtering at all? The reason 
that I mention this is that it seems to be quite a hard thing on some 
people to give up or try out different news readers because their servers 
don't provide server side filtering. Maybe a solution would be a proxy 
like leaf node? Filtering could then be done on the server/proxy side, 
and people wouldn't have to be quite so limited on their exploration 
of news readers? 

	Sincerely,
		Aaron Hsu

-- 
+++++++++++++++ ((lambda (x) (x x)) (lambda (x) (x x))) +++++++++++++++
Email: <arcfide@sacrideo.us> | WWW: <http://www.sacrideo.us>
Scheme Programming is subtle; subtlety can be hard.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Re: Server Side filtering (as pertains to Google Groups)
#224770
Author: Blinky the Shark
Date: Fri, 15 Aug 2008 08:08
43 lines
3187 bytes
Aaron W. Hsu wrote:

> I noticed that some people have some very strict requirements on their 
> ability to filter results, mostly because they want to filter out 
> obvious spam. One of the common methods it appears, is the elimination 
> of google groups by filtering on Message-ID. [Please, correct me if I 
> am wrong here.] 

That is one of the reasons people filter GG.
 
> I am not very knowledgeable about the different servers out there, but I
> have to say that for myself, with no filtering, I receive almost zero
> spam in my newsgroups. I can look at thos same groups on Google Groups
> and see quite a lot of spam. I presume that this is because of some
> server side filtering that they (Giganews) does.

Various servers filter to various degrees, which includes zero.
 
> This got me wondering, what kind of filtering is common for news
> servers? Is it very common to filter, or attempt to filter, spam, or, do
> servers usually not bother with the extra hassle of filtering at all?
> The reason that I mention this is that it seems to be quite a hard thing
> on some people to give up or try out different news readers because
> their servers don't provide server side filtering. Maybe a solution
> would be a proxy like leaf node? Filtering could then be done on the
> server/proxy side, and people wouldn't have to be quite so limited on
> their exploration of news readers?

Leafnode, Hamster, NewsProxy, noffle...

Aye.  That wheel has been invented.  :)

GG filters for each of those on this page.

http://improve-usenet.org/filters_ex2.html


-- 
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
Need a new news feed?  http://blinkynet.net/comp/newfeed.html
Re: Server Side filtering (as pertains to Google Groups)
#224774
Author: Peter J Ross
Date: Fri, 15 Aug 2008 08:48
57 lines
3675 bytes
In news.software.readers on Fri, 15 Aug 2008 02:41:28 -0500, Aaron W
Hsu <arcfide@sacrideo.us> wrote:

> I noticed that some people have some very strict requirements on their 
> ability to filter results, mostly because they want to filter out 
> obvious spam. One of the common methods it appears, is the elimination 
> of google groups by filtering on Message-ID. [Please, correct me if I 
> am wrong here.] 

You're right: that's a common ingredient in spam filtering, though
some people filter Google Groups pasts for other reasons.

My own spam filters are based on

1. Google Groups Message-IDs
2. Lack of a References: header
and
3. Spammy words in the Subject, such as "Nike" or "cigarettes".

> I am not very knowledgeable about the different servers out there, but 
> I have to say that for myself, with no filtering, I receive almost 
> zero spam in my newsgroups. I can look at thos same groups on Google 
> Groups and see quite a lot of spam. I presume that this is because of 
> some server side filtering that they (Giganews) does. 

Google Groups ignores Cancel messages, so what you see in the GG
archive is almost completely unfiltered.

> This got me wondering, what kind of filtering is common for news servers? 
> Is it very common to filter, or attempt to filter, spam, or, do servers 
> usually not bother with the extra hassle of filtering at all?

Most servers accept Cancels for spam (which are PGP-signed by
recognised spam-cancellers), and also use "Cleanfeed" to catch some
spam before it's cancelled. Many add local rules to the default
Cleanfeed script.

However, there's a lot of difference between servers.

> The reason 
> that I mention this is that it seems to be quite a hard thing on some 
> people to give up or try out different news readers because their servers 
> don't provide server side filtering. Maybe a solution would be a proxy 
> like leaf node? Filtering could then be done on the server/proxy side, 
> and people wouldn't have to be quite so limited on their exploration 
> of news readers? 

That's what I'd do if I needed filtering that my chosen newsreader
didn't provide, but Leafnode doesn't offer the flexibility in sorting
and selecting posts that I like.


-- 
PJR :-)

<http://pjr.lasnobberia.net/usenet/>
<http://slrn-doc.sourceforge.net/>
Re: Server Side filtering (as pertains to Google Groups)
#224775
Author: andrew
Date: Fri, 15 Aug 2008 08:51
60 lines
4157 bytes
On 2008-08-15, Aaron W  Hsu <arcfide@sacrideo.us> wrote:

> I noticed that some people have some very strict requirements on their 
> ability to filter results, mostly because they want to filter out 
> obvious spam. One of the common methods it appears, is the elimination 
> of google groups by filtering on Message-ID. [Please, correct me if I 
> am wrong here.] 

It is of course an area of some debate :-). I do not filter google
groups myself although once when a tidal wave of spam was coming from
here I used a filter until the tide appeared to eventually turn.

I have to disagree that 'kill filing' is the most common reason that
people employ what slrn would more commonly call _scoring_. I believe
(or hope) that it is more common to use a scoring system to track your
own posts and responses to them, to highlight areas of interest among
newsgroups and to highlight the responses of people who usually post
intelligently. Certainly that is _my_ goal in scoring.

> I am not very knowledgeable about the different servers out there, but 
> I have to say that for myself, with no filtering, I receive almost 
> zero spam in my newsgroups. I can look at thos same groups on Google 
> Groups and see quite a lot of spam. I presume that this is because of 
> some server side filtering that they (Giganews) does. 

I have the same experience with individual.net and I suspect the price
of โ‚ฌ10 per year is less than Giganews?

> This got me wondering, what kind of filtering is common for news servers? 
> Is it very common to filter, or attempt to filter, spam, or, do servers 
> usually not bother with the extra hassle of filtering at all? 

Perhaps the recent US experience with Usenet being dropped by many
providers might have a beneficial effect as people who pay for their
usenet experience will expect a clean feed. This might be wishful
thinking perhaps :-).

> The reason that I mention this is that it seems to be quite a hard
> thing on some people to give up or try out different news readers
> because their servers don't provide server side filtering. Maybe a
> solution would be a proxy like leaf node? Filtering could then be done
> on the server/proxy side, and people wouldn't have to be quite so
> limited on their exploration of news readers? 

Leafnode 2 has a great filtering system which I experimented with
briefly but I think the idea of a proxy server is that it should
reproduce the upstream server as nearly as possible and filtering with
leafnode produces too many holes. And of course it is perfect for the
exploration of other newsreaders as they simply have to tap into
'localhost'. nn of course works perfectly this way :-).

So my idea would be:

1. A decent news provider that provides filtering.
2. A proxy server that downloads the feed unretouched
3. Scoring to 'sort' rather than 'kill'.

   Andrew
-- 
http://www.andrews-corner.org
Re: Server Side filtering (as pertains to Google Groups)
#224780
Author: Eggs Zachtly
Date: Fri, 15 Aug 2008 09:28
23 lines
2386 bytes
Peter J Ross said:

> In news.software.readers on Fri, 15 Aug 2008 02:41:28 -0500, Aaron W
> Hsu <arcfide@sacrideo.us> wrote:
> 
>> I noticed that some people have some very strict requirements on their 
>> ability to filter results, mostly because they want to filter out 
>> obvious spam. One of the common methods it appears, is the elimination 
>> of google groups by filtering on Message-ID. [Please, correct me if I 
>> am wrong here.] 
> 
> You're right: that's a common ingredient in spam filtering, though
> some people filter Google Groups pasts for other reasons.

And, Google Group futures, too!  =)

[rest ...'d]

-- 

Eggs

-A hair in the head is worth two in the brush.
Re: Server Side filtering (as pertains to Google Groups)
#224779
Author: Peter J Ross
Date: Fri, 15 Aug 2008 09:39
19 lines
1855 bytes
In news.software.readers on Fri, 15 Aug 2008 04:28:51 -0500, Eggs
Zachtly <re@d.thereplyto.header> wrote:

> Peter J Ross said:
>
>> You're right: that's a common ingredient in spam filtering, though
>> some people filter Google Groups pasts for other reasons.
>
> And, Google Group futures, too!  =)

Heh.

I probably meant to type "Google Groups pests".

-- 
PJR :-)

<http://pjr.lasnobberia.net/usenet/>
<http://slrn-doc.sourceforge.net/>
Re: Server Side filtering (as pertains to Google Groups)
#224781
Author: Adam Funk
Date: Fri, 15 Aug 2008 11:30
16 lines
1719 bytes
On 2008-08-15, andrew wrote:

> I have to disagree that 'kill filing' is the most common reason that
> people employ what slrn would more commonly call _scoring_. I believe
> (or hope) that it is more common to use a scoring system to track your
> own posts and responses to them, to highlight areas of interest among
> newsgroups and to highlight the responses of people who usually post
> intelligently. Certainly that is _my_ goal in scoring.

I agree.  I have a lot more "pluses" than "minuses" in my score file,
and the minuses are mainly for spam.


-- 
Take it?  I can't even parse it!         [Kibo]
Re: Server Side filtering (as pertains to Google Groups)
#224786
Author: VanguardLH
Date: Fri, 15 Aug 2008 13:01
57 lines
4741 bytes
Aaron W. Hsu wrote:

> I noticed that some people have some very strict requirements on their 
> ability to filter results, mostly because they want to filter out 
> obvious spam. One of the common methods it appears, is the elimination 
> of google groups by filtering on Message-ID. [Please, correct me if I 
> am wrong here.] 

That's how it's usually done.

> I am not very knowledgeable about the different servers out there, but 
> I have to say that for myself, with no filtering, I receive almost 
> zero spam in my newsgroups. 

You are using Giganews.  There are a few NNTP servers that filter out
Google Groups posts.  Giganews isn't one of them.  Spam spates come and
go.  You didn't mention how long you have been lurking and in which
newsgroups.  There is nothing consistent about spam.  You stating that
you have no spam in newsgroups is just like someone saying they have no
spam in their e-mail: there wasn't much of it at the time they looked
but they haven't been watching for very long.

> I can look at thos same groups on Google 
> Groups and see quite a lot of spam. I presume that this is because of 
> some server side filtering that they (Giganews) does. 

Google Groups is an archive so posts go back a long time.  You are
probably not downloading all messages.  And you might even be using a
view or filter to hide or eliminate posts over N days old.

> This got me wondering, what kind of filtering is common for news servers? 
> Is it very common to filter, or attempt to filter, spam, or, do servers 
> usually not bother with the extra hassle of filtering at all? The reason 
> that I mention this is that it seems to be quite a hard thing on some 
> people to give up or try out different news readers because their servers 
> don't provide server side filtering. Maybe a solution would be a proxy 
> like leaf node? Filtering could then be done on the server/proxy side, 
> and people wouldn't have to be quite so limited on their exploration 
> of news readers? 
 
The problem with using leafnode, hamster, or any local proxy or NNTP
server is in exceeding a user's quota when leeching from their real NNTP
provider.  Many users have a monthly bandwidth quota.  Only a few
headers are included in the overview headers, like Message-ID (but you
don't need a proxy to filter on that header).  The other headers require
downloading the message, not just the headers.  While those with monthly
quotas might not have header downloads counted against the quota,
downloading the messages does count.  That means a user could easily and
quickly consume the monthly quota in a few days or maybe just a couple
of hours or even on the first yank of all posts.  

You don't need a proxy to filter on the message ID header, just an NNTP
client that lets you use it in a filter.  For all the other more useful
headers, they aren't in the overview headers so you'll eat up your quota
yanking the bodies of those messages to also get at the headers on which
you do want to filter, like the Path, NNTP-Posting-Host, and other
non-overview headers.
Re: Server Side filtering (as pertains to Google Groups)
#224788
Author: Peter J Ross
Date: Fri, 15 Aug 2008 13:18
36 lines
2962 bytes
In news.software.readers on Fri, 15 Aug 2008 08:01:17 -0500,
VanguardLH <V@nguard.LH> wrote:

<...>

> The problem with using leafnode, hamster, or any local proxy or NNTP
> server is in exceeding a user's quota when leeching from their real NNTP
> provider.  Many users have a monthly bandwidth quota.  Only a few
> headers are included in the overview headers, like Message-ID (but you
> don't need a proxy to filter on that header).  The other headers require
> downloading the message, not just the headers.  While those with monthly
> quotas might not have header downloads counted against the quota,
> downloading the messages does count.  That means a user could easily and
> quickly consume the monthly quota in a few days or maybe just a couple
> of hours or even on the first yank of all posts.  

In Leafnode 2, you can use something like:

	groupdelaybody = alt.binaries.*

or, globally:

	delaybody = 1

The effect is to retrieve bodies only for articles whose headers have
been requested by a client.

I've never these settings myself, but people who frequent binaries
groups might find them helpful.


-- 
PJR :-)

<http://pjr.lasnobberia.net/usenet/>
<http://slrn-doc.sourceforge.net/>
Re: Server Side filtering (as pertains to Google Groups)
#224787
Author: VanguardLH
Date: Fri, 15 Aug 2008 13:53
81 lines
6252 bytes
Peter J Ross wrote:

> In news.software.readers on Fri, 15 Aug 2008 08:01:17 -0500,
> VanguardLH <V@nguard.LH> wrote:
> 
> <...>
> 
>> The problem with using leafnode, hamster, or any local proxy or NNTP
>> server is in exceeding a user's quota when leeching from their real NNTP
>> provider.  Many users have a monthly bandwidth quota.  Only a few
>> headers are included in the overview headers, like Message-ID (but you
>> don't need a proxy to filter on that header).  The other headers require
>> downloading the message, not just the headers.  While those with monthly
>> quotas might not have header downloads counted against the quota,
>> downloading the messages does count.  That means a user could easily and
>> quickly consume the monthly quota in a few days or maybe just a couple
>> of hours or even on the first yank of all posts.  
> 
> In Leafnode 2, you can use something like:
> 
> 	groupdelaybody = alt.binaries.*
> 
> or, globally:
> 
> 	delaybody = 1
> 
> The effect is to retrieve bodies only for articles whose headers have
> been requested by a client.
> 
> I've never these settings myself, but people who frequent binaries
> groups might find them helpful.

But isn't the purpose of the filtering proxy to eliminate the user from
even seeing the unwanted posts in their NNTP client?  The user would see
the unwanted post and then try to retrieve its body.  After retrieving
the body (which consumes bandwidth), the proxy applies its filters to
delete that post.  The NNTP client gets an error and reports the post is
no longer available on the server.

The idea you propose is to reduce but not eliminate the bandwidth loss
in downloading the bodies of posts the user doesn't want to see.  It
only downloads those bodies of posts that the user selected in their
NNTP client.  Alas, this approach still has the user afflicted with
seeing the post in their headers listing in their NNTP client only to
have it error when it tries to get just that post.

I don't have my NNTP client downloading all message bodies in a
newsgroup.  It already only downloads the body if and when I select a
particular message to retrieve it.  I suspect that is how most or all
NNTP clients behave.  So the NNTP client is already eliminating
bandwidth consumption by retrieving only the bodies of messages that the
user selects to download.  There's no point in downloading all messages
in a newsgroup other than those you want to read.  

This setup in the proxy only reflects what the NNTP client is already
doing.  The only difference that I see in behavior is that the NNTP
client would use its filtering to handle the unwanted message (by
deleting it, colorizing it, or whatever) versus the NNTP client issuing
an error that the message is no longer on the server (because the proxy
deleted its copy of that message).

For the user to never even see the unwanted posts, the proxy would have
to download all messages headers to apply its filters against the
overview headers.  If the user wanted to filter on non-overview headers,
the proxy would have to download all message bodies to get at those
headers.  Then when the user's NNTP client connects to the proxy, those
unwanted posts aren't ever there so they never appear in the NNTP
client's list of messages.  Having the proxy download only when the
client requests a message's body means the user will still see the
unwanted message in the list in their NNTP client and then get an error
in that NNTP client when it tries to retrieve that message's body
because the proxy filtered out that message upon the retrieve initiate
by the client.

I don't see where you came ahead of bandwidth consumption.  Only if the
proxy retrieves all messages AND their bodies so its filtering can be
applied BEFORE the client uses that proxy, the same on-the-fly filtering
can be applied at the client.  If the proxy doesn't retrieve until the
client does, what's the point of the proxy.  Instead of not seeing the
post in the first place, the user sees the post and then sees an error
when trying to retrieve it.
Re: Server Side filtering (as pertains to Google Groups)
#224792
Author: Ted S.
Date: Fri, 15 Aug 2008 14:33
40 lines
3723 bytes
On Fri, 15 Aug 2008 08:53:32 -0500, VanguardLH wrote:

> For the user to never even see the unwanted posts, the proxy would
> have to download all messages headers to apply its filters against
> the overview headers.  If the user wanted to filter on non-overview
> headers, the proxy would have to download all message bodies to get
> at those headers. 

Yes, but a lot of messages get killed on the XOVER headers BEFORE the
proxy gets to the headers that require downloading the entire message.
 
> I don't see where you came ahead of bandwidth consumption.  Only if
> the proxy retrieves all messages AND their bodies so its filtering
> can be applied BEFORE the client uses that proxy, the same on-the-fly
> filtering can be applied at the client.  If the proxy doesn't
> retrieve until the client does, what's the point of the proxy. 
> Instead of not seeing the post in the first place, the user sees the
> post and then sees an error when trying to retrieve it.

For me, using a proxy (Hamster) wasn't particularly about cutting down
on bandwidth.  I was on a dial-up connection at the time, and wanted to
download the messages ahead of time so that I could use my newsreader as
an offline reader.  The kill-filing ability (especially for email) was a
nice plus.  (The other reason was to take mailing lists and turn them
into virtual newsgroups, since that made it easier to read the groups in
a threaded fashion.)

I've never had any problems with bandwidth limits, either.  Since I got
my current computer 14 months ago, I've been subscribed to seven groups,
of which one is the heavy-traffic rec.sport.tennis (the other six are
much lighter).  Those seven NGs take up ~220MB of space on my hard disk,
according to Hamster.  That's for 14 months of messages, although I'll
admit that I've been killing a *lot* of crap in r.s.t.  (I'm one of the
posters who uses scoring to kill posters, largely because there are so
many tedious trolls on r.s.t posting the same shit over and over.)

-- 
Ted S.
fedya at hughes dot net
Now blogging at http://justacineast.blogspot.com
Re: Server Side filtering (as pertains to Google Groups)
#224796
Author: Whiskers
Date: Fri, 15 Aug 2008 15:09
69 lines
4956 bytes
On 2008-08-15, VanguardLH <V@nguard.LH> wrote:
> Peter J Ross wrote:
>> In news.software.readers on Fri, 15 Aug 2008 08:01:17 -0500,
>> VanguardLH <V@nguard.LH> wrote:
>> 
>> <...>
>> 
>>> The problem with using leafnode, hamster, or any local proxy or NNTP
>>> server is in exceeding a user's quota when leeching from their real NNTP
>>> provider.  Many users have a monthly bandwidth quota.  Only a few
>>> headers are included in the overview headers, like Message-ID (but you
>>> don't need a proxy to filter on that header).  The other headers require
>>> downloading the message, not just the headers.  While those with monthly
>>> quotas might not have header downloads counted against the quota,
>>> downloading the messages does count.  That means a user could easily and
>>> quickly consume the monthly quota in a few days or maybe just a couple
>>> of hours or even on the first yank of all posts.  

[...]

> I don't see where you came ahead of bandwidth consumption.  Only if the
> proxy retrieves all messages AND their bodies so its filtering can be
> applied BEFORE the client uses that proxy, the same on-the-fly filtering
> can be applied at the client.  If the proxy doesn't retrieve until the
> client does, what's the point of the proxy.  

There are NNTP commands which allow a client (including a local proxy 
server) to save bandwidth by only downloading the headers required for 
local scoring or filtering, including headers which are not included in 
the overview.  

HEAD   Return the headers of an article (all the headers).

XHDR   Return a certain header for a range of articles in a group.

XPAT   Return a range of headers for articles matched by a certain pattern.

Many, perhaps most, end-user newsreaders are not equipped to use these 
commands - and not all news-servers will accept them.  But when those 
commands are available, then it is possible to use all the headers present 
in any and all articles for scoring or filtering, without downloading any 
bodies.  A local proxy news-server can be used to exploit those commands 
even if the user's newsreader doesn't support them - but only if the 
upstream server supports them, of course.  Not all local proxy servers can 
use those commands, though.

Other reasons for using a caching local proxy news-server include the 
speed of response when reading and posting aricles locally (no lag from 
using the internet), the ability to fetch articles from several upstream 
servers and combine them into one group locally (not all proxies can do 
that), combining groups carried by different upstream servers into a 
single feed for local use, and saving time (and possibly money) when using 
a dial-up or other intermittant internet connection.

> Instead of not seeing the
> post in the first place, the user sees the post and then sees an error
> when trying to retrieve it.

The end user is only aware of the presence of an article if the 
news-server (or local proxy) serves the overview headers for it.  If the 
local proxy has already plonked that article, then it won't be included in 
the overview delivered by the proxy to local users.  In that case the only 
bandwidth used between the local proxy and the upstream server(s) will be 
for fetching the headers required for local scoring or filtering.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: Server Side filtering (as pertains to Google Groups)
#224797
Author: Peter J Ross
Date: Fri, 15 Aug 2008 16:28
143 lines
7157 bytes
In news.software.readers on Fri, 15 Aug 2008 08:53:32 -0500,
VanguardLH <V@nguard.LH> wrote:

> Peter J Ross wrote:
>
>> In news.software.readers on Fri, 15 Aug 2008 08:01:17 -0500,
>> VanguardLH <V@nguard.LH> wrote:
>> 
>> <...>
>> 
>>> The problem with using leafnode, hamster, or any local proxy or NNTP
>>> server is in exceeding a user's quota when leeching from their real NNTP
>>> provider.  Many users have a monthly bandwidth quota.  Only a few
>>> headers are included in the overview headers, like Message-ID (but you
>>> don't need a proxy to filter on that header).  The other headers require
>>> downloading the message, not just the headers.  While those with monthly
>>> quotas might not have header downloads counted against the quota,
>>> downloading the messages does count.  That means a user could easily and
>>> quickly consume the monthly quota in a few days or maybe just a couple
>>> of hours or even on the first yank of all posts.  
>> 
>> In Leafnode 2, you can use something like:
>> 
>> 	groupdelaybody = alt.binaries.*
>> 
>> or, globally:
>> 
>> 	delaybody = 1
>> 
>> The effect is to retrieve bodies only for articles whose headers have
>> been requested by a client.
>> 
>> I've never these settings myself, but people who frequent binaries
>> groups might find them helpful.
>
> But isn't the purpose of the filtering proxy to eliminate the user from
> even seeing the unwanted posts in their NNTP client?

That's one of its potential purposes.

> The user would see
> the unwanted post and then try to retrieve its body.

If the post is filtered, it won't be seen in the list of available
articles. If it is seen, the user can choose to download it or not.

> After retrieving
> the body (which consumes bandwidth), the proxy applies its filters to
> delete that post.

Leafnode 2 doesn't retrieve bodies, or even full headers, if a "kill"
filter is used on XOVER data.

It doesn't retrieve bodies at all, unless requested by the user, if
"delaybody" is used.

> The NNTP client gets an error and reports the post is
> no longer available on the server.

That can happen with Leafnode 2 if new filters are applied manually
with "applyfilter", but not otherwise, as far as I'm aware.

Both headers and bodies of "killed" articles are deleted from the
local spool and database.

> The idea you propose is to reduce but not eliminate the bandwidth loss
> in downloading the bodies of posts the user doesn't want to see.

No. The user might want to see that articles are available, but
retrieve bodies for only some of them.

In alt.binaries.software.newsreaders (if such a group exists), I
might to filter all articles that don't have "slrn" in the Subject,
but Leafnode would then allow me to choose whether or not to download
the bodies of the non-filtered articles - e.g. I might want only slrn
pre0.9.9 for Windows, while still being interested in seeing what
other slrn binaries were available.

> It
> only downloads those bodies of posts that the user selected in their
> NNTP client.  Alas, this approach still has the user afflicted with
> seeing the post in their headers listing in their NNTP client only to
> have it error when it tries to get just that post.

I don't see how that can happen if both client and server are behaving
sensibly. Posts listed as available shouldn't subsequently be deleted
by filters.

> I don't have my NNTP client downloading all message bodies in a
> newsgroup.  It already only downloads the body if and when I select a
> particular message to retrieve it.  I suspect that is how most or all
> NNTP clients behave.  So the NNTP client is already eliminating
> bandwidth consumption by retrieving only the bodies of messages that the
> user selects to download.  There's no point in downloading all messages
> in a newsgroup other than those you want to read.

Some news clients can be configured to download and store all bodies.

> This setup in the proxy only reflects what the NNTP client is already
> doing.

Yes, but if you're already using a proxy for whatever reason, the
option not to download bodies for all or some groups is useful.

> The only difference that I see in behavior is that the NNTP
> client would use its filtering to handle the unwanted message (by
> deleting it, colorizing it, or whatever) versus the NNTP client issuing
> an error that the message is no longer on the server (because the proxy
> deleted its copy of that message).

The proxy (in the case of Leafnode 2) deletes filtered articles before
making information about them available to clients. It doesn't delete
non-filtered articles, such as those to which "delaybody" might apply,
at all (except of course when they expire, or if the Leafnode 2 admin
chooses to delete articles manually or with "applyfilter").

> For the user to never even see the unwanted posts, the proxy would have
> to download all messages headers to apply its filters against the
> overview headers.

No, Leafnode 2 can filter on the overview headers.

<...>

> I don't see where you came ahead of bandwidth consumption.

Using Leafnode 2 typically requires more bandwidth than not using it,
though there are savings when re-reading articles.

I know too little about proxy/server software other than Leafnode 2 to
comment. I originally only wanted to point out that Leafnode 2 doesn't
have to retrieve bodies for articles that the user doesn't
specifically ask for.


<...>


-- 
PJR :-)

<http://pjr.lasnobberia.net/usenet/>
<http://slrn-doc.sourceforge.net/>
Re: Server Side filtering (as pertains to Google Groups)
#224798
Author: VanguardLH
Date: Fri, 15 Aug 2008 16:57
62 lines
4771 bytes
Whiskers wrote:

> On 2008-08-15, VanguardLH <V@nguard.LH> wrote:
>> Peter J Ross wrote:
>>> In news.software.readers on Fri, 15 Aug 2008 08:01:17 -0500,
>>> VanguardLH <V@nguard.LH> wrote:
>>> 
>>> <...>
>>> 
>>>> The problem with using leafnode, hamster, or any local proxy or NNTP
>>>> server is in exceeding a user's quota when leeching from their real NNTP
>>>> provider.  Many users have a monthly bandwidth quota.  Only a few
>>>> headers are included in the overview headers, like Message-ID (but you
>>>> don't need a proxy to filter on that header).  The other headers require
>>>> downloading the message, not just the headers.  While those with monthly
>>>> quotas might not have header downloads counted against the quota,
>>>> downloading the messages does count.  That means a user could easily and
>>>> quickly consume the monthly quota in a few days or maybe just a couple
>>>> of hours or even on the first yank of all posts.  
> 
> [...]
> 
>> I don't see where you came ahead of bandwidth consumption.  Only if the
>> proxy retrieves all messages AND their bodies so its filtering can be
>> applied BEFORE the client uses that proxy, the same on-the-fly filtering
>> can be applied at the client.  If the proxy doesn't retrieve until the
>> client does, what's the point of the proxy.  
> 
> There are NNTP commands which allow a client (including a local proxy 
> server) to save bandwidth by only downloading the headers required for 
> local scoring or filtering, including headers which are not included in 
> the overview.  
> 
> HEAD   Return the headers of an article (all the headers).
> 
> XHDR   Return a certain header for a range of articles in a group.
> 
> XPAT   Return a range of headers for articles matched by a certain pattern.

For the XPAT command (on some of the NNTP hosts where I tried it), some
error got returned about not supporting that command, even on the same
NNTP host which honored the HEAD command.

As a quick test, I ran:

telnet news.microsoft.com 119			(anonymous login)
help						(check if head was listed)
group microsoft.public.windowsxp.newusers	(as a test)
head						(using 1st post in list)

Sure enough, all the headers got listed.  Now to figure out if I can get
my NNTP client (40tude Dialog) to use the command so I can runs its
filters when retrieving the headers (to loop through them all again to
run 'head' and [re]apply filters).  This will probably get me stuck
writing up another script for that client.

Can leafnode or hamster be configured to retrieve all messages but just
their XOVER headers, as in a normal query (so not to consume my monthly
bandwidth) and then run 'head' against all of those message-IDs (in the
subscribed groups) to run its filters?  Supposedly my NSP doesn't charge
bandwidth on header-only downloads but I'm not sure running 'head'
(versus just 'xover') would qualify as a header-only download.
Re: Server Side filtering (as pertains to Google Groups)
#224801
Author: VanguardLH
Date: Fri, 15 Aug 2008 17:02
35 lines
4156 bytes
Ted S. wrote:

> On Fri, 15 Aug 2008 08:53:32 -0500, VanguardLH wrote:
> 
>> For the user to never even see the unwanted posts, the proxy would
>> have to download all messages headers to apply its filters against
>> the overview headers.  If the user wanted to filter on non-overview
>> headers, the proxy would have to download all message bodies to get
>> at those headers. 
> 
> Yes, but a lot of messages get killed on the XOVER headers BEFORE the
> proxy gets to the headers that require downloading the entire message.

XOVER [range]
Each line of output will be formatted with the article number, followed
by each of the headers in the overview database or the article itself
(when the data is not available in the overview database) for that
article separated by a tab character.  The sequence of fields must be
in this order: subject, author, date, message-id, references, byte
count, and line count. Other optional fields may follow line count.
Other optional fields may follow line count. These fields are specified
by examining the response to the LIST OVERVIEW.FMT command. Where no
data exists, a null field must be provided (i.e. the output will have
two tab characters adjacent to each other). Servers should not output
fields for articles that have been removed since the XOVER database was
created.

Yeah, those are the headers retrieved as specified in the overview.fmt
file on the NNTP server.  XOVER just gives you the headers listed by
running "list overview.fmt" which are typically just the From, Subject,
Date, Message-ID, References, Bytes, Lines, and Xref headers.  I can
filter on those now with the NNTP client.  It would be great if the
majority of NSPs included additional headers in overview.fmt but few do
so you can't rely on your filters working on those other headers (until
you download the entire message).
Re: Server Side filtering (as pertains to Google Groups)
#224800
Author: Peter J Ross
Date: Fri, 15 Aug 2008 17:37
32 lines
3204 bytes
In news.software.readers on Fri, 15 Aug 2008 12:02:31 -0500,
VanguardLH <V@nguard.LH> wrote:

> XOVER just gives you the headers listed by
> running "list overview.fmt" which are typically just the From, Subject,
> Date, Message-ID, References, Bytes, Lines, and Xref headers.  I can
> filter on those now with the NNTP client.  It would be great if the
> majority of NSPs included additional headers in overview.fmt but few do
> so you can't rely on your filters working on those other headers (until
> you download the entire message).

XHDR works for filtering if the server supports it.

HEAD always works for filtering, because all servers support it.

It should never be necessary to retrieve the entire article in order
to filter on its headers.

Unfortunately, client software tends to support only XHDR, if that.
Some client software doesn't even support filtering on all overview
data. For many users, their filtering needs are best served by using a
local server such as Leafnode 2 (which supports XHDR, not to mention
XPAT). It costs more in bandwidth but saves time. Even with slrn, I
find Leafnode 2 useful, because XHDR, HEAD and XPAT are faster with a
local server. (Neither my ISP nor my NSP meters my bandwidth usage.)


-- 
PJR :-)

<http://pjr.lasnobberia.net/usenet/>
<http://slrn-doc.sourceforge.net/>
Re: Server Side filtering (as pertains to Google Groups)
#224805
Author: Whiskers
Date: Fri, 15 Aug 2008 19:53
84 lines
5219 bytes
On 2008-08-15, VanguardLH <V@nguard.LH> wrote:
> Whiskers wrote:

[...]

>> There are NNTP commands which allow a client (including a local proxy 
>> server) to save bandwidth by only downloading the headers required for 
>> local scoring or filtering, including headers which are not included in 
>> the overview.  
>> 
>> HEAD   Return the headers of an article (all the headers).
>> 
>> XHDR   Return a certain header for a range of articles in a group.
>> 
>> XPAT   Return a range of headers for articles matched by a certain pattern.
>
> For the XPAT command (on some of the NNTP hosts where I tried it), some
> error got returned about not supporting that command, even on the same
> NNTP host which honored the HEAD command.

That's not unusual; XPAT puts a load on the server's resources, so NSPs 
understandably don't all support it.

> As a quick test, I ran:
>
> telnet news.microsoft.com 119			(anonymous login)
> help						(check if head was listed)
> group microsoft.public.windowsxp.newusers	(as a test)
> head						(using 1st post in list)
>
> Sure enough, all the headers got listed.  Now to figure out if I can get
> my NNTP client (40tude Dialog) to use the command so I can runs its
> filters when retrieving the headers (to loop through them all again to
> run 'head' and [re]apply filters).  This will probably get me stuck
> writing up another script for that client.

Have fun  :))

> Can leafnode or hamster be configured to retrieve all messages but just
> their XOVER headers, as in a normal query (so not to consume my monthly
> bandwidth) 

Yes.

> and then run 'head' against all of those message-IDs (in the
> subscribed groups) to run its filters?  

Not directly.  The software would interpret the entries in the config and 
filter files and then work out what NNTP commands and local processing to
use to achieve the desired results.  One normally only uses the NNTP 
commands directly when logged into a news-server using telnet or SSH.

I haven't used Hamster for years so I don't know how it reacts to a filter
that uses a non-overview header.  I currently use Leafnode 2 but I have
nothing in the filterfile that requires use of non-overview headers so I
don't know how it would deal with such a filter.  The mailing-lists or 
user forums relating to those programs are probably the best place to get 
definitive answers to such questions.

Leafnode 2 certainly supports HEAD XPAT and XHDR for local clients.

In principle is should be possible to write a proxy server (or newsreader,
of course) that uses the HEAD command for each article in the overview
[which has passed the filters which only rely on overview headers] and
then tries the headers against the filterfile before sending the BODY or
ARTICLE command for those articles which get past the filters.  Whether
that would be quicker than fetching all the articles and then filtering, is
another matter - for most usenetters on a dial-up, the time on line is more
likely to cost money than the volume of data as such.  

I've never used a news-server with a volume limit, but I imagine they 
would be servers which carry a lot of binary stuff and the limits wouldn't 
be significant for users interested only in text-only groups.

> Supposedly my NSP doesn't charge
> bandwidth on header-only downloads but I'm not sure running 'head'
> (versus just 'xover') would qualify as a header-only download.

Your NSP is the best resource for answering such questions.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: Server Side filtering (as pertains to Google Groups)
#224804
Author: root
Date: Fri, 15 Aug 2008 19:58
8 lines
1578 bytes
>GG filters for each of those on this page.
>
>http://improve-usenet.org/filters_ex2.html

Nothing for trn ? :)

Xavier
Re: Server Side filtering (as pertains to Google Groups)
#224806
Author: root
Date: Fri, 15 Aug 2008 20:02
11 lines
1487 bytes
>So my idea would be:
>
>1. A decent news provider that provides filtering.
>2. A proxy server that downloads the feed unretouched
>3. Scoring to 'sort' rather than 'kill'.

This is exactly my POV too and this is how I am doing. What's more, I
have tried leafnode2 filtering capabilities but it ended up with all
messages being killed ;)

Xavier
Re: Server Side filtering (as pertains to Google Groups)
#224808
Author: Oliver Cromm
Date: Fri, 15 Aug 2008 22:07
16 lines
2268 bytes
* Peter J Ross <pjr@example.invalid> wrote:

> Using Leafnode 2 typically requires more bandwidth than not using it,
> though there are savings when re-reading articles.

In this sense, NewsCache and NntpCache (*nix software) combine the best
of both worlds. If you want, they get the (XOVER) headers exactly the
moment you want them and the bodies only when you ask for them, but keep
them once received - all configurable by group. They can also filter.

Alas, both projects show very little activity for years already.

-- 
Bill Gates working as a waiter:
- Waiter, there's a fly in my soup
- Try again, maybe it won't be there this time
Re: Server Side filtering (as pertains to Google Groups)
#224810
Author: Blinky the Shark
Date: Sat, 16 Aug 2008 01:03
27 lines
2024 bytes
Eggs Zachtly wrote:

> Peter J Ross said:
> 
>> In news.software.readers on Fri, 15 Aug 2008 02:41:28 -0500,
>> Aaron W Hsu <arcfide@sacrideo.us> wrote:
>> 
>>> I noticed that some people have some very strict requirements
>>> on their ability to filter results, mostly because they want
>>> to filter out obvious spam. One of the common methods it
>>> appears, is the elimination of google groups by filtering on
>>> Message-ID. [Please, correct me if I am wrong here.] 
>> 
>> You're right: that's a common ingredient in spam filtering,
>> though some people filter Google Groups pasts for other
>> reasons. 
> 
> And, Google Group futures, too!  =)

Thoes to!  :)


-- 
Blinky
        Is your ISP dropping Usenet?
        Need a new feed?
        http://blinkynet.net/comp/newfeed.html
Re: Server Side filtering (as pertains to Google Groups)
#224812
Author: Blinky the Shark
Date: Sat, 16 Aug 2008 01:09
13 lines
1413 bytes
VanguardLH wrote:

> The other headers require downloading the message, not
> just the headers.

What?


-- 
Blinky
        Is your ISP dropping Usenet?
        Need a new feed?
        http://blinkynet.net/comp/newfeed.html
Re: Server Side filtering (as pertains to Google Groups)
#224814
Author: Blinky the Shark
Date: Sat, 16 Aug 2008 01:11
16 lines
1775 bytes
 wrote:

>>GG filters for each of those on this page.
>>
>>http://improve-usenet.org/filters_ex2.html
> 
> Nothing for trn ? :)

Happy to add it.  Your move.


-- 
Blinky
        Is your ISP dropping Usenet?
        Need a new feed?
        http://blinkynet.net/comp/newfeed.html
Re: Server Side filtering (as pertains to Google Groups)
#224819
Author: Ted S.
Date: Sat, 16 Aug 2008 02:27
13 lines
1808 bytes
On Fri, 15 Aug 2008 22:02:36 +0200, root@localhost.UUCP wrote:

> What's more, I
> have tried leafnode2 filtering capabilities but it ended up with all
> messages being killed ;)

What are you complaining about?  You killed all the spam, didn't you?
:-)

-- 
Ted S.
fedya at hughes dot net
Now blogging at http://justacineast.blogspot.com
Re: Server Side filtering (as pertains to Google Groups)
#224848
Author: Aaron W. Hsu
Date: Sun, 17 Aug 2008 19:44
57 lines
4026 bytes
andrew <andrew@ilium.invalid> writes:

>On 2008-08-15, Aaron W  Hsu <arcfide@sacrideo.us> wrote:

>I have to disagree that 'kill filing' is the most common reason that
>people employ what slrn would more commonly call _scoring_. I believe
>(or hope) that it is more common to use a scoring system to track your
>own posts and responses to them, to highlight areas of interest among
>newsgroups and to highlight the responses of people who usually post
>intelligently. Certainly that is _my_ goal in scoring.

I can certainly understand that, and I think that's a great and probably 
the intended way to use scoring. For myself, I never did find it useful, 
but it is kind of cool to be able to set up some scoring over various 
types of posts. I think I did do something like this back when I used 
Gnus. 

>> I am not very knowledgeable about the different servers out there, but 
>> I have to say that for myself, with no filtering, I receive almost 
>> zero spam in my newsgroups. I can look at thos same groups on Google 
>> Groups and see quite a lot of spam. I presume that this is because of 
>> some server side filtering that they (Giganews) does. 

>I have the same experience with individual.net and I suspect the price
>of ยค10 per year is less than Giganews?

Yes, they probably are cheaper, but I actually like to have binary groups 
in my news server, and it appears that individual.net doesn't do that. 

>> This got me wondering, what kind of filtering is common for news servers? 
>> Is it very common to filter, or attempt to filter, spam, or, do servers 
>> usually not bother with the extra hassle of filtering at all? 

>Perhaps the recent US experience with Usenet being dropped by many
>providers might have a beneficial effect as people who pay for their
>usenet experience will expect a clean feed. This might be wishful
>thinking perhaps :-).

We can all wish for cleaner newsgroups and more intelligent people to 
fill them with useful information, but I believe that won't happen until 
more intelligent people actually exist. ;-)

>So my idea would be:

>1. A decent news provider that provides filtering.
>2. A proxy server that downloads the feed unretouched
>3. Scoring to 'sort' rather than 'kill'.

Sounds like a nice way to go. Although, I never did go for the proxy 
server thing. Maybe later. :-)

	Aaron
-- 
+++++++++++++++ ((lambda (x) (x x)) (lambda (x) (x x))) +++++++++++++++
Email: <arcfide@sacrideo.us> | WWW: <http://www.sacrideo.us>
Scheme Programming is subtle; subtlety can be hard.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Re: Server Side filtering (as pertains to Google Groups)
#224849
Author: Aaron W. Hsu
Date: Sun, 17 Aug 2008 19:54
43 lines
3319 bytes
VanguardLH <V@nguard.LH> writes:

>Aaron W. Hsu wrote:

>> I am not very knowledgeable about the different servers out there, but 
>> I have to say that for myself, with no filtering, I receive almost 
>> zero spam in my newsgroups. 

>You are using Giganews.  There are a few NNTP servers that filter out
>Google Groups posts.  Giganews isn't one of them.  Spam spates come and
>go.  You didn't mention how long you have been lurking and in which
>newsgroups.  There is nothing consistent about spam.  You stating that
>you have no spam in newsgroups is just like someone saying they have no
>spam in their e-mail: there wasn't much of it at the time they looked
>but they haven't been watching for very long.

The oldest post I can find of mine is from 2002, and I have never had to 
use filtering. In fact, I don't recall having much trouble with spam at 
all in newsgroups. I *have* had issues with spam in my mail. ;-)

>> I can look at thos same groups on Google 
>> Groups and see quite a lot of spam. I presume that this is because of 
>> some server side filtering that they (Giganews) does. 

>Google Groups is an archive so posts go back a long time.  You are
>probably not downloading all messages.  And you might even be using a
>view or filter to hide or eliminate posts over N days old.

I was just looking at the most recent postings. I usually don't read 
anything that isn't recent enough for me to be concerned. 

>The problem with using leafnode, hamster, or any local proxy or NNTP
>server is in exceeding a user's quota when leeching from their real NNTP
>provider. 

That's a good point.

	Aaron
-- 
+++++++++++++++ ((lambda (x) (x x)) (lambda (x) (x x))) +++++++++++++++
Email: <arcfide@sacrideo.us> | WWW: <http://www.sacrideo.us>
Scheme Programming is subtle; subtlety can be hard.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Re: Server Side filtering (as pertains to Google Groups)
#225600
Author: AWilliamson
Date: Sat, 06 Sep 2008 11:28
17 lines
1782 bytes
rOn Fri, 15 Aug 2008 09:48:56 +0100, Peter J Ross
<pjr@example.invalid> wrote:

>
>My own spam filters are based on
>
>1. Google Groups Message-IDs
>2. Lack of a References: header
>and

Could you share what your filters look like?
~*~*~*Amy  mailto:awilliamson3771@charter.net~*~*~
Save a Tree, Save our Planet, Recycle, Think Organic

________________________________
   Thought of the day:
	Can't think of any neet TAGLINE-Oh well.
Re: Server Side filtering (as pertains to Google Groups)
#225601
Author: Peter J Ross
Date: Sat, 06 Sep 2008 12:30
56 lines
2877 bytes
In news.software.readers on Sat, 06 Sep 2008 04:28:34 -0700,
AWilliamson <see_address_in_reply@invalid.com> wrote:

> rOn Fri, 15 Aug 2008 09:48:56 +0100, Peter J Ross
> <pjr@example.invalid> wrote:
>
>>
>>My own spam filters are based on
>>
>>1. Google Groups Message-IDs
>>2. Lack of a References: header
>>and
>
> Could you share what your filters look like?

Current slrn anti-spam filters:

[*]
Score: -400
	Message-Id: \.googlegroups\.com>
	~References: .
	{::
		% next line catches all Subjects that contain no
		% lower-case letter
		Subject: \c^[^a-z]+$
		Subject: \<acomplia\>
		Subject: \<adidas\>
		Subject: \<casinos?\>
		Subject: \<cialis\>
		% next line catches various spellings of
		% "cigarette(s)"
		Subject: \<cigg?[ae]rr?ett?e?s?\>
		Subject: \<free download\>
		Subject: \<gucci\>
		Subject: \<http://
		Subject: \<nike\>
		Subject: \<nude\>
		Subject: \<prada\>
		Subject: \<puma\>
		Subject: \<roulette\>
		Subject: \<rummy\>
		Subject: \<shoes\>
		Subject: \<t-shirts\>
		Subject: \<viagra\>
		Subject: \<www\.
	}

The amount of spam posted through Google seems to have declined, so
these filters are probably much less useful than they were a few
months ago.

-- 
PJR :-)
slrn newsreader (v0.9.9): http://slrn.sourceforge.net/
extra slrn documentation: http://slrn-doc.sourceforge.net/
newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads