Forums / Addon Admin Tools / Access Blocker Support Thread

Access Blocker Support Thread

Views: 53,254

Results 41 to 60 of 133
5 Dec 2020, 3:16 AM
#41
ink avatar

ink

Zen Follower

Join Date:
Jul 2004
Posts:
140
Plugin Contributions:
0

Access Blocker Support Thread

Hi, so this you recommended to me a while ago. Is this just for stopping spammers sending mail or can you use it to deny access to the whole website based on IP. I know there are flaws, but its a good start to stop these spamming b@st@rdos

5 Dec 2020, 11:41 AM
#42
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Access Blocker Support Thread

ink:

Hi, so this you recommended to me a while ago. Is this just for stopping spammers sending mail or can you use it to deny access to the whole website based on IP. I know there are flaws, but its a good start to stop these spamming b@st@rdos
In its current form, the plugin's intent is specifically to stop the generation of spam e-mail. The same settings and basic program-flow could also be used to deny access, but that's outside of the scope of this plugin.

5 Dec 2020, 4:45 PM
#43
ink avatar

ink

Zen Follower

Join Date:
Jul 2004
Posts:
140
Plugin Contributions:
0

Re: Access Blocker Support Thread

OK thank you for confirming

7 Dec 2020, 3:39 PM
#44
angst avatar

angst

New Zenner

Join Date:
Dec 2008
Posts:
62
Plugin Contributions:
0

Re: Access Blocker Support Thread

Ink,
This plugin can help you to a degree. It helped me immensely. You need to come at blocking from a few different angles at the same time. Here are a few of the things I have done to knock the fake users down. For me the creation of fake users was the reason I set about blocking certain ip addresses.

  1. this plugin. With this plugin you can block certain users from using “contact us” and create account”
    You can block by country. Keep an eye on your administration/tools/who's online and every time you see a user on your page /index.php?main_page=contact_us&action=success click the ip address and whois.domaintools.com will tell you the ip location.

In this plugin settings at administration/configuration/access blocker settings there is a block by country section. You use the two character abbreviation for the country code. Here is what my list looks like. Feel free to just copy this into your configuration.
IS,NL,SG,ZW,MK,RU,CN,TW,IN,BE,PE,BR,CZ,RO,ZW,TH,UA,DE,BR,VN,SG,BG,AT,FI,IR,PK,KR,GA,SE,LT,FR,TR,CH,NO,AR,ZA

While you are in the settings I would suggest adding to the block by create account company filter the name of the famous search engine we all use daily.

Set enable debug to true. With this on you will have a log created that you can look at in FTP that will give you insight on what ipdata.co is blocking

  1. in your administration locations/taxes/countries toggle off all the obscure non english language or non European countries that will realistically never order from your site. This will result in it getting rejected when they create a customer with one of these chosen countries. There are a couple countries in particular that the spam bots have chosen for the country ( you may already know what you want to turn off first. It starts with Z and we don't say it out loud here cause the spammers may find this conversation)

  2. get a free tier Cloudflare.com account. This will give you a firewall with 5 blocking rules. Block Russia, Ukrane, and China. Then after a few days in cloudflare go under analytics and look at the map of web traffic by country. Block wherever you are getting crazy traffic that wouldn't normally be on your site.

  3. Block address by using your .htaccess file. I was using this method for some time and while it is satisfying to catch an ip address in the act and block it or its range it is a game of whack a mole that you will never win. The bots are running 24/7. My .htaccess page is hopelessly long now too. That has to load every time the page loads theoretically slowing the site down.

7 Dec 2020, 6:26 PM
#45
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Access Blocker Support Thread

angst:

For me the creation of fake users was the reason I set about blocking certain ip addresses.
@angst,
This change to core files (and any overrides you may have of those files) will stop a lot of fake account creation, on all Zen Cart versions before v157b:
https://github.com/zencart/zencart/commit/64c54ba8b9c8bedb2952456bda0846a49ffe7398

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

12 Feb 2021, 12:48 PM
#46
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Access Blocker Support Thread

A great new change that's coming in 1.5.8 is recording the IP that creates an account - this will make it easy to identify the troublemakers and block them using Access Blocker.

I will publish instructions on backporting this change to earlier versions soon.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

12 Feb 2021, 3:45 PM
#47
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Access Blocker Support Thread

I block IP's from scriptkiddies that can't hide and ones wasting resources SQL scans... however, there have been many that can hide... I never use my true IP, even through I'm not hiding, signed in through my own firewall.
Insert from a website I wont list...

There are many reasons why you would want a random IP address, as it:

Lets you change your IP location at any time.
Protects you from an IP ban.
Offers you a scalable way to screen scrape any site.

Be careful you don't block yourself.. If you do, use a proxy network to get back in...

Dave
Always forward thinking... Lost my mind!

13 Feb 2021, 2:39 PM
#48
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Access Blocker Support Thread

I've just submitted v1.2.0 of the Access Blocker for the Zen Cart moderators' review. I'll post back here when it's available for download.

This release provides an integration with the One-Page Checkout, disabling its Guest Checkout mode if a blocked IP is in effect. See GitHub issue #9 for additional information.

Supported on an unsuffixed zc157 installation if and only if all current bugfixes have been applied (but it is better if you're using v1.5.7b already).

17 Feb 2021, 1:04 PM
#49
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Access Blocker Support Thread

lat9:

I've just submitted v1.2.0 of the Access Blocker for the Zen Cart moderators' review. I'll post back here when it's available for download.

This release provides an integration with the One-Page Checkout, disabling its Guest Checkout mode if a blocked IP is in effect. See GitHub issue #9 for additional information.

Supported on an unsuffixed zc157 installation if and only if all current bugfixes have been applied (but it is better if you're using v1.5.7b already).
Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2237

23 Apr 2021, 2:34 PM
#50
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Access Blocker Support Thread

v1.3.0 of Access Blocker is now available for download.

This version adds the zc157+ version of ask_a_question to the list of pages protected; see GitHub issue #10 for additional information.

6 Aug 2021, 5:10 PM
#52
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Access Blocker Support Thread

I've just submitted v1.4.0 of Access Blocker for the Zen Cart moderators' review; I'll post back here when it's available for download.

This version adds configuration settings for an IP-address and an email-address whitelist, enabling a site to 'unblock' a customer whose Internet provider has been recorded as a threat by https://ipdata.co.

9 Aug 2021, 5:22 PM
#53
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Access Blocker Support Thread

lat9:

I've just submitted v1.4.0 of Access Blocker for the Zen Cart moderators' review; I'll post back here when it's available for download.

This version adds configuration settings for an IP-address and an email-address whitelist, enabling a site to 'unblock' a customer whose Internet provider has been recorded as a threat by https://ipdata.co.
Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2237

17 Aug 2021, 9:29 AM
#54
irishshopper avatar

irishshopper

Zen Follower

Join Date:
Apr 2010
Location:
County Down, Northern Ireland
Posts:
302
Plugin Contributions:
0

Re: Access Blocker Support Thread

I have just installed V1.4 and used the API Key but it is not working on https://www.rmstitanic100.com!!!

I have used the keywords below ion the window but people are still getting through using some of these keywords.

######,mortgage,############,looking for date,
waiting for you,wants to meet you,
looking for meet,wants to date,
wants to chat,wants for meet,chat,
to see you, waiting for you,
have sent you, wants to see,free
traffic,########

17 Aug 2021, 11:15 AM
#55
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Access Blocker Support Thread

irishshopper:

I have just installed V1.4 and used the API Key but it is not working on www.rmstitanic100.com!!!

I have used the keywords below ion the window but people are still getting through using some of these keywords.

######,mortgage,############,looking for date,
waiting for you,wants to meet you,
looking for meet,wants to date,
wants to chat,wants for meet,chat,
to see you, waiting for you,
have sent you, wants to see,free
traffic,########
Noting that the API key isn't needed for the keyword-based blocks. Which keywords are being allowed vs. blocked (that's bizarre).

18 Aug 2021, 4:30 PM
#56
angst avatar

angst

New Zenner

Join Date:
Dec 2008
Posts:
62
Plugin Contributions:
0

Re: Access Blocker Support Thread

Irishshopper
Just spitballing some ideas.
Is it possible the spaces or another character in your keyword blocklist is interfering with it working?

Try making your list just individual words with no spaces after the comma.
Like so

meet,chat,date,mortgage,traffic,free

And of course make sure enable access blocker is set to true.

Since you have set up the ipdata.co key you can go in your site logs and look at what is being blocked by their filter and see if it is working.
The log will be in your sites files somewhere similar to this /public_html/logs/accesses_blocked_2021_08.log

18 Aug 2021, 4:50 PM
#57
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Access Blocker Support Thread

angst:

Irishshopper
Just spitballing some ideas.
Is it possible the spaces or another character in your keyword blocklist is interfering with it working?

Try making your list just individual words with no spaces after the comma.
Like so

And of course make sure enable access blocker is set to true.

Since you have set up the ipdata.co key you can go in your site logs and look at what is being blocked by their filter and see if it is working.
The log will be in your sites files somewhere similar to this /public_html/logs/accesses_blocked_2021_08.log
What @angst said!:smile:

11 Feb 2022, 2:56 AM
#58
angst avatar

angst

New Zenner

Join Date:
Dec 2008
Posts:
62
Plugin Contributions:
0

Re: Access Blocker Support Thread

Anyone else find that your logs in your server stopped on 12-31-2021?
I can see in my dashboard at ipdata.co that it is still making blocks daily though.

11 Feb 2022, 12:03 PM
#59
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Access Blocker Support Thread

angst:

Anyone else find that your logs in your server stopped on 12-31-2021?
I can see in my dashboard at ipdata.co that it is still making blocks daily though.
I'm seeing logs from January and February. Maybe you've scared them all off.:smile:

14 Feb 2022, 5:50 PM
#60
philibel avatar

philibel

Zen Follower

Join Date:
Mar 2008
Location:
Belgium
Posts:
120
Plugin Contributions:
3

Re: Access Blocker Support Thread

FYI for EU-based webshop:

https://docs.ipdata.co:

We also offer a dedicated EU endpoint to ensure that the end user data you send us stays in the EU. This has the same functionality as our standard endpoint but routes the request through our EU servers (Paris, Ireland and Frankfurt) only.

find in .../includes/classes/ipData.php on line 24:

        curl_setopt($ch, CURLOPT_URL, "https://api.ipdata.co/" . $ip_address . $api_key);

and replace by:

        curl_setopt($ch, CURLOPT_URL, "https://eu-api.ipdata.co/" . $ip_address . $api_key);

This way you aren't in violation with EU rules about privacy.