If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / AbuseIPDB Integration module

AbuseIPDB Integration module

Started by marcopolo on 16 Apr 2023, 1:12 PM · Views: 22,384

Results 121 to 140 of 147
1 Sep 2025, 12:54 PM
#121
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

AbuseIPDB Integration module

I had a customer say they tried to get on site for a few days, but it said 'access denied'. I am not sure what the message screen for abuse is actually, when blocked. They were able to get on okay at weekend though. I would say there was a massive bot scraping operation going on around same time apparently, I told server and they said they had come across this for the other sites on their systems. So they blocked that whole range. I don't have country flood enabled, do you think octet flood or session rate settings might be culprit? I am guessing the two are related, maybe the customer got caught in the crossfire with this big bot attack thing. Thanks in advance.

1 Sep 2025, 1:20 PM
#122
marcopolo avatar

marcopolo

Totally Zenned

Join Date:
May 2008
Location:
United States
Posts:
529
Plugin Contributions:
3

Re: AbuseIPDB Integration module

HeathenMagic:

I had a customer say they tried to get on site for a few days, but it said 'access denied'. I am not sure what the message screen for abuse is actually, when blocked. They were able to get on okay at weekend though. I would say there was a massive bot scraping operation going on around same time apparently, I told server and they said they had come across this for the other sites on their systems. So they blocked that whole range. I don't have country flood enabled, do you think octet flood or session rate settings might be culprit? I am guessing the two are related, maybe the customer got caught in the crossfire with this big bot attack thing. Thanks in advance.

If it had been a session rate limiting block, that would show up as a permanent Deny from <IP> entry in the .htaccess under the AbuseIPDB section. Since you don’t see their IP there, it wasn’t SRL.

You can see exactly what the customer would have seen by using the plugin’s Test Mode—that forces the “Access Denied” message regardless of score.

Another possibility is that the customer was on a VPN or mobile network where IPs tend to rotate. Those often carry higher AbuseIPDB scores and can be blocked even if you’re not using country flood.

To be sure, I’d recommend turning on logging in the plugin. That way you can look up their IP and see whether it was caught by:

Score block (exceeded your confidence threshold)

Octet flood (2- or 3-octet prefix got busy during the scrape)

Or if it was just your host’s server-level range ban

A couple other good practices from the README:

Whitelist trusted customer IPs if needed.

Keep an eye on the Who’s Online shields—they’ll show if it was score, blacklist, flood, or country that triggered.

Remember the Score-Safe rule: even if a flood threshold is hit, an IP still needs to meet the minimum score before blocking occurs. That helps avoid catching bursts of legit traffic like newsletters or sales.

If you’re not sure which feature bit, the log files are your best friend (abuseipdb_blocked_*, abuseipdb_session_blocks.log, etc.).

And yes—all of this is outlined in the README, so it’s worth a quick re-read whenever you’re tracking down one of these cases.

marcopolo
Zen Cart 2.2.2 | PHP 8.5.13 | MariaDB 10.11.14

1 Sep 2025, 5:41 PM
#123
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

Re: AbuseIPDB Integration module

marcopolo:

If it had been a session rate limiting block, that would show up as a permanent Deny from <IP> entry in the .htaccess under the AbuseIPDB section. Since you don’t see their IP there, it wasn’t SRL.

You can see exactly what the customer would have seen by using the plugin’s Test Mode—that forces the “Access Denied” message regardless of score.

Another possibility is that the customer was on a VPN or mobile network where IPs tend to rotate. Those often carry higher AbuseIPDB scores and can be blocked even if you’re not using country flood.

To be sure, I’d recommend turning on logging in the plugin. That way you can look up their IP and see whether it was caught by:

Score block (exceeded your confidence threshold)

Octet flood (2- or 3-octet prefix got busy during the scrape)

Or if it was just your host’s server-level range ban

A couple other good practices from the README:

Whitelist trusted customer IPs if needed.

Keep an eye on the Who’s Online shields—they’ll show if it was score, blacklist, flood, or country that triggered.

Remember the Score-Safe rule: even if a flood threshold is hit, an IP still needs to meet the minimum score before blocking occurs. That helps avoid catching bursts of legit traffic like newsletters or sales.

If you’re not sure which feature bit, the log files are your best friend (abuseipdb_blocked_*, abuseipdb_session_blocks.log, etc.).

And yes—all of this is outlined in the README, so it’s worth a quick re-read whenever you’re tracking down one of these cases.

Thanks so much for your reply! I just checked the customer account today, and it seems it is a different IP login than it was yesterday. They said not on VPN, so must be a mobile network. Both were BT. I didn't realise VPN would be high score rated sometimes. I guess some VPNs are more questionable than others. Perhaps I could increase threshold score from 41.

1 Sep 2025, 9:36 PM
#124
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
433
Plugin Contributions:
0

Re: AbuseIPDB Integration module

I use the following steps and have reduced the spam accounts, email abuse etc to a minimum:
threshold set to 45;
notice on front page re use of VPN and octet blocking by Wikimedia; and
I also use AccessBlocker on all 'Contact' forms.This can block a lot of tor sites and VPNs

OldNGrey
ZC222 PHP 8.4.27
MySQL 11.8.5-MariaDB

10 Oct 2025, 5:11 PM
#125
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

Re: AbuseIPDB Integration module

Not sure if an intermittent glitch, but doing an order for a customer in their account (pay via phone, select cash as method and put through) once logged in it showed the forbidden access screen. I tried my test account and the same thing for that also. Though it was 2 hours after abuseipdb daily limit exhausted. Though doing the same process just now, it is fine. I am guessing it may be AbuseIPDB service may do this due to exhausted access?
I also tried after exhaustion on mobile data, and the same forbidden once logging in. But not logging, it seemed okay.

11 Oct 2025, 2:51 PM
#126
shop_suey avatar

shop_suey

Zen Follower

Join Date:
Feb 2014
Location:
Germany
Posts:
375
Plugin Contributions:
0

Re: AbuseIPDB Integration module

Did you check the IP score at their website?

roller-aus-blech.de
Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/

11 Oct 2025, 4:40 PM
#127
marcopolo avatar

marcopolo

Totally Zenned

Join Date:
May 2008
Location:
United States
Posts:
529
Plugin Contributions:
3

Re: AbuseIPDB Integration module

Shop Suey:

Did you check the IP score at their website?

When the AbuseIPDB daily quota was exhausted, older builds could treat the “-1” score in a way that kept incrementing flood counters on each refresh. That could tip your 2-octet/3-octet thresholds and show the Forbidden page especially right after login.

This is now fixed in v4.0.9:

“-1” (API exhausted) is now treated as safe (like score 0),

flood is seeded once (no per-refresh increments), and

no flood-based blocking occurs while the API is exhausted.

Download and install the updated v4.0.9 module available on GitHub: https://github.com/CcMarc/AbuseIPDB/releases/download/v4.0.9/AbuseIPDB_v4.0.9.zip

marcopolo
Zen Cart 2.2.2 | PHP 8.5.13 | MariaDB 10.11.14

11 Oct 2025, 4:41 PM
#128
marcopolo avatar

marcopolo

Totally Zenned

Join Date:
May 2008
Location:
United States
Posts:
529
Plugin Contributions:
3

Re: AbuseIPDB Integration module

HeathenMagic:

Not sure if an intermittent glitch, but doing an order for a customer in their account (pay via phone, select cash as method and put through) once logged in it showed the forbidden access screen. I tried my test account and the same thing for that also. Though it was 2 hours after abuseipdb daily limit exhausted. Though doing the same process just now, it is fine. I am guessing it may be AbuseIPDB service may do this due to exhausted access?
I also tried after exhaustion on mobile data, and the same forbidden once logging in. But not logging, it seemed okay.

When the AbuseIPDB daily quota was exhausted, older builds could treat the “-1” score in a way that kept incrementing flood counters on each refresh. That could tip your 2-octet/3-octet thresholds and show the Forbidden page especially right after login.

This is now fixed in v4.0.9:

“-1” (API exhausted) is now treated as safe (like score 0),

flood is seeded once (no per-refresh increments), and

no flood-based blocking occurs while the API is exhausted.

Download and install the updated v4.0.9 module available on GitHub: https://github.com/CcMarc/AbuseIPDB/...PDB_v4.0.9.zip

marcopolo
Zen Cart 2.2.2 | PHP 8.5.13 | MariaDB 10.11.14

28 Oct 2025, 4:18 AM
#129
siliconbug avatar

siliconbug

Zen Follower

Join Date:
Apr 2009
Posts:
126
Plugin Contributions:
0

Re: AbuseIPDB Integration module

In v2.1.2 (for ZC 1.5.8),
what's the difference between "Enable IP Blacklist File?" and "IP Address: Blacklist"?

28 Oct 2025, 10:05 AM
#130
marcopolo avatar

marcopolo

Totally Zenned

Join Date:
May 2008
Location:
United States
Posts:
529
Plugin Contributions:
3

Re: AbuseIPDB Integration module

siliconbug:

In v2.1.2 (for ZC 1.5.8),
what's the difference between "Enable IP Blacklist File?" and "IP Address: Blacklist"?

The admin blacklist setting lets you manually enter specific IPs to block right in the configuration panel.

If you enable the IP Blacklist File, the module will also check that file for matches and once that’s enabled, you can add IPs directly to the file or blacklist them instantly from the “Who’s Online” page using the 🚫 button.

marcopolo
Zen Cart 2.2.2 | PHP 8.5.13 | MariaDB 10.11.14

21 May 2026, 8:12 PM
#131
njcyx avatar

njcyx

Zen Follower

Join Date:
Apr 2019
Posts:
382
Plugin Contributions:
0

Re: AbuseIPDB Integration module

My site recently was very very slow. Tried several ways to improve but no help. Then I installed this abuseipdb. When I enabled it, the website is no more slow!

Thanks for your contribution. Also thank you for your tips to increase api call to 5k per day in your installation guide.

21 May 2026, 8:43 PM
#132
njcyx avatar

njcyx

Zen Follower

Join Date:
Apr 2019
Posts:
382
Plugin Contributions:
0

Re: AbuseIPDB Integration module

One question. Regarding the whitelist/blacklist in the setting page, other than single IP address, can we also use IP ranges such as 192.168.1.0/23, or 192.168.1. ?

5 Oct 2026, 1:28 PM
#133
njcyx avatar

njcyx

Zen Follower

Join Date:
Apr 2019
Posts:
382
Plugin Contributions:
0

Re: AbuseIPDB Integration module

Zc 2.10. php 8.2

I used this plug-in for the past several months without any issues.

Recently, it looks like when this plug-in is editing the htaccess file trying to add a new line of block IP, sometimes it will mess up or damage the format of the file, which will cause the whole website down. It happened twice in the past 2 weeks during the night already. Since there is no option in the settings which will block accessing the htaccess file, I have changed the permission for this file to 444 so no one can change this file any more.

I'm not sure if my server changed anything on the back. At least I didn't change any codes for this plug-in. Maybe my htaccess file is too large (62KB), or maybe the plug-in block section in the file is too long (60 lines).

5 Oct 2026, 8:03 PM
#134
marcopolo avatar

marcopolo

Totally Zenned

Join Date:
May 2008
Location:
United States
Posts:
529
Plugin Contributions:
3

Re: AbuseIPDB Integration module

njcyx:

Zc 2.10. php 8.2

I used this plug-in for the past several months without any issues.

Recently, it looks like when this plug-in is editing the htaccess file trying to add a new line of block IP, sometimes it will mess up or damage the format of the file, which will cause the whole website down. It happened twice in the past 2 weeks during the night already. Since there is no option in the settings which will block accessing the htaccess file, I have changed the permission for this file to 444 so no one can change this file any more.

I'm not sure if my server changed anything on the back. At least I didn't change any codes for this plug-in. Maybe my htaccess file is too large (62KB), or maybe the plug-in block section in the file is too long (60 lines).

Thanks for the detailed report. I was able to reproduce it. When several requests tried to add a block at the same moment, they could overwrite each other and leave the file damaged. A larger .htaccess like yours makes that more likely, and it tends to happen at night when bots hit in bursts.

A new version (v4.0.15) will be up on GitHub shortly with a fix. Writes to .htaccess are now locked and verified, so this can no longer happen. It also adds a few things you may find useful:

  • Session blocks now expire on their own (30 days by default), so the block section no longer keeps growing.
  • A new AbuseIPDB Console under Tools where you can see, add and remove the blocked IPs.
  • A setting to stop the plugin from writing to .htaccess at all, if you ever want that.

Once you upgrade, you can set the file back to 644 so blocking works again. Your existing blocks will be kept.

marcopolo
Zen Cart 2.2.2 | PHP 8.5.13 | MariaDB 10.11.14

5 Oct 2026, 8:30 PM
#135
njcyx avatar

njcyx

Zen Follower

Join Date:
Apr 2019
Posts:
382
Plugin Contributions:
0

Re: AbuseIPDB Integration module

That is that a fast update. Thank you so much. I will try your updates files and I will let you know.

Yes, it could be safer to just lock the htacccess file for manually editing. On the other end, just my 2c, if you still want the plug-in to auto edit/add the IPs to the htacccess file, maybe just add a system delay (like one trigger/write every 10 mins), or scheduled write (like once per hour or so).

5 Oct 2026, 8:36 PM
#136
marcopolo avatar

marcopolo

Totally Zenned

Join Date:
May 2008
Location:
United States
Posts:
529
Plugin Contributions:
3

Re: AbuseIPDB Integration module

AbuseIPDB v4.0.15 is now available.

GitHub: https://github.com/CcMarc/AbuseIPDB/releases/latest

What's new

- Fixed an issue where .htaccess could be damaged when several requests tried to add a session block at the same time. Writes are now locked and verified.

- New AbuseIPDB Console under Tools. You can see every IP blocked in .htaccess, block or unblock an IP by hand, look up what the module knows about an IP, and read the module logs without leaving the admin.

- Session blocks now expire on their own. The default is 30 days, and you can set it to 0 to keep the old behavior.

- .htaccess backups can be restored from the console.

- API Quota Telemetry now shows as a readable line on the settings page.

- Three new settings: Session Block Expiry (days), Write Session Blocks to .htaccess?, and Log File Format Htaccess.

Upgrading

Copy the new version folder into zc_plugins/AbuseIPDB and run Upgrade in Plugin Manager. Your existing session blocks are kept and will show in the console as "Imported". They get the default 30 day expiry starting from the day you upgrade.

Requires Zen Cart 2.2.2 or later.

marcopolo
Zen Cart 2.2.2 | PHP 8.5.13 | MariaDB 10.11.14

26 Oct 2026, 1:02 PM
#137
kobie avatar

kobie

New Zenner

Join Date:
Jun 2023
Location:
Randburg, South Africa
Posts:
5
Plugin Contributions:
0

Re: AbuseIPDB Integration module

Good day,

I have been running this plugin for close to three weeks now. All seems to be working correctly on the store side. I see the blocked IP's and have blacklisted a number of IP's fromn the "who's online" screen as well.

I just logged into AbuseIP and i noticed that I am at contributer status, but with 0 reports.
"User TechnoPro joined AbuseIPDB in October 2026 and has reported 0 IP addresses."

I did install the Admin widget and activated the option in setup. Am I missing something?

Regards,

Kobie

26 Oct 2026, 5:09 PM
#138
marcopolo avatar

marcopolo

Totally Zenned

Join Date:
May 2008
Location:
United States
Posts:
529
Plugin Contributions:
3

Re: AbuseIPDB Integration module

kobie:

Good day,

I have been running this plugin for close to three weeks now. All seems to be working correctly on the store side. I see the blocked IP's and have blacklisted a number of IP's fromn the "who's online" screen as well.

I just logged into AbuseIP and i noticed that I am at contributer status, but with 0 reports.
"User TechnoPro joined AbuseIPDB in October 2026 and has reported 0 IP addresses."

I did install the Admin widget and activated the option in setup. Am I missing something?

Regards,

Kobie

Hi Kobie,

Nothing is missing. The plugin works in one direction only. It asks AbuseIPDB about each visitor's IP (the "check" endpoint) and uses the returned abuse score to decide whether to block. It never submits reports back to AbuseIPDB, so your report count will always stay at zero no matter what the plugin blocks or what you blacklist from Who's Online.

The admin widget is just a dashboard view of what the plugin has checked and blocked on your store. It does not report anything either.

Why it does not report: the plugin's own blocks are based on behaviour it sees in the store (flood counters, session rate limits, your manual blacklist). Those are useful signals for your store but are not strong enough evidence to publicly label an IP as abusive on a shared database, where a false report can get a real customer flagged everywhere. So the plugin stays a consumer of the data rather than a contributor.

If you want to contribute, the best way is to report manually from your AbuseIPDB account. Pick an IP from the plugin's blocked log or the Who's Online screen, look it up at abuseipdb.com, and if its activity on your store clearly matches one of their categories (brute force, web app attack, bad bot, etc.) file a report there with the details from your logs. The categories and the evidence you give are what AbuseIPDB values, and a few well documented reports count for more than a lot of automatic ones.

marcopolo
Zen Cart 2.2.2 | PHP 8.5.13 | MariaDB 10.11.14

26 Oct 2026, 6:55 PM
#139
kobie avatar

kobie

New Zenner

Join Date:
Jun 2023
Location:
Randburg, South Africa
Posts:
5
Plugin Contributions:
0

Re: AbuseIPDB Integration module

Thank you for the swift reply. What you say makes complete sense. I will attempt to report the worst offenders manually. In the mean time I have been upgraded to 3000 API calls a day by Abuse IP. That helped already.

Greetings

Kobie

26 Oct 2026, 7:46 PM
#140
marcopolo avatar

marcopolo

Totally Zenned

Join Date:
May 2008
Location:
United States
Posts:
529
Plugin Contributions:
3

Re: AbuseIPDB Integration module

kobie:

Thank you for the swift reply. What you say makes complete sense. I will attempt to report the worst offenders manually. In the mean time I have been upgraded to 3000 API calls a day by Abuse IP. That helped already.

Greetings

Kobie

Hi Kobie,

Glad the 3,000 helped. That one comes from verifying your domain in the AbuseIPDB Webmasters section. There is one more step up to 5,000 a day, and the plugin is already set up for it.

AbuseIPDB grants the Supporter role to accounts that display their contributor badge, and the admin widget is how the plugin displays it. For AbuseIPDB to count it, the widget needs your member ID:

1. Log in to AbuseIPDB and open Account > Contributor Badge:

https://www.abuseipdb.com/account/contributor

2. In the HTML block shown there, find the line that reads

<a href="https://www.abuseipdb.com/user/XXXXXX" ...>

The number in place of XXXXXX is your member ID. It is not your API key.

3. In Zen Cart go to Configuration > AbuseIPDB Settings and enter only that number in "AbuseIPDB: User ID".

4. Keep "Enable Admin Widget?" set to true.

Once the widget is showing your badge on the admin dashboard, AbuseIPDB picks it up and your account moves to Supporter at 5,000 checks a day. It is not always instant, so give it a day. If you later disable the widget you may lose the Supporter role.

The README covers the same steps under "Boost AbuseIPDB API Limits" if you want the longer version.

marcopolo
Zen Cart 2.2.2 | PHP 8.5.13 | MariaDB 10.11.14