[TAC] Fool Bot Honey Pot

[TAC] Fool Bot Honey Pot [Paid] 3.0.32

No permission to buy ($29.00)
I actually re-added it, though it's deprecated at it's not how IPs need to be stored any more. I presume I removed it as it was in a fairly specific model and thus it was considered to be rather unlikely to have been used by add-ons, but obviously that's not the case.

I bring it up as I saw this case to resolve it, but I generally don't keep an eye on add-on threads that often. If you mention it and we sort it, then it sorts the issue for everyone else without having to update your add-on (meaning fewer people posting the error here).
 
tenants updated FoolBotHoneyPot Bot Killer: Spam Combat with a new update entry:

Update - Stores IPV6 and Removal of $_SERVER logging

Change Log:

  • Should be both XF1.2 and XF1.3 compatible. If XF1.3, we now make use of the core methods of storing ipv6 IP addresses:
Code:
        if (XenForo_Application::$versionId >= 1030000)
        {
            $ipAddress = XenForo_Helper_Ip::getBinaryIp();          
        }
        else
        {
            $ipAddress = $this->_getLoginModel()->convertIpToLong();
        }

  • Also taken out the logging of $_SERVER, this is personal logging option that...

Read the rest of this update entry...
 
Rock on. Thanks man. I expected to be without this for a few more days on a few of my sites.

Thanks for the update. (y)


You're welcome.

Excellent, thanks for the quick update ... and I couldn't be without this for a few days. ;)
Cheers,
Shaun :D


Me either, if it's broken I will always look into it and try to fix asap.
Even though 1.3 beta shouldn't be used on production sites, I know people always will update :rolleyes: (in need of a disappointed shaking head smiley) ;)
 
Last edited:
Hi @tenants, just going through my SQL query log and a query popped out at me, I was wondering why you decided to use a TEXT column type to store an IP address in sf_foolbothoneypot_log ? This makes it difficult to fix the query with an index.
 
That's one of the things that should change in the current version (this column is converted to a varbinary similar to the core). What version of FBHP are you using?

Previously, although the core did not support ipv6, I did try to accommodate both... However, I tried fairly long var chars (36). This should have worked, however, some servers seemed to run into issues every now and then (text solved this issue for everyone, but wasn't a great method)

Now, since the core supports IPv6, we use the core method for storing ip-addresses

Code:
        if (XenForo_Application::$versionId >= 1030000)
        {
            $ipAddress = XenForo_Helper_Ip::getBinaryIp();   
        }
        else
        {
            $ipAddress = $this->_getLoginModel()->convertIpToLong();
        }

and use a varbinary(16) column to store the IP address:

Code:
       self::modifyTableType($db, "sf_foolbothoneypot_log", "ip_address", "varbinary(16) NOT NULL");
 
Last edited:
Ah, that's good to know that it will be fixed in the next release. I am currently using version 2.2.13. Cheers for the update :)
 
It should work with both (it will only use the 1.3 storage method when upgrading to 1.3, but the column type should be updated for both 1.2 and 1.3)
 
Just got this

Code:
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'licenses_confirmed' in 'field list' - library/Zend/Db/Statement/Mysqli.php:77
Generated By: Unknown Account, Today at 6:01 PM
Stack Trace
#0 /home/nginx/domains/cruisingtalk.com/public/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('INSERT INTO `xf...')
#1 /home/nginx/domains/cruisingtalk.com/public/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'INSERT INTO `xf...')
#2 /home/nginx/domains/cruisingtalk.com/public/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('INSERT INTO `xf...')
#3 /home/nginx/domains/cruisingtalk.com/public/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xf...', Array)
#4 /home/nginx/domains/cruisingtalk.com/public/library/XenForo/DataWriter.php(1612): Zend_Db_Adapter_Abstract->insert('xf_user', Array)
#5 /home/nginx/domains/cruisingtalk.com/public/library/XenForo/DataWriter.php(1601): XenForo_DataWriter->_insert()
#6 /home/nginx/domains/cruisingtalk.com/public/library/XenForo/DataWriter.php(1393): XenForo_DataWriter->_save()
#7 /home/nginx/domains/cruisingtalk.com/public/library/XenForo/ControllerPublic/Register.php(281): XenForo_DataWriter->save()
#8 /home/nginx/domains/cruisingtalk.com/public/library/Tac/FoolBotHoneyPot/ControllerPublic/Register.php(740): XenForo_ControllerPublic_Register->actionRegister()
#9 /home/nginx/domains/cruisingtalk.com/public/library/XenForo/FrontController.php(347): Tac_FoolBotHoneyPot_ControllerPublic_Register->actionRegister()
#10 /home/nginx/domains/cruisingtalk.com/public/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#11 /home/nginx/domains/cruisingtalk.com/public/index.php(13): XenForo_FrontController->run()
#12 {main}
Request State
array(3) {
  ["url"] => string(45) "http://www.cruisingtalk.com/register/register"
  ["_GET"] => array(1) {
    ["/register/register"] => string(0) ""
  }
  ["_POST"] => array(40) {
    ["19d5452f2c24eacc09"] => string(0) ""
    ["cbf2e52f2c24ead350"] => string(0) ""
    ["42ee152f2c24ead0bf"] => string(3) "133"
    ["1dbb352f2c24eac435"] => string(0) ""
    ["username"] => string(3) "133"
    ["3216852f2c24eac67f"] => string(0) ""
    ["ee8f052f2c24ead3a3"] => string(0) ""
    ["6a5e652f2c24eac6d2"] => string(0) ""
    ["email"] => string(19) "ltyeong@hotmail.com"
    ["dec0452f2c24ead860"] => string(19) "ltyeong@hotmail.com"
    ["922b352f2c24eacc5c"] => string(0) ""
    ["dc80d52f2c24ead80c"] => string(0) ""
    ["f314652f2c24eacea9"] => string(18) "ThereIsNOPassw0rd1"
    ["a3fed52f2c24eacbb5"] => string(18) "ThereIsNOPassw0rd1"
    ["0549a52f2c24ead2fc"] => string(0) ""
    ["c5a2052f2c24ead5ea"] => string(0) ""
    ["password"] => string(8) "********"
    ["password_confirm"] => string(8) "********"
    ["d941052f2c24eac52f"] => string(0) ""
    ["7be3c52f2c24eac7cc"] => string(0) ""
    ["dob_month"] => int(12)
    ["dob_day"] => int(3)
    ["dob_year"] => int(88)
    ["8406e52f2c24ead95b"] => string(0) ""
    ["gender"] => string(0) ""
    ["2d8ad52f2c24eac62c"] => string(0) ""
    ["d362c52f2c24ead63d"] => string(0) ""
    ["ca2c352f2c24eacb62"] => string(0) ""
    ["custom_fields"] => array(2) {
      ["cruises_completed"] => string(3) "1_4"
      ["receive_our_newsletter"] => string(2) "no"
    }
    ["custom_fields_shown"] => array(2) {
      [0] => string(17) "cruises_completed"
      [1] => string(22) "receive_our_newsletter"
    }
    ["5af4a52f2c24ead027"] => string(13) "Europe/London"
    ["d0c7a52f2c24eac38d"] => string(14) "Pacific/Midway"
    ["b1fd552f2c24ead252"] => string(14) "Pacific/Midway"
    ["aa56452f2c24eaca15"] => string(14) "Pacific/Midway"
    ["timezone"] => string(13) "Europe/London"
    ["captcha_question_answer"] => string(4) "Ship"
    ["captcha_question_hash"] => string(40) "bf890ab340988511737e1dcd52749c1405dba78b"
    ["agree"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["reg_key"] => string(32) "aa4be5c4c81119bdc21854621a9751f3"
  }
}
 
I can't register with this turned on. Apparently it's blocked me after I got the captcha wrong twice.

How do I unblock myself other than disabling the addon cause if I disable it I can join then.
 
I can't register with this turned on. Apparently it's blocked me after I got the captcha wrong twice.

How do I unblock myself other than disabling the addon cause if I disable it I can join then.


What is the message you receive ?
Have you installed another add-on recently ?
Are you using the most recent version of the addons (I see you are using an old CustomImgCaptcha, please talk about CustomImgCaptcha related things here)

This add-on does not block you after getting any CAPTCHA wrong, this add-on has nothing to do with CAPTCHA (FoolBotHoneyPot is related to hidden fields only, hidden fields never interfere with human users)
 
What is the message you receive ?
Have you installed another add-on recently ?
Are you using the most recent version of the addons (I see you are using an old CustomImgCaptcha, please talk about CustomImgCaptcha related things here)

This add-on does not block you after getting any CAPTCHA wrong, this add-on has nothing to do with CAPTCHA (FoolBotHoneyPot is related to hidden fields only, hidden fields never interfere with human users)
Please correct the following errors:
  1. Your registration has been rejected as it resembles automated or spam-like behavior. Please contact the administrator for further information or assistance.
I'm on Xenforo 1.3 Beta 4. No registration related addons no. Yes using custom image captcha. That addon works fine.

This addon doesn't let me register however. It does if I disable it.
 
Back
Top Bottom