vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Anti-Spam Options - [GlowHost] Spam-O-Matic - Spam Firewall stops forum spam (https://vborg.vbsupport.ru/showthread.php?t=248042)

AbruzzoMeteo 05-07-2013 06:04 AM

Quote:

Originally Posted by ForceHSS (Post 2420290)
Do you mean it mods there posts?

I mean that the spam plugin blocks/stops them posting ,replying, quoting, attaching posts.
;)

ForceHSS 05-07-2013 08:02 AM

Quote:

Originally Posted by AbruzzoMeteo (Post 2420409)
I mean that the spam plugin blocks/stops them posting ,replying, quoting, attaching posts.
;)

Could be another plugin messing with this one or you have not config it right

AbruzzoMeteo 05-07-2013 08:12 AM

1 Attachment(s)
as you can see from the attached, i've insterted the groups number to be protected by the plugin. Can you spot some mistakes in that?

ForceHSS 05-07-2013 09:07 AM

Quote:

Originally Posted by AbruzzoMeteo (Post 2420431)
as you can see from the attached, i've insterted the groups number to be protected by the plugin. Can you spot some mistakes in that?

need to see all settings in the plugin

Dwarden 05-07-2013 12:27 PM

i noticed little problem with the GSOM plugin,

if there is problem on outgoing traffic from vB
and you chose to ban & submit to SFS

then in the GSOM log is stays it submitted the user into SFS database w/o any indication o error

is this possible to improve or it can't be verified ?

Menewsha 05-08-2013 05:18 AM

Cool plugin, but there is a pretty serious oversight in this plugin which led to a ton of abuse recently.

The remote cache option states the following: "Duration in minutes that remote queries should be cached to reduce query traffic / lookup duration and load on the remote server"

However the code says this:

$sql = 'DELETE FROM '.TABLE_PREFIX.'glowhostspamomatic_remotecache WHERE `date` < DATE_SUB(NOW(), INTERVAL '.(int)$vbulletin->options['glowhostspamomatic_remote_cache'].' DAY); ';

So we were hit by a botnet (one new registration attempt every four seconds, not even exaggerating) and we were expecting that after an IP was reported, that we wouldn't see that IP registering again after the 30 minute cache timeout. This led to two issues:

1) The cache isn't cleared for the banned user immediately, meaning the bot could immediately reregister without SFS being checked for the new entry.

2) The cache was 30 days old, so the same IP would literally create thousands of accounts before the cache would clear and start reporting the abuse.

This also led to another observation of the code. The order of checks goes username, email, IP. However the order of checks (to take advantage of cache) should go IP, email, username. The code shouldn't even waste time querying for a bad username if it knows the IP is bad, so why put unnecessary strain on the SFS service by querying for username if the IP is bad?

So, as I said, great plugin, but it needs some changes to work properly on a high traffic site effectively.

Edit: I thought I'd mention how I changed the query. This should hopefully increase cache efficiency also:

$sql = 'DELETE FROM '.TABLE_PREFIX.'glowhostspamomatic_remotecache WHERE (`date` < DATE_SUB(NOW(), INTERVAL '.(int)$vbulletin->options['glowhostspamomatic_remote_cache'].' MINUTE) and is_spambot = 0) or (`date` < DATE_SUB(NOW(), INTERVAL '.(int)$vbulletin->options['glowhostspamomatic_remote_cache'].' DAY) and is_spambot = 1); ';

This would delete SFS negatives that are 30 minutes old, while letting SFS positives sit in the database cached for 30 days.

Msfantastico 05-08-2013 05:47 AM

This was working for a couple of months now I see 20-30 spammers get by every morning

1136 Spammers Denied Registration

18 Spammers Permanently Banned

7 Spammers submitted to StopForumSpam

7834 Spammy Posts Automatically Moderated

Expat 05-08-2013 08:14 AM

Quote:

Originally Posted by vbresults (Post 2413150)
This should fix it -- replace the admincp/glowhostspamomatic.php file with the one attached.

Your fix took care of the error on line 108 I was getting in 4.2.1 when submitting I knew the product was working, but that error was driving me nuts. Thank you for figuring out the issue and posting the fix. Hopefully the author will incorporate your fix sooner than later.

ikorolis 05-08-2013 10:40 AM

nice mod - good work

not installed

i am prefer stop forum spam (traffic and load is very low)

vbresults 05-09-2013 06:13 PM

Quote:

Originally Posted by Expat (Post 2420658)
Your fix took care of the error on line 108 I was getting in 4.2.1 when submitting I knew the product was working, but that error was driving me nuts. Thank you for figuring out the issue and posting the fix. Hopefully the author will incorporate your fix sooner than later.

You're welcome. :)


All times are GMT. The time now is 06:27 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04807 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete