Block IP

Block IP [Paid] 1.1

No permission to buy ($35.00)

AndyB

Well-known member
AndyB submitted a new resource:

Block IP - Blocks VPN, Proxy, Tor and Relay users from log in and register pages.

Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $35.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:

https://www.xf2addons.com/

Description:

Blocks VPN, Proxy, Tor and Relay users from log in and register pages.

(Example of Block IP link)

View attachment 298904

(Example of Block IP...

Read more about this resource...
 
Excellent new add-on Andy, I've been thinking about having something like this. :)
 
Hey Andy, I installed this and connected to the site via VPN, but it doesn't seem to be working. Could this be due to our use of Cloudflare?
 
Hey Andy, I installed this and connected to the site via VPN, but it doesn't seem to be working. Could this be due to our use of Cloudflare?
Questions and answers:

Q: My site uses Cloudflare, will this add-on work?
A: No. This is because Cloudflare acts as a proxy between your website and visitors, masking their original IP addresses.

@AndyB
nice add-on - try it since today and hope it will do a good job as your other add-ons do. :-)
 
It is possible to adjust the API server address? I'd like to use my own database for VPN/TOR/Proxy addresses.
 
I installed the Block IP add-on a week ago (XF 2.2.15) and it's great but I am now getting hCaptcha configuration errors. First one yesterday, today 5 more.


Server error log
  • ErrorException: hCaptcha configuration error: sitekey-secret-mismatch
  • src/XF/Error.php:77
  • Generated by: Unknown account
  • 15 Jun 2024 at 09:42

Stack trace​

#0 src/XF.php(219): XF\Error->logError('hCaptcha config...', false)
#1 src/XF/Captcha/HCaptcha.php(122): XF::logError('hCaptcha config...')
#2 src/XF/Mvc/Controller.php(967): XF\Captcha\HCaptcha->isValid()
#3 src/XF/Pub/Controller/Register.php(415): XF\Mvc\Controller->captchaIsValid()
#4 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Register->actionRegister(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(258): XF\Mvc\Dispatcher->dispatchClass('XF:Register', 'Register', Object(XF\Mvc\RouteMatch), Object(Andy\BlockIP\XF\Pub\Controller\Register), NULL)
#6 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Andy\BlockIP\XF\Pub\Controller\Register), NULL)
#7 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#9 src/XF.php(524): XF\App->run()
#10 index.php(20): XF::runApp('XF\\Pub\\App')
#11 {main}

Request state​

array(4) {
["url"] => string(18) "/register/register"
["referrer"] => string(48) "https://focus-on-photography-forum.net/register/"
["_GET"] => array(1) {
["/register/register"] => string(0) ""
}
["_POST"] => array(15) {
["_xfToken"] => string(8) "********"
["username"] => string(0) ""
["73cb63df6e98d90e13b70061c6814682ae688187"] => string(10) "SophiaLhot"
["13a3eac0215724a6ff83d0c172381c1c06ad60bc"] => string(35) "sophia-lhotsky_3424@yourwebrank.com"
["password"] => string(8) "********"
["1a75fa4b661cd38fed27333c844b674a47d348c4"] => string(8) "********"
["dob_month"] => string(1) "8"
["dob_day"] => string(2) "18"
["dob_year"] => string(4) "1980"
["location"] => string(7) "Le Fuet"
["custom_fields"] => array(5) {
["name"] => string(0) ""
["imgedit"] => string(2) "no"
["maincamera"] => string(0) ""
["lens1"] => string(0) ""
["lens2"] => string(0) ""
}
["accept"] => string(1) "1"
["reg_key"] => string(16) "aMkE_lcek6CbCWLR"
["5308e492b8753f862db7ec967d9336f56779eaeb"] => string(0) ""
["h-captcha-response"] => string(2352) "P1_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.hadwYXNza2V5xQZyhT78QjAlKsXfY1P4582n9x5I__xXNuwgnP-9dVJ832I9rcXeRpUhMkm3PxLT9MzJ3jgl-ANusdNsIeUbnJZa1J1smokbB1f-oCP8G9Ifbtx3fyTdwJx3C61oXxGsYXqcq2aPhZRBuyCeZ2HsG0EJPnMefLS1Ldj5rNCmttkw4CgrSmxb6isLSiRJMM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z5F-fvre3Jol1u2ZCnqyjvNswnB2B8bLHefKVzL636CYjlB_u8XGY3DXKynl7mZIpCiCKHH7UBsKwZTizmH-l-nQ__dJSh3BjFuPLAKq8-ntFQnilbKIdtyy4IywPCLMjFV2YFd0iZU3GMkimVqiu9IGaqf6K2S_LjwOWlbPARuagahRsqhicksOmx9s5Zu0rerVKA6V4O0MLlqGWWxAznAmfoKzBWWUsalbKPPqIHyVV0jION2tS8VJJYI-sHcZ43sDx_TDs8CWfr8_rbH1MsiKF_4yr6t_yF3vVGX5ZgTMOK03SSWEQ9xD-8WCO1GLAWT8E4EukxGJj8eJDAqtbiyD9YHf61Jri474CnCAH-r_ZqIoXw61I4DmWLy9oJCmwz4ECRvbwY0qmabHjsMwWxnKhALS_cHaCJXUL3tAWrCd2DkM2QDb_4oIHXLxRaMhsdzR6iut-ced9dgRQN48dlLQkL_WuMzkrC_v54Kdnet8N81osTl_LzLolkdsmu44U_pHr0G-xwA9xxvVzCHpkJb3MZciS649-ZCZHfcYyHM9Pa-HwccRMo1jrmhVQ7dteC9NtBTRWzfZWHrmRBS4A2KeSEvzuf63isxhG_u1W1xjyMXXVikgreYLp8COcsiO4x-mhU2XfPqc5oJr0Rf_w-DCbv781Yp-v3jrupq_3NynPzbfISFIdwAQphYKGf32JXJk3sSW9_L9q7ipz3-tta36sFlu5ACcM9peP3HLkKbbCoqTbuGISn0P2OgcE6VvSEo1UWzpTa5Gg_f16LEWrwKuc8C40VHl8CQHMbCcOJg30S3ZGTpBPSZXVBL-qRIgyOD9RTIlfv6Xu0cW2F7UxGYT6ZmextdQ3fDfYFb5wn8cdgEtE-Zji3dfIHsohNXbfYkzBJu6pzzzesoKh0lzuwgEHwUUJ3W-FV2yvNsV3Jv324o2V4cM5mbUZRqHNoYXJkX2lkzjGtTIGia3KoM2EyMjVlNTiicGQA.R0zJEvsNqZ6xnPPKPVu6EU0NhE_2n4G6coKARCIEaoo"
}
}
 
The developer informed me this ^^^ error has nothing to do with the Block IP add-on. So noted.
 
Last edited:
Hi @AndyB , as usual your addons are great!
I would need a filter to block only "vpn" and not also relays.
Because the relays are icloud and google one and I would like to keep them.
Is there a way to put a filter?
 
Back
Top Bottom