🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by William Kronert Sun, 07 Jan 2007 23:57
Cleanfeed phl filter and exempt?
#74624
Author: William Kronert
Date: Sun, 07 Jan 2007 23:57
51 lines
3448 bytes
Cleanfeed phl exempt filter:  I have notice some false positives being
caught in our phl filter and have also notice them being caught in other
news peers filters.  I was hoping to get some input from others with the
idea of coming up with a general consensus.

The default Cleanfeed phl exempt filter is:
 phl_exempt => '^localhost$|webtv\.net$|^newscene\.newscene\.com$'.
'|^freebsd\.csie\.nctu\.edu\.tw$|^ddt\.demos\.su$|^onlyNews customer$',

>From what I have seen:
webtv.net is still valid and needs to be kept.
freebsd.csie.nctu.edu.tw is needed if you carry the mailing.* hierarchy.
ddt.demos.su is needed if you carry the fido7.* hierarchy.
I think newscence and onlyNews is obsolete and can be removed?

Additions:
If you carry the Microsoft.* hierarchy you will need to add:
'|207\.46\.89\.16|207\.46\.197\.57|10\.40\.27\.33|10\.40\.244\.148'.
'|10\.48\.132\.46|10\.40\.2\.49|10\.40\.2\.47|10\.40\.2\.250'.
'|10\.40\.12\.61|10\.40\.12\.62|127\.0\.0\.1|213\.199\.128\.177',

If these are not added you will be rejecting most of the valid articles
originating from Microsoft, in excess of 10,000 articles/day.

If you carry the macromedia.* hierarchy I have noticed a few false
positives.  It appears they works much like Microsoft but with less
traffic.  So you will need to add:
macromedia\.com$

There are two other IP's which I am not sure about and need some input on:
195.210.93.206 and 195.210.93.125
These belong to Italy Online (iol.it) and are injected via
nntp.infostrada.it into Italy specific newsgroups.  I am not familiar with
the Italian language nor how the groups policies are.  I do know one of
our Italian peers which uses cleanfeed is sending us this and another
Italian peer we have, who also uses cleanfeed, does not seems to be
sending us these.

In the end our phl exempt filter looks like:
phl_exempt => '^localhost$|webtv\.net$|^newscene\.newscene\.com$'.
'|^freebsd\.csie\.nctu\.edu\.tw$|^ddt\.demos\.su$|^onlyNews customer$'.
'|207\.46\.89\.16|207\.46\.197\.57|10\.40\.27\.33|10\.40\.244\.148'.
'|10\.48\.132\.46|10\.40\.2\.49|10\.40\.2\.47|10\.40\.2\.250|10\.40\.12\.61'.
'|10\.40\.12\.62|127\.0\.0\.1|213\.199\.128\.177|macromedia\.com$'.
'|195\.210\.93\.206|195\.210\.93\.125',

Does anyone have any comments, suggestions, or additions?  Wondering if
there is an easy and fast way to tell when additions or deletions need to
be done?

Bill
Re: Cleanfeed phl filter and exempt?
#74625
Author: William Kronert
Date: Mon, 08 Jan 2007 14:23
30 lines
2518 bytes
William Kronert <wkronert@sunstroke.sdsu.edu> wrote:
> Cleanfeed phl exempt filter:  I have notice some false positives being
> caught in our phl filter and have also notice them being caught in other
<snip>
> In the end our phl exempt filter looks like:
> phl_exempt => '^localhost$|webtv\.net$|^newscene\.newscene\.com$'.
> '|^freebsd\.csie\.nctu\.edu\.tw$|^ddt\.demos\.su$|^onlyNews customer$'.
> '|207\.46\.89\.16|207\.46\.197\.57|10\.40\.27\.33|10\.40\.244\.148'.
> '|10\.48\.132\.46|10\.40\.2\.49|10\.40\.2\.47|10\.40\.2\.250|10\.40\.12\.61'.
> '|10\.40\.12\.62|127\.0\.0\.1|213\.199\.128\.177|macromedia\.com$'.
> '|195\.210\.93\.206|195\.210\.93\.125',

I came across two other possible exemptions last night that might be worth
considering.

Newsguy.com recently upgraded all their hardware.  They now mark all there
posting hosting lines as: news.newsdawg.com  I suspect this is going to
throw in some false positives.

I became aware of it because there was a spam run from them last night.
The spam itself would have been caught in the fsl and/or md5 filter rather
then the phl filter.

The other possible exemption is: hinet.net - if you carry the tw.bbs.*
hierarchy chances are you going to be rejecting a lot from hinet.net if
you don't add them. Though I am some what unsure of hinet.net since I am
don't know the language but it looks valid from what I can tell.  Any
thoughts sure would be helpful...

Bill
Re: Cleanfeed phl filter and exempt?
#74626
Author: Bjoern A. Zeeb
Date: Mon, 08 Jan 2007 20:54
48 lines
2827 bytes
William Kronert <wkronert@sunstroke.sdsu.edu> wrote:

Hi,

> Additions:
> If you carry the Microsoft.* hierarchy you will need to add:
> '|207\.46\.89\.16|207\.46\.197\.57|10\.40\.27\.33|10\.40\.244\.148'.
> '|10\.48\.132\.46|10\.40\.2\.49|10\.40\.2\.47|10\.40\.2\.250'.
> '|10\.40\.12\.61|10\.40\.12\.62|127\.0\.0\.1|213\.199\.128\.177',
> 
> If these are not added you will be rejecting most of the valid articles
> originating from Microsoft, in excess of 10,000 articles/day.

I'd like to add that I had some private mails with William before new
year who made me look at this case and here's my findings:

------------------------------------------------------------------------
just FYI if you are still using the IPs from that[another] posting.
I played some nntpget/grep/sort/uniq games:

....
36 NNTP-Posting-Host: tide016.microsoft.com 207.46.89.16
1158 NNTP-Posting-Host: tk2msftppapi01.phx.gbl 10.40.27.33
1819 NNTP-Posting-Host: 207.46.197.57
2085 NNTP-Posting-Host: TK2MSFTNGHUB02.phx.gbl 127.0.0.1
4685 NNTP-Posting-Host: tk2msftsbfm01.phx.gbl 10.40.244.148
bz@news:~> expr 4685 + 2085 + 1819 + 1158
9747
bz@news:~> expr 10400 - 9747
653

It was 10400 Message-IDs rejected by EMP/phl for microsoft.* today
from when I took the snapshot.
Above you can see the relevant NNTP-Posting-Hosts.
------------------------------------------------------------------------

I haven't rechecked since then until now and it seems I got down to
about the difference I had with the .... lines ignored above.

The top-scorer of the EMP (phl)s left for microsoft.* now is;
  24 NNTP-Posting-Host: tide016.microsoft.com 207.46.89.16
which I hadn't added to phl_exempt last year.


/bz

-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT
Re: Cleanfeed phl filter and exempt?
#74628
Author: Dr.Ruud
Date: Tue, 09 Jan 2007 01:09
41 lines
2615 bytes
William Kronert schreef:

> In the end our phl exempt filter looks like:
> phl_exempt => '^localhost$|webtv\.net$|^newscene\.newscene\.com$'.
> '|^freebsd\.csie\.nctu\.edu\.tw$|^ddt\.demos\.su$|^onlyNews
> customer$'.
> '|207\.46\.89\.16|207\.46\.197\.57|10\.40\.27\.33|10\.40\.244\.148'.
>
'|10\.48\.132\.46|10\.40\.2\.49|10\.40\.2\.47|10\.40\.2\.250|10\.40\.12\
.61'.
> '|10\.40\.12\.62|127\.0\.0\.1|213\.199\.128\.177|macromedia\.com$'.
> '|195\.210\.93\.206|195\.210\.93\.125',
>
> Does anyone have any comments, suggestions, or additions?  Wondering
> if there is an easy and fast way to tell when additions or deletions
> need to be done?

One could compress that expression, and add anchors, to end up with
something like the following (or anything in between).

 phl_exempt =>
     '(?:^localhost'
    .'|^ddt\.demos\.su'
    .'|^freebsd\.csie\.nctu\.edu\.tw'
    .'|macromedia\.com'
    .'|^newscene\.newscene\.com'
    .'|webtv\.net'
    .'|^onlyNews customer'
    .'|^10\.40\.(?:2\.(?:47|49]|250)|12\.(?:61|62)|27\.33|244\.148)'
    .'|^10\.48\.132\.46'
    .'|^127\.0\.0\.1'
    .'|^195\.210\.93\.(?:125|206)'
    .'|^207\.46\.(?:89\.16|197\.57)'
    .'|^213\.199\.128\.177'
    .')$',

-- 
Affijn, Ruud

"Gewoon is een tijger."
Re: Cleanfeed phl filter and exempt?
#74627
Author: William Kronert
Date: Tue, 09 Jan 2007 11:35
16 lines
1701 bytes
Bjoern A. Zeeb </dev/null@zabbadoz.net> wrote:
> William Kronert <wkronert@sunstroke.sdsu.edu> wrote:
> Hi,
>> If you carry the Microsoft.* hierarchy you will need to add:

> I'd like to add that I had some private mails with William before new
> year who made me look at this case and here's my findings:

Many thanks Bjoern for checking into this.  You inspired me to check
further into possible false positives from the phl filter.  I figure
microsoft.* may not be the only one.

Also, thanks Dr.Ruud for the compressing the list down.  It makes it a bit
easier to work with :-).

Bill
Re: Cleanfeed phl filter and exempt?
#74652
Author: William Kronert
Date: Sat, 13 Jan 2007 22:09
48 lines
3238 bytes
After spending several more days looking at what was getting caught in the
phl filter I have a few more sites that people may want to consider adding
to the phl exemption list:

Two more IP's from Italy Online:
195\.210\.93\.115|195\.210\.93\.113

If you carry the natinst.* hierarchy you will want to add in:
burgertime\.natinst\.com  
Interestingly enough these are coming out of:
Path: newshub.sdsu.edu!sn-xt-sjc-02!sn-xt-sjc-09!sn-xt-sjc-13!
supernews.com!PYROS.natinst.com!not-for-mail

I found some sites in the pl.* hierarchy but haven't had time to determine
if these are legitimate or not.

The final phl exempt line might look like: 
phl_exempt => '^localhost$|webtv\.net$|^newscene\.newscene\.com$'.
'|^freebsd\.csie\.nctu\.edu\.tw$|^ddt\.demos\.su$|^onlyNews customer$'.
'|207\.46\.89\.16|207\.46\.197\.57|10\.40\.27\.33|10\.40\.244\.148'.
'|10\.48\.132\.46|10\.40\.2\.49|10\.40\.2\.47|10\.40\.2\.250'.
'|10\.40\.12\.61|10\.40\.12\.62|127\.0\.0\.1|213\.199\.128\.177'.
'|195\.210\.93\.206|195\.210\.93\.125|195\.210\.93\.115'.
'|195\.210\.93\.113|macromedia\.com$|news\.newsdawg\.com$|hinet\.net$'.
'|burgertime\.natinst\.com$',

In the end, whether it is a bad thing or not, I have disabled our phl
filter in cleanfeed.  It has come clear to me, even though the idea behind
the phl filter is good, there are too many false positives being generated
with this filter as well as the constant changes that take place in
posting lines.

It is hard for me to believe that the fsl filter will cause any false
positives.  The md5 filtering is working very well and appears to be
catching everything that the phl filter was catching.  Currently there is
a spam flood coming out of shaw and is being caught nicely with the md5
filter.

I have added in: \.jobcircle\.com in the bad_hosts to stop the job spam.
This would have been caught in the phl line filter.  Also I should
mention, I believe the default sites in the various "bad" (bad_paths),
(bad_hosts), etc are all obsolete and most likely should be taken out or
you risk rejecting valid articles from at least a few of the default sites
that are listed.

Bill
Re: Cleanfeed phl filter and exempt?
#74654
Author: Iulius
Date: Sun, 14 Jan 2007 10:05
42 lines
2441 bytes
En réponse à William Kronert :
> The final phl exempt line might look like

You did a great work.
I believe there should be an official site where we could find up to date
Cleanfeed policies.  They should be frequently updated (regarding bad hosts,
lists of exceptions, new filters for fighting spam [like new extensions
in the « begin 666 » filter], etc.).
For Debian, they could be in debian-volatile for instance.  I do not know
well other distributions but perhaps the initial Cleanfeed web site would
be fine.


> In the end, whether it is a bad thing or not, I have disabled our phl
> filter in cleanfeed.

So do I.


> The md5 filtering is working very well and appears to be
> catching everything that the phl filter was catching.

It is what I have also noticed.


> Also I should
> mention, I believe the default sites in the various "bad" (bad_paths),
> (bad_hosts), etc are all obsolete and most likely should be taken out or
> you risk rejecting valid articles from at least a few of the default sites
> that are listed.

The only one I have commented are:

#news.vic.com
#newsfeed.slurp.net
#news.sisna.com
#news3.cnt.ru

-- 
Iulius

« Summum Ius, summa iniuria. » (Cicéron)
Re: Cleanfeed phl filter and exempt?
#74655
Author: William Kronert
Date: Sun, 14 Jan 2007 13:52
44 lines
2916 bytes
Iulius <iulius@nom-de-mon-site.com.invalid> wrote:
> En reponse a William Kronert :
>> The final phl exempt line might look like

> You did a great work.

Thank you.  Hopefully it will be helpful, useful to some.

> I believe there should be an official site where we could find up to date
> Cleanfeed policies.  They should be frequently updated (regarding bad hosts,
> lists of exceptions, new filters for fighting spam [like new extensions
> in the « begin 666 » filter], etc.).
> For Debian, they could be in debian-volatile for instance.  I do not know
> well other distributions but perhaps the initial Cleanfeed web site would
> be fine.

I agree.  It would be very useful to have a site for the latest updates.
I know Marco has work very hard in the past on Cleanfeed and I am grateful
for all his work.

I have added a web page on our news server with the latest phl exemptions,
basically a summary of what I have posted here - its not meant as a
"latest" update for cleanfeed but at least a side note for now.

>> In the end, whether it is a bad thing or not, I have disabled our phl
>> filter in cleanfeed.

> So do I.

I think it is the only safe way.  I really want to keep spam off our
server and not pass it on to our peers but I also think it is very
important to reduce as many false positives as possible.  I am afraid the
phl filter is loaded with the potential of false positives.

>> The md5 filtering is working very well and appears to be
>> catching everything that the phl filter was catching.

> It is what I have also noticed.

Its a nice filter.  The mis-placed binary filter is really nice too :-).
Best regards.

Bill
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