Recommended Filters Everyone may Need?

There is no such thing as a stupid question here as long as it pertains to using NewsBin. Newbies feel free to get help getting started or asking questions that may be obvious. Regular users are asked to be gentle. :-)

Moderators: Quade, dexter

Recommended Filters Everyone may Need?

Postby Dominus » Tue Mar 03, 2020 10:22 pm

From reading forums I new spam and malicious post were a problem.

I underestimated just how much trash there was. It puts the volume of spa and topics covered in regular email to shame. I blushed. That's not easy to do.

I followed the directions HERE to create the PreHeaderDB.

So... are there any filter settings more exp'd users are willing to share that can help everyone out? If there is a concern about how to filter it helping spammers to bypass the filters I would suggest a private section in the forum.

I am no good with regex. I've tried. Sadly my mind just does not process it.
Dominus
n00b
n00b
 
Posts: 3
Joined: Sat Feb 29, 2020 10:06 am

Registered Newsbin User since: 02/27/20

Re: Recommended Filters Everyone may Need?

Postby Quade » Wed Mar 04, 2020 10:30 am

These days there are whole groups that no longer work for header downloads so, one thing you might want to do is see if the group you're trying to use is even usable anymore. The easiest filtering would be to drop groups that are no longer productive for header downloads.

"(bob|jane).*[<](bob|jane)[@].*(home|usenet)"

Everyone should probably add this filter.

"[0-9a-f]{14}[.][0-9a-f]{30}[.][0-9a-f]{8}"
"^[A-F0-9]{10,200}\s+$"
"^[A-Z0-9]{10,200}[.][A-Z0-9]{1,40}\s+$"
"^[A-Z0-9_]{10,200}\s+$"
"^[[]PRiVATE[]][ ][\][A-Z0-9]{10}[\]"

Some other filters I use. Remember don't include the leading and trailing quotes.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44867
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Recommended Filters Everyone may Need?

Postby orygun » Fri Apr 24, 2020 2:33 pm

Just updated to 6.82/5142 and discovered my ages-old filters failed to work. Deleted all of them and started over. So, question is- that list added on to your Everyone Should Use, are those five placed in which-- Name, Subject, or Poster?

Thanks.
orygun
Seasoned User
Seasoned User
 
Posts: 121
Joined: Fri Oct 14, 2005 2:24 am

Registered Newsbin User since: 08/04/04

Re: Recommended Filters Everyone may Need?

Postby Quade » Fri Apr 24, 2020 11:27 pm

The first one is a poster reject filter, the others are subject reject filters.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44867
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Recommended Filters Everyone may Need?

Postby orygun » Sat Apr 25, 2020 12:26 am

Thanks. Figured the first, used the others in Subj/File.. will clear unneeded one.

This version seems to have fixed many of the little things I'd gotten used to ignoring. Thanks!
orygun
Seasoned User
Seasoned User
 
Posts: 121
Joined: Fri Oct 14, 2005 2:24 am

Registered Newsbin User since: 08/04/04

Re: Recommended Filters Everyone may Need?

Postby rh » Sat Aug 29, 2020 8:54 pm

Thanks to the examples above and a handy regex tool I was able to construct a filter to match items I wanted to avoid.

Using the filter to search the group verified it matched everything I wanted to skip and only that.

Then I added a Reject If Subject Contains entry to the SpamFilter.

FWIW, this is a watch topic and post that match that filter are still coming in.

Did I miss a step or misunderstand something?
rh
Seasoned User
Seasoned User
 
Posts: 301
Joined: Sat Nov 27, 2004 4:02 pm

Registered Newsbin User since: 11/27/04

Re: Recommended Filters Everyone may Need?

Postby DeadSerious » Wed Jun 09, 2021 6:00 pm

For what it's worth, and at the risk of showing my ignorance (I knew next to nothing about regular expressions a few days ago.), this is an expression I used that has worked so far. I used a download header filter that rejects if subject contains "\b\S{25,}\b" (without the quotation marks). Most of the spam I see in the groups I subscribe to are long strings of numbers and letters without any spaces. If I understand the expression correctly, it should reject any string of characters 25 characters long or more without a space in it. I've been testing it yesterday and today, and it seems to be working. I tried purging the group and redownloading headers. The spool folder went from 6.5 GB before the filter to 27 kb after.

Apologies if I've gotten something wrong, or if this has already been posted elsewhere. I'll update if anything changes as I test more.
DeadSerious
Seasoned User
Seasoned User
 
Posts: 134
Joined: Sun Apr 27, 2008 9:03 pm

Registered Newsbin User since: 05/17/07

Re: Recommended Filters Everyone may Need?

Postby Quade » Wed Jun 09, 2021 10:10 pm

That's nice and short. Seems like it would catch a bunch of spam.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44867
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97


Return to Newbie Forum

Who is online

Users browsing this forum: No registered users and 2 guests