🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #224798

Re: Server Side filtering (as pertains to Google Groups)

#224798
From: 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.
Technical Details
Message-ID: <9PednfxTrNVGKTjVnZ2dnUVZ_qvinZ2d@comcast.com>
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!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail
References: <d9OdnYG0yOm1rjjVnZ2dnUVZ_obinZ2d@giganews.com> <bKSdnbNtuKUN4DjVnZ2dnUVZ_gidnZ2d@comcast.com> <slrngab0i0.6bv.pjr@pjr.motzarella.org> <lOSdnaxC0vhZFDjVnZ2dnUVZ_trinZ2d@comcast.com> <slrngab722.99l.catwheezel@ID-107770.user.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <9PednfxTrNVGKTjVnZ2dnUVZ_qvinZ2d@comcast.com>
Subject: Re: Server Side filtering (as pertains to Google Groups)
Date: Fri, 15 Aug 2008 11:57:05 -0500
From: VanguardLH <V@nguard.LH>
References: <d9OdnYG0yOm1rjjVnZ2dnUVZ_obinZ2d@giganews.com> <bKSdnbNtuKUN4DjVnZ2dnUVZ_gidnZ2d@comcast.com> <slrngab0i0.6bv.pjr@pjr.motzarella.org> <lOSdnaxC0vhZFDjVnZ2dnUVZ_trinZ2d@comcast.com> <slrngab722.99l.catwheezel@ID-107770.user.individual.net>
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!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 15 Aug 2008 11:54:51 -0500
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Organization: The 3 Amigos: Me, Myself, and I - the voices in my head
Keywords: VanguardLH VLH811
X-Antivirus: avast! (VPS 080815-0, 08/15/2008), Outbound message
X-Antivirus-Status: Not-Tested
Lines: 62
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 69.180.133.66
X-Trace: sv3-lss2dLZE5bAzmkd/ExNpC/lcCkWvdIk/kBv7CXjJMWHIbW4iFwacOlcxfyA3OwU6uTRURe11sDLxJP1!ow4rOh7ggElAU0fknP0YFmVHmcFopbWAJyFBMVL94SZmfDXUjZ4wESupYt2hpUtrkYL5Y49ljzhl!Y6II4VpbJmdvurH2rtTf30wlaK1p2A==
X-Complaints-To: abuse@comcast.net
X-DMCA-Complaints-To: dmca@comcast.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.3.39