[TAC] Any Spam API

[TAC] Any Spam API 1.0.9

No permission to download
I think it would be great to check registered users against SFS on login, if they are in specific usergroups. This would minimize the effectiveness of sleeper accounts.
 
The anyapi log seems to save an infinite amount of events. It started to log in may and now I have 80k events. I doubt that I need further back than a few months. Please consider an automatic prune function.

An IP search woudl also be very handy in anyapi log.
 
It's set to 3 months by default (which is still a fair amount of logs)
Check the crons, is this turned on:
Tac_AnyApi: DailyCleanUp
 
@Alfa1 if its a bug, let me know and I'll fix before handing over, but i suspect for some reason this cron job is turned off.

FYI

This project works, it stops the new wave of bots, once again, I dont think I'm needed for a while, I cant see bots making another leap anytime soon, if they do I will poke my head in.

So, if some one want's to take over this entire project (own it, sell it, support it, improve it), let me know, I'm not asking anything for it, but would prefer to hand it over to someone with dev experience in the field of anti-spam (and that everyone is happy with)

As for me... I'm kind of out of here and working on my own projects, will keep my hand in this project until it's properly handed over.
 
@Alfa1 if its a bug, let me know and I'll fix before handing over, but i suspect for some reason this cron job is turned off.
I just have a very large number of registrations. The log is pruning correctly at 3 months. But I need it to prune more. I have 3850 pages in my log.
 
If IPv6 headers are enabled then this addon throws an error for every registration. I got a hundred of these this morning:
Code:
ErrorException: Undefined offset: 1 - library/Tac/AnyApi/Model/AnyApi.php:573
Generated By: Unknown Account, Today at 12:14 PM
Stack Trace
#0 /library/Tac/AnyApi/Model/AnyApi.php(573): XenForo_Application::handlePhpError(8, 'Undefined offse...', '/home/nginx/dom...', 573, Array)
#1 /library/Tac/AnyApi/Model/AnyApi.php(551): Tac_AnyApi_Model_AnyApi->reverseOctet('2600:1:91dc:5c6...')
#2 /library/Tac/AnyApi/Model/AnyApi.php(18): Tac_AnyApi_Model_AnyApi->apiRequestString('Kris, 'xxxx@...', '{$key}.{$revers...', 'Project Honey P...', 'iolzhwjhhdtu')
#3 /library/Tac/FoolBotHoneyPot/ControllerPublic/Register.php(546): Tac_AnyApi_Model_AnyApi->isAnyApiBot('Xxx', 'xxx@...', 'api_5', Array)
#4 /library/Tac/FoolBotHoneyPot/ControllerPublic/Register.php(354): Tac_FoolBotHoneyPot_ControllerPublic_Register->aaMethods(Object(XenForo_Options), Array, Object(SV_DeadlockAvoidance_XenForo_DataWriter_User), 'Xxx', 'xxx@...', false, Array, true, false, false)
#5 /library/XenForo/FrontController.php(369): Tac_FoolBotHoneyPot_ControllerPublic_Register->actionRegister()
#6 /library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#7 /index.php(13): XenForo_FrontController->run()
#8 {main}
Request State

array(3) {
  ["url"] => string(41) "https://forum.com/register/register"
  ["_GET"] => array(1) {
    ["/register/register"] => string(0) ""
  }
  ["_POST"] => array(32) {
    ["364ce8a2daef048b69d2e9107d2a550b"] => string(0) ""
    ["d58a6a2c993664a5372e75870d266911"] => string(0) ""
    ["form_name"] => string(0) ""
    ["username"] => string(0) ""
    ["0cc3119aa304cb05897ffb874a8fb0e3"] => string(9) "Xxx"
    ["24d60c59b3298e2b145795d0005f5931"] => string(24) "xxx@gmail.com"
    ["password"] => string(8) "********"
    ["form_password"] => string(8) "********"
    ["form_password_confirm"] => string(8) "********"
    ["eb8111d160c6a0f41f15769da9cd22e4"] => string(0) ""
    ["b5455e62de62ab7bbad8e5f496360ceb"] => string(32) "1db4d872ce23cb8f476040bfc83a9e5d"
    ["75a2e55e25818fc516e3307dbd67c4a7"] => string(0) ""
    ["c9cec2345f06f3bff7ccfd6572124a56"] => string(0) ""
    ["d95dfcadec5bbd668478f0d12f96023b"] => string(0) ""
    ["89fca69540cac57cca83a6cbf4ae9cd4"] => string(4) "male"
    ["dob_month"] => string(1) "4"
    ["dob_day"] => string(2) "20"
    ["dob_year"] => string(4) "1993"
    ["about"] => string(69) "I like to read about everything that has to do with human psychology."
    ["homepage"] => string(0) ""
    ["location"] => string(6) ", Ohio"
    ["650e453ed56766846147f7ab26942d61"] => array(5) {
      ["bg9jyxrpb25syq"] => string(0) ""
      ["locationla"] => string(0) ""
      ["wantdonate"] => string(2) "No"
      ["locationln"] => string(0) ""
      ["things_that_interest_you"] => string(7) "xxx"
    }
    ["custom_fields_shown"] => array(5) {
      [0] => string(14) "bg9jyxrpb25syq"
      [1] => string(10) "locationla"
      [2] => string(10) "wantdonate"
      [3] => string(10) "locationln"
      [4] => string(23) "things_that_interest_you"
    }
    ["b43724156760e93d7c3752646cd5668a"] => string(16) "America/New_York"
    ["g-recaptcha-response"] => string(0) ""
    ["email_choice"] => string(1) "1"
    ["agree"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["browser_events"] => string(866) "9,0,6,9,38,320,406,Linux armv7l,Mozilla,true,72,20,Mozilla/5.0 (Linux; Android 7.1.1; UL40 Build/UL40_01.01.05) AppleWebKit/537.36 (KHTML  like Gecko) Chrome/62.0.3202.84 Mobile Safari/537.36,320,462,1,  ,              origin                               default                                                                       ongotpointercapture onlostpointercapture             onmessageerror                                         scroll   onappinstalled onbeforeinstallprompt              visualViewport      cancel   ontouch   g dataLayer   $jscomp  jQuery111004654592326685294  samViewCountMethod pwd_errorstrs pwd_strs pwd_timestrings pwd_minlength pwd_minstrength pwd_forcepwd pwd_checklist google_tag_manager               clearManagerFields   ga google    ___grecaptcha_cfg grecaptcha __google_recaptcha_client recaptcha closure_lm_275379 zxcvbn ,0"
    ["reg_key"] => string(32) "534d3309fc712d5a3b4a94a72d737d6c"
    ["0652980247e01535224fc049b866c273"] => string(10) "Xxx"
    ["d5db2c1f48317878ddd68d2bb47a0294"] => string(10) "Xxx"
  }
}
I need to have IPv6 enabled to allow CloudFlare to block DDoS attacks from IPv6 addresses.
 
Hey, just wondering is this ever going to be updated to work with XenForo 2? Thanks!

Not all our TAC add-ons will be updated for XF2. There will be updates just if they are still needed and no similar add-ons by other developers are available. There has been no decision taken at this one until now.
 
Not all our TAC add-ons will be updated for XF2. There will be updates just if they are still needed and no similar add-ons by other developers are available. There has been no decision taken at this one until now.
Okay, I'll just let you know it was the only addon I could find that supports Block Disposable Email API .
 
Top Bottom