Results 1 to 10 of 132

Hybrid View

  1. #1
    Join Date
    May 2008
    Location
    United States
    Posts
    490
    Plugin Contributions
    1

    Default Re: AbuseIPDB Integration module

    Quote Originally Posted by marcopolo View Post
    Posting again so everyone is clear on this:

    INSTALLATION AND UPGRADE
    Major Update Notice: If you are upgrading from v3.0.4 or earlier, you must uninstall the previous module before installing v4.0.0.
    ⚡ Important: Be sure to screen-capture your existing settings before uninstalling AbuseIPDB v3.0.4 or lower to preserve your configuration.

    Advanced Uninstallation: Preserving Cache Database
    If you are an advanced user and do not want to lose your cache database when uninstalling the plugin, you can modify the installer to preserve the database tables (abuseipdb_cache, abuseipdb_maintenance, and abuseipdb_flood). Follow these steps:

    Open the installer file for your current version (e.g., ScriptedInstaller.php) in a text editor.
    Locate the executeUninstall() method near the end of the file.
    Delete the following lines to prevent dropping the tables during uninstallation:
    PHP Code:
    $this->executeInstallerSql("DROP TABLE IF EXISTS " TABLE_ABUSEIPDB_CACHE);
    $this->executeInstallerSql("DROP TABLE IF EXISTS " TABLE_ABUSEIPDB_MAINTENANCE); 
    Save the file and proceed with the uninstallation via the Zen Cart admin panel. This will remove the plugin settings but leave the tables intact.
    When you install the new version, the installer will skip creating these tables if they already exist, preserving your data.


    🛡️ Major Release – AbuseIPDB v4.0.0

    This version introduces advanced flood detection and blocking, giving you full control over how your site handles aggressive traffic patterns.

    🚨 What’s New:
    Flood Blocking by IP Range
    You can now automatically block 2-octet (e.g., 192.168.*) or 3-octet (e.g., 192.168.1.*) IP ranges.
    Example: If 192.168.x.x exceeds the request limit (default 25 hits in 30 minutes), the entire 2-octet range will be blocked. If 30 minutes pass with no further hits, the block resets.

    Country & Foreign Blocking
    Works the same way — if traffic from a country exceeds the flood threshold, the country is temporarily blocked.
    You can choose to allow low-score IPs through by setting a minimum AbuseIPDB score (or set it to 0 to block all traffic from that country).
    Manual country blocking is also supported.

    High Score Caching
    New AbuseIPDB high-score cache prevents repeated API calls. If an IP already scored above the block threshold, it won’t be rechecked for X days (default: 7).

    New Visual Shields in Who’s Online
    Clearly see why an IP is being blocked:

    🔴 Red – Score-blocked by AbuseIPDB

    🟣 Purple – Manually blacklisted

    🔵 Blue – Manually country-blocked

    🟠 Orange – Flood-blocked (range, country, or foreign)


    Personal Recommendation:
    For daily use, I recommend enabling only the 2-octet, 3-octet, and foreign flood protection.
    Use country-based blocking only during an active attack — it will block IPs from your default country as well.

    NOTE:
    The 2-octet and 3-octet flood logic will block IPs even from your default country — there's no skip setting for those.
    This is by design, as tight-range IP floods are typically bot attacks.
    I may add an option to bypass default-country IPs in a future version.

    Enjoy!
    Important Note:
    Actually, do not keep the old tables — the new version of the plugin includes an updated abuseipdb_cache table with a new column I forgot to mention (flood_tracked).
    marcopolo
    Zen Cart 2.2.2 | PHP 8.5.4 | MariaDB 10.11.14

  2. #2
    Join Date
    May 2008
    Location
    United States
    Posts
    490
    Plugin Contributions
    1

    Default Re: AbuseIPDB Integration module

    New Release: AbuseIPDB v4.0.5

    🚨 What’s New:

    v4.0.5: Updated admin dashboard widget to display Session Rate Limiting blocks in .htaccess for easy admin visibility when they occur.

    v4.0.4: Bug Fix - resolved country code population bug and removed duplicate config setting in installer.

    Download the latest version and check out the full details on [GitHub](https://github.com/CcMarc/AbuseIPDB/releases/tag/v4.0.5)!
    marcopolo
    Zen Cart 2.2.2 | PHP 8.5.4 | MariaDB 10.11.14

 

 

Similar Threads

  1. AbuseIPDB integration?
    By marcopolo in forum General Questions
    Replies: 3
    Last Post: 4 May 2022, 06:31 PM
  2. v155 Full Ebay Integration Module
    By Wilkesy in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 19 Jun 2020, 03:29 AM
  3. v156 PayCertify Payment Integration Module
    By PayCertify in forum Addon Payment Modules
    Replies: 1
    Last Post: 1 May 2019, 11:29 PM
  4. Mailchimp Module Integration
    By hamid380 in forum Addon Sideboxes
    Replies: 5
    Last Post: 7 Sep 2011, 01:11 PM
  5. Custom Shipping Module Integration
    By youderian in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 22 Dec 2008, 05:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg