Article View: news.software.readers
Article #216204Re: Stopping Sporge tutorial using NewsProxy (where do we get nfilter.dat)?
From: M.L.
Date: Thu, 31 Jan 2008 11:19
Date: Thu, 31 Jan 2008 11:19
156 lines
8068 bytes
8068 bytes
Glad to see you back Donna. See my comments below.
> Here is what I have.
>
> Let me know if there's something we missed in taking into account
> everyone's constructive input below ...
IMO, there should be several filter file examples, not a
one-size-fits-all filter set.
> # Start of Nfilter.dat to drop Sporge on a.c.f
I don't think the filtering should be specific to acf. It would be easy
to insert a statement on how to substitute the newsgroup asterisk
wildcard with "alt.comp.freeware" if desired
> # Enable regular expressions for this particular nfilter.dat file
There should be alternative filter sets with regexp turned off, which is
the default.
> # Hash marks indicate comments; blank lines are verbotten
> # In NewsProxy, click Edit > Configuration > Enable Regular
> Expressions # (with regexp turned on, exact match often suggests
> ending with .*) # Tell your firewall to allow Newsproxy to function
> as a server # Close and restart NProxy after editing the nfilter.dat
> file # FAQ:
> http://www.saska.co.uk/nfilter/nfilter_faq_modified.html#2.3 #
Good idea to add the FAQ link.
> # Examples:
> # Drop any post from known sporge posting hosts
> # alt.comp.freeware Drop nntp-posting-host:.*65\.149\.76
> # alt.comp.freeware Drop nntp-posting-host:.*206\.216\.[456]
> # alt.comp.freeware Drop nntp-posting-host:.*205\.184\.1[23456789]
> # Remove the newsgroup name to work for all newsgroups:
> # * drop NNTP-Posting-Host:*.iol.ie
> # * drop Path:*news.iol.ie*
> #
> # Use 3-line scoring to combine the two requirements above
> # * score:+10 NNTP-Posting-Host:*.iol.ie
> # * score:+10 Path:*news.iol.ie*
> # * drop score:20
> #
> # Drop posts that come from iol AND have Burkley in the from field
> # * drop Path:*news.iol.ie* From:*Burkley*
> #
> # Drop posts that come from iol OR have Burkley in the from field
> # * drop Path:*news.iol.ie* * drop From:*Burkley*
> #
> # Flag a particular word in a Subject line:
> # alt.comp.freeware Flag:CANCEL= subject:.*[Cc][Ms][Ss][Gg]
> [Cc][Aa][Nc][Cc][Ee][Ll].*
>
> # Drop anything posted from Google
> # alt.comp.freeware drop Message-ID:.*googlegroups.com.*
> #
> # Drop 4 or more xposts
> # alt.comp.freeware Drop xref:[^:]*:[^:]*:[^:]*:[^:]*:.*
>
> # Drop anything also posted to rec.pets.*
> # alt.comp.freeware Drop xref:.*rec\.pets.*
> #
> # Drop anything posted from any variant of puppy in the from line
> # alt.comp.freeware Drop from:.*[Pp][Uu][Pp]+[Yy].*
> #
> # Drop anything coming from server "servername"
> # alt.comp.freeware path:.*{{servername}}
Overall, a lot of this info is duplicated in the FAQ. I don't think the
nfilter.dat should be a "how to" document. Also, it would be informative
to add a note that most of the the FAQ examples are meant for
regexp=off.
> #
> # This section kindly supplied by Peter J. Ross on January 26, 2008
> # to combat sporge
> * Drop nntp-posting-host:.*68\.205\.84\.148
> * Drop nntp-posting-host:.*68\.195\.34\.167
> * Drop nntp-posting-host:.*69\.115\.198\.4
> * Drop nntp-posting-host:.*69\.116\.176\.8
> * Drop nntp-posting-host:.*97\.96\.146\.26
> * Drop nntp-posting-host:.*87\.12\.177\.23
> * Drop nntp-posting-host:.*97\.100\.198\.116
> * Drop nntp-posting-host:.*cm233242\.red91-117\.mundo-r\.com
> * Drop nntp-posting-host:.*89-139-93-25\.bb\.netvision\.net\.il
> * Drop nntp-posting-host:.*74\.77\.70\.141
> * Drop nntp-posting-host:.*69\.201\.209\.30
> * Drop nntp-posting-host:.*66\.68\.81\.203
> * Drop nntp-posting-host:.*65\.184\.50\.97
> * Drop nntp-posting-host:.*76\.168\.219\.69
> * Drop nntp-posting-host:.*66\.182\.211\.134
> * Drop nntp-posting-host:.*80\.192\.11\.216
> * Drop nntp-posting-host:.*24\.163\.14\.102
> * Drop nntp-posting-host:.*ghf138\.internetdsl\.tpnet\.pl
> * Drop nntp-posting-host:.*24\.93\.111\.200
> * Drop nntp-posting-host:.*24\.168\.139\.56
> #
> # This section kindly supplied by M.L. on January 26, 2008
> # to combat sporge
> * drop X-Complaints-To:.*interware.hu*
> * drop X-Complaints-To:.*infoave.net*
> * drop X-Complaints-To:.*telepac.pt*
> * drop X-Complaints-To:.*mchsi.com*
> * drop X-Complaints-To:.*proxad.net*
> * drop X-Complaints-To:.*rcn.net*
> * drop X-Complaints-To:.*telecomitalia.it*
> # * drop X-Complaints-To:.*rr.com*
rr.com is a major sporge gateway, if not currently *the* major one. Why
treat this filter differently from the others? The user can always
comment it out himself.
> * drop X-Complaints-To:.*suddenlink.net*
> * drop X-Complaints-To:.*usenetserver.com*
> * drop X-Complaints-To:.*http://netreport.virginmedia.com*
All regexp filters should begin and end with .*
And I also think the forward slashes should be escaped since / is a
special character, at least according to Perl regexps syntax.
* drop X-Complaints-To:.*http:\/\/netreport.virginmedia.com.*
or
* drop X-Complaints-To:.*virginmedia.com.*
> * drop X-Complaints-To:.*hanaro.com*
> * drop X-Complaints-To:.*cn99.com*
> * drop X-Complaints-To:.*retelit.it*
> * drop X-Complaints-To:.*usenet-mtu.ru*
> * drop X-Complaints-To:.*bigpond.net.au*
The above shows why more than one nfilter.dat file example is needed. A
lot of users won't have access to fields such as X-Complaints-To:,
nntp-posting-host:, path:, Control:, etc. since they are outside of
overview.fmt. Some users must depend on the Xref: field for most of
their filtering. I'd like a separate nfilters.dat for those users.
> #
> # Eliminate MI5 sporge
> * drop Subject:.*[Mm]*[Ii]*5.*
The correct regexp filter is * drop Subject:.*[Mm].[Ii].5.*
> #
> # Eliminate HTML messages
> * drop Subject:=?ISO*
> #
> # Drop cmsg cancel messages
> * Drop Subject:.*[Cc][Ms][Ss][Gg].*
> * Drop Control:.*cancel.*
That last filter is not needed.
> #
> # End NFilter.dat list
Technical Details
Message-ID:
<X8ioj.9884$hI1.8373@nlpi061.nbdc.sbc.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon02.news.prodigy.net!prodigy.net!newsdst01.news.prodigy.net!prodigy.com!postmaster.news.prodigy.com!nlpi061.nbdc.sbc.com.POSTED!8c82a182!not-for-mailReferences:
<Xns9A34844F492B4YAsfKJXSTO@194.117.143.37> <p4Gnj.42309$Pv2.13549@newssvr23.news.prodigy.net> <479f498f$0$30067$dbd4f001@news.wanadoo.nl> <DKKnj.9698$hI1.9462@nlpi061.nbdc.sbc.com> <479f965b$0$66061$dbd43001@news.wanadoo.nl> <479fb133$0$4437$afc38c87@news.optusnet.com.au> <47a08eca$0$68770$dbd4f001@news.wanadoo.nl> <47a09155$0$29861$dbd41001@news.wanadoo.nl> <e840fd213b7d2005f7d637149cedfc11np@goofysplace.com> <47a0fb6f$0$16079$dbd41001@news.wanadoo.nl> <a43402e32829495ff710ff83ac10191bnp@goofysplace.com> <e13112d4-d4e3-4211-ae2c-4f3874b487b0@u10g2000prn.googlegroups.com> <pan.2008.01.31.02.31.18.340718@moria.lan> <vbfoj.9881$hI1.1681@nlpi061.nbdc.sbc.com>Show Full Headers
Complete Article Headers
Message-ID: <X8ioj.9884$hI1.8373@nlpi061.nbdc.sbc.com> Subject: Re: Stopping Sporge tutorial using NewsProxy (where do we get nfilter.dat)? Date: Thu, 31 Jan 2008 05:19:03 -0600 From: "M.L." <me@privacy.invalid> References: <Xns9A34844F492B4YAsfKJXSTO@194.117.143.37> <p4Gnj.42309$Pv2.13549@newssvr23.news.prodigy.net> <479f498f$0$30067$dbd4f001@news.wanadoo.nl> <DKKnj.9698$hI1.9462@nlpi061.nbdc.sbc.com> <479f965b$0$66061$dbd43001@news.wanadoo.nl> <479fb133$0$4437$afc38c87@news.optusnet.com.au> <47a08eca$0$68770$dbd4f001@news.wanadoo.nl> <47a09155$0$29861$dbd41001@news.wanadoo.nl> <e840fd213b7d2005f7d637149cedfc11np@goofysplace.com> <47a0fb6f$0$16079$dbd41001@news.wanadoo.nl> <a43402e32829495ff710ff83ac10191bnp@goofysplace.com> <e13112d4-d4e3-4211-ae2c-4f3874b487b0@u10g2000prn.googlegroups.com> <pan.2008.01.31.02.31.18.340718@moria.lan> <vbfoj.9881$hI1.1681@nlpi061.nbdc.sbc.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon02.news.prodigy.net!prodigy.net!newsdst01.news.prodigy.net!prodigy.com!postmaster.news.prodigy.com!nlpi061.nbdc.sbc.com.POSTED!8c82a182!not-for-mail Newsgroups: alt.comp.freeware,news.software.readers Lines: 156 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-NFilter: 1.2.0 NNTP-Posting-Host: 76.217.61.191 X-Complaints-To: abuse@prodigy.net X-Trace: nlpi061.nbdc.sbc.com 1201778359 ST000 76.217.61.191 (Thu, NNTP-Posting-Date: Thu, 31 Jan 2008 06:19:19 EST Organization: AT&T http://yahoo.sbc.com X-UserInfo1: Q[R_PJSCOHUYBP@SEBCBNWX@RJ_XPDLMN@GZ_GYO^JWTEPIB_NVUAH_[BL[\IRKIANGGJBFNJF_DOLSCENSY^U@FRFUEXR@KFXYDBPWBCDQJA@X_DCBHXR[C@\EOKCJLED_SZ@RMWYXYWE_P@\\GOIW^@SYFFSWHFIXMADO@^[ADPRPETLBJ]RDGENSKQQZN