| 
View
 

link1a

Page history last edited by PBworks 16 years, 10 months ago

Link 1a Filter

Filtering-with-NewsProxy Page

 

The following nfilter file is used to eliminate posts from sporge news gateways based on the NNTP-Posting-Host: header field, using the scoring method. It also shows how to exempt a user within a banned host from being dropped. The newsgroup wildcard can be replaced with a specific newsgroup name if desired. Edit and update as needed.

 

# Start Nfilter.dat list

# Any line that starts with a # is a comment line and will be ignored.

# Blank lines are not permitted.

# This list requires that "Enable Regular Expressions" be turned on.

# In NewsProxy Click Edit | Configuration, then check the

# Regular Expressions box.

#

# Exempt users within a banned host from being dropped

* score:-100 From:.*dinotec@rr.com.*

* score:-100 From:.*john.smith.*

#

# The following hosts are banned

* score:+10 NNTP-posting-host:.*68\.205\.84\.148.* 

* score:+10 NNTP-posting-host:.*68\.195\.34\.167.* 

* score:+10 NNTP-posting-host:.*69\.115\.198\.4.* 

* score:+10 NNTP-posting-host:.*69\.116\.176\.8.* 

* score:+10 NNTP-posting-host:.*97\.96\.146\.26.* 

* score:+10 NNTP-posting-host:.*87\.12\.177\.23.* 

* score:+10 NNTP-posting-host:.*97\.100\.198\.116.* 

* score:+10 NNTP-posting-host:.*cm233242\.red91-117\.mundo-r\.com.* 

* score:+10 NNTP-posting-host:.*89-139-93-25\.bb\.netvision\.net\.il.* 

* score:+10 NNTP-posting-host:.*74\.77\.70\.141.* 

* score:+10 NNTP-posting-host:.*69\.201\.209\.30.* 

* score:+10 NNTP-posting-host:.*66\.68\.81\.203.* 

* score:+10 NNTP-posting-host:.*65\.184\.50\.97.* 

* score:+10 NNTP-posting-host:.*76\.168\.219\.69.* 

* score:+10 NNTP-posting-host:.*66\.182\.211\.134.* 

* score:+10 NNTP-posting-host:.*80\.192\.11\.216.* 

* score:+10 NNTP-posting-host:.*24\.163\.14\.102.* 

* score:+10 NNTP-posting-host:.*ghf138\.internetdsl\.tpnet\.pl.* 

* score:+10 NNTP-posting-host:.*24\.93\.111\.200.* 

* score:+10 NNTP-posting-host:.*24\.168\.139\.56.* 

#

* drop score:10

# End NFilter.dat list

Comments (0)

You don't have permission to comment on this page.