/* Bot Spam and IP Bans */

Discuss general Uzebox topics here: features, wish list. nice to have, etc.
User avatar
nicksen782
Posts: 666
Joined: Wed Feb 01, 2012 8:23 pm
Location: Detroit, United States
Contact:

Re: /* Bot Spam and IP Bans */

Post by nicksen782 » Fri Dec 28, 2018 9:23 pm

I wasn't sure until that last post. I'll remove that user.

User avatar
nicksen782
Posts: 666
Joined: Wed Feb 01, 2012 8:23 pm
Location: Detroit, United States
Contact:

Re: /* Bot Spam and IP Bans */

Post by nicksen782 » Tue Aug 13, 2019 6:51 pm

An update:

The spam bots have returned. I turned the counter-bot (I Hate Spam) on to do some deletions. I had not had a need to use it for a while since the spam has been minimal. I had also started a new version of I Hate Spam but had to stop work on it since I didn't have much in the way of test cases.

Well ... the spammers are back and test cases exist. I've rebuilt the bot and cleaned up the code and added new features too.

Features:
  • Never deletes posts made by a "trusted member" username.
  • Can delete posts based on the user name of the poster.
  • Can delete posts based on the number of "spammy words" in the topic title.
  • Can now detect "Mass posts" where the post count over a span of time is too high.
  • There is also an auto-add known spammer feature for certain deletions. Mass posts and topics with a higher number of spammy words are auto-added to the known spammer list.
  • Can run via a cron job (meaning the server itself runs the code without a web browser.) It runs every 5 minutes.
  • Has a web interface that allows easy individual post deletions, addition of trusted members and untrusted members. It also shows the last time that the cron job ran.
So, I just check it periodically to see if something was missed but really it self-governs. The auto-addition to the known spammers list facilitates that.

Happy Uzebox-ing!

User avatar
Artcfox
Posts: 944
Joined: Thu Jun 04, 2015 5:35 pm
Contact:

Re: /* Bot Spam and IP Bans */

Post by Artcfox » Wed Aug 14, 2019 3:38 am

Thank you for keeping this in check! It's always disheartening to view the forum and get excited for some new posts only to find it's just spam.

I've been pretty busy lately with work stuff so I haven't had much time to Uzebox, but I do check this forum every day to keep up with developments.

User avatar
D3thAdd3r
Posts: 2422
Joined: Wed Apr 29, 2009 10:00 am
Location: Minneapolis, United States

Re: /* Bot Spam and IP Bans */

Post by D3thAdd3r » Wed Aug 14, 2019 1:43 pm

Great work man!

User avatar
Artcfox
Posts: 944
Joined: Thu Jun 04, 2015 5:35 pm
Contact:

Re: /* Bot Spam and IP Bans */

Post by Artcfox » Fri Aug 16, 2019 11:30 am

Is it really running every 5 minutes?

User avatar
D3thAdd3r
Posts: 2422
Joined: Wed Apr 29, 2009 10:00 am
Location: Minneapolis, United States

Re: /* Bot Spam and IP Bans */

Post by D3thAdd3r » Fri Aug 16, 2019 2:58 pm

I'm leaving the current spam for now. These ones would be difficult to detect in software I think.

User avatar
nicksen782
Posts: 666
Joined: Wed Feb 01, 2012 8:23 pm
Location: Detroit, United States
Contact:

Re: /* Bot Spam and IP Bans */

Post by nicksen782 » Fri Aug 16, 2019 6:10 pm

Artcfox wrote:
Fri Aug 16, 2019 11:30 am
Is it really running every 5 minutes?
Yes it is. It runs as a cron job set for every 5 minutes. I still have to check periodically to make sure it is working and to add new known spammers but the process is much easier now.
D3thAdd3r wrote:
Fri Aug 16, 2019 2:58 pm
I'm leaving the current spam for now. These ones would be difficult to detect in software I think.
What do you mean? I am flagging Cyrillic text as the topic title as spam.

User avatar
Artcfox
Posts: 944
Joined: Thu Jun 04, 2015 5:35 pm
Contact:

Re: /* Bot Spam and IP Bans */

Post by Artcfox » Fri Aug 16, 2019 9:30 pm

Ah okay. The spam I was seeing must not have been from known spammers.

User avatar
nicksen782
Posts: 666
Joined: Wed Feb 01, 2012 8:23 pm
Location: Detroit, United States
Contact:

Re: /* Bot Spam and IP Bans */

Post by nicksen782 » Fri Aug 16, 2019 11:51 pm

Yeah, it deleted posts based on: known spammers, Cyrillic text, and the count of "spammy" words in a topic title, and additionally if a user posts too many times within a minute.

So, I check it periodically to see if it is working. I usually add a new known spammer manually each day and also do a user prune of spam accounts once identified. Feel free to PM me for more details and how to use it.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests