Page 9 of 11 FirstFirst ... 7891011 LastLast
Results 81 to 90 of 105
  1. #81
    Join Date
    May 2008
    Location
    United States
    Posts
    471
    Plugin Contributions
    1

    Default Re: AbuseIPDB Integration module

    AbuseIPDB v3.0.4 is now available for download: https://github.com/CcMarc/AbuseIPDB/...PDB_v3.0.4.zip
    marcopolo
    Zen Cart 2.1.0 | PHP 8.3.6 | MariaDB 10.11.8

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

    Default Re: AbuseIPDB Integration module

    🛡️ 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 — because it will also block IPs from your default country.

    That’s why foreign blocking is preferred for general use — it works the same way but will never block your default country.


    Enjoy!
    marcopolo
    Zen Cart 2.1.0 | PHP 8.3.6 | MariaDB 10.11.8

  3. #83
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,492
    Plugin Contributions
    11

    Default Re: AbuseIPDB Integration module

    Installed and did cleanup. 500 error with this debug

    Code:
    [17-May-2025 14:26:37 America/Chicago] PHP Fatal error:  Uncaught Error: Undefined constant "ABUSEIPDB_HIGH_SCORE_CACHE_ENABLED" in /home/MY_USER/public_html/zc_plugins/AbuseIPDB/v4.0.0/catalog/includes/classes/observers/abuseipdb_observer.php:222Stack trace:
    #0 /home/MY_USER/public_html/zc_plugins/AbuseIPDB/v4.0.0/catalog/includes/classes/observers/abuseipdb_observer.php(22): abuseipdb_observer->checkAbusiveIP()
    #1 /home/MY_USER/public_html/includes/classes/traits/NotifierManager.php(107): abuseipdb_observer->update(Object(notifier), 'NOTIFY_HTML_HEA...', 'index', 'MY_TEMPLATE', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
    #2 /home/MY_USER/public_html/includes/templates/MY_TEMPLATE/common/html_header.php(19): base->notify('NOTIFY_HTML_HEA...', 'index', 'MY_TEMPLATE')
    #3 /home/MY_USER/public_html/index.php(48): require('/home/MY_USER/...')
    #4 {main}
      thrown in /home/MY_USER/public_html/zc_plugins/AbuseIPDB/v4.0.0/catalog/includes/classes/observers/abuseipdb_observer.php on line 222
    
    
    [17-May-2025 14:26:37 America/Chicago] Request URI: /, IP address: 123.234.134.255
    --> PHP Fatal error: Uncaught Error: Undefined constant "ABUSEIPDB_HIGH_SCORE_CACHE_ENABLED" in /home/MY_USER/public_html/zc_plugins/AbuseIPDB/v4.0.0/catalog/includes/classes/observers/abuseipdb_observer.php:222
    Stack trace:
    #0 /home/MY_USER/public_html/zc_plugins/AbuseIPDB/v4.0.0/catalog/includes/classes/observers/abuseipdb_observer.php(22): abuseipdb_observer->checkAbusiveIP()
    #1 /home/MY_USER/public_html/includes/classes/traits/NotifierManager.php(107): abuseipdb_observer->update(Object(notifier), 'NOTIFY_HTML_HEA...', 'index', 'MY_TEMPLATE', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
    #2 /home/MY_USER/public_html/includes/templates/MY_TEMPLATE/common/html_header.php(19): base->notify('NOTIFY_HTML_HEA...', 'index', 'MY_TEMPLATE')
    #3 /home/MY_USER/public_html/index.php(48): require('/home/MY_USER/...')
    #4 {main}
      thrown in /home/MY_USER/public_html/zc_plugins/AbuseIPDB/v4.0.0/catalog/includes/classes/observers/abuseipdb_observer.php on line 222.
    
    
    [17-May-2025 14:26:37 America/Chicago] Request URI: /, IP address: 123.234.134.255
    --> PHP Fatal error: Uncaught Error: Undefined constant "ABUSEIPDB_HIGH_SCORE_CACHE_ENABLED" in /home/MY_USER/public_html/zc_plugins/AbuseIPDB/v4.0.0/catalog/includes/classes/observers/abuseipdb_observer.php:222
    Stack trace:
    #0 /home/MY_USER/public_html/zc_plugins/AbuseIPDB/v4.0.0/catalog/includes/classes/observers/abuseipdb_observer.php(22): abuseipdb_observer->checkAbusiveIP()
    #1 /home/MY_USER/public_html/includes/classes/traits/NotifierManager.php(107): abuseipdb_observer->update(Object(notifier), 'NOTIFY_HTML_HEA...', 'index', 'MY_TEMPLATE', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
    #2 /home/MY_USER/public_html/includes/templates/MY_TEMPLATE/common/html_header.php(19): base->notify('NOTIFY_HTML_HEA...', 'index', 'MY_TEMPLATE')
    #3 /home/MY_USER/public_html/index.php(48): require('/home/MY_USER/...')
    #4 {main}
      thrown in /home/MY_USER/public_html/zc_plugins/AbuseIPDB/v4.0.0/catalog/includes/classes/observers/abuseipdb_observer.php on line 222.

  4. #84
    Join Date
    May 2008
    Location
    United States
    Posts
    471
    Plugin Contributions
    1

    Default Re: AbuseIPDB Integration module

    Quote Originally Posted by dbltoe View Post
    Installed and did cleanup. 500 error with this debug

    Code:
    [17-May-2025 14:26:37 America/Chicago] PHP Fatal error:  Uncaught Error: Undefined constant "ABUSEIPDB_HIGH_SCORE_CACHE_ENABLED" in /home/MY_USER/public_html/zc_plugins/AbuseIPDB/v4.0.0/catalog/includes/classes/observers/abuseipdb_observer.php:222Stack trace:
    #0 /home/MY_USER/public_html/zc_plugins/AbuseIPDB/v4.0.0/catalog/includes/classes/observers/abuseipdb_observer.php(22): abuseipdb_observer->checkAbusiveIP()
    #1 /home/MY_USER/public_html/includes/classes/traits/NotifierManager.php(107): abuseipdb_observer->update(Object(notifier), 'NOTIFY_HTML_HEA...', 'index', 'MY_TEMPLATE', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
    #2 /home/MY_USER/public_html/includes/templates/MY_TEMPLATE/common/html_header.php(19): base->notify('NOTIFY_HTML_HEA...', 'index', 'MY_TEMPLATE')
    #3 /home/MY_USER/public_html/index.php(48): require('/home/MY_USER/...')
    #4 {main}
      thrown in /home/MY_USER/public_html/zc_plugins/AbuseIPDB/v4.0.0/catalog/includes/classes/observers/abuseipdb_observer.php on line 222
    
    
    [17-May-2025 14:26:37 America/Chicago] Request URI: /, IP address: 123.234.134.255
    --> PHP Fatal error: Uncaught Error: Undefined constant "ABUSEIPDB_HIGH_SCORE_CACHE_ENABLED" in /home/MY_USER/public_html/zc_plugins/AbuseIPDB/v4.0.0/catalog/includes/classes/observers/abuseipdb_observer.php:222
    Stack trace:
    #0 /home/MY_USER/public_html/zc_plugins/AbuseIPDB/v4.0.0/catalog/includes/classes/observers/abuseipdb_observer.php(22): abuseipdb_observer->checkAbusiveIP()
    #1 /home/MY_USER/public_html/includes/classes/traits/NotifierManager.php(107): abuseipdb_observer->update(Object(notifier), 'NOTIFY_HTML_HEA...', 'index', 'MY_TEMPLATE', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
    #2 /home/MY_USER/public_html/includes/templates/MY_TEMPLATE/common/html_header.php(19): base->notify('NOTIFY_HTML_HEA...', 'index', 'MY_TEMPLATE')
    #3 /home/MY_USER/public_html/index.php(48): require('/home/MY_USER/...')
    #4 {main}
      thrown in /home/MY_USER/public_html/zc_plugins/AbuseIPDB/v4.0.0/catalog/includes/classes/observers/abuseipdb_observer.php on line 222.
    
    
    [17-May-2025 14:26:37 America/Chicago] Request URI: /, IP address: 123.234.134.255
    --> PHP Fatal error: Uncaught Error: Undefined constant "ABUSEIPDB_HIGH_SCORE_CACHE_ENABLED" in /home/MY_USER/public_html/zc_plugins/AbuseIPDB/v4.0.0/catalog/includes/classes/observers/abuseipdb_observer.php:222
    Stack trace:
    #0 /home/MY_USER/public_html/zc_plugins/AbuseIPDB/v4.0.0/catalog/includes/classes/observers/abuseipdb_observer.php(22): abuseipdb_observer->checkAbusiveIP()
    #1 /home/MY_USER/public_html/includes/classes/traits/NotifierManager.php(107): abuseipdb_observer->update(Object(notifier), 'NOTIFY_HTML_HEA...', 'index', 'MY_TEMPLATE', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
    #2 /home/MY_USER/public_html/includes/templates/MY_TEMPLATE/common/html_header.php(19): base->notify('NOTIFY_HTML_HEA...', 'index', 'MY_TEMPLATE')
    #3 /home/MY_USER/public_html/index.php(48): require('/home/MY_USER/...')
    #4 {main}
      thrown in /home/MY_USER/public_html/zc_plugins/AbuseIPDB/v4.0.0/catalog/includes/classes/observers/abuseipdb_observer.php on line 222.

    Can you confirm the following admin setting for the module that it says: (third one down)

    Total Settings 47

    Also confirm you see the admin setting: Enable High Score Cache Extension
    marcopolo
    Zen Cart 2.1.0 | PHP 8.3.6 | MariaDB 10.11.8

  5. #85
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,492
    Plugin Contributions
    11

    Default Re: AbuseIPDB Integration module

    Can't access the admin settings with the mod disabled, but the database still shows 3.0.4 version and 27 for total settings.

  6. #86
    Join Date
    May 2008
    Location
    United States
    Posts
    471
    Plugin Contributions
    1

    Default Re: AbuseIPDB Integration module

    Quote Originally Posted by marcopolo View Post
    Let me know what module is using the file: jscript_framework.php as it is not part of this modules files, if you can upload the file here so I can take a look at the code and see what it is doing.
    Put back your old files. Sounds like you did not uninstall it first. This was not upgrade you have to uninstall first then do a fresh install as noted.
    marcopolo
    Zen Cart 2.1.0 | PHP 8.3.6 | MariaDB 10.11.8

  7. #87
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,492
    Plugin Contributions
    11

    Default Re: AbuseIPDB Integration module

    Plugin Manager was still showing 3.0.4, did an uninstall, zc_plugins directory showed only 4.0.0 as I had done the cleanup.

    Reinstalled using Plugin Manager and all is fine. Got the 47 and the Enable High Score...

  8. #88
    Join Date
    May 2008
    Location
    United States
    Posts
    471
    Plugin Contributions
    1

    Default Re: AbuseIPDB Integration module

    Quote Originally Posted by dbltoe View Post
    Can't access the admin settings with the mod disabled, but the database still shows 3.0.4 version and 27 for total settings.
    You can upload the files from 3.0.4 into 4.0.0 that should allow you to login and uninstall it.

    just manually upload:

    zc_plugins\AbuseIPDB\v3.0.4\*

    into

    zc_plugins\AbuseIPDB\v4.0.0\*


    or just

    zc_plugins\AbuseIPDB\v3.0.4\catalog\includes\classes\observers\abuseipdb_observe r.php

    into

    zc_plugins\AbuseIPDB\v4.0.0\catalog\includes\classes\observers\abuseipdb_observe r.php

    that should let you back into admin.
    marcopolo
    Zen Cart 2.1.0 | PHP 8.3.6 | MariaDB 10.11.8

  9. #89
    Join Date
    May 2008
    Location
    United States
    Posts
    471
    Plugin Contributions
    1

    Default Re: AbuseIPDB Integration module

    Quote Originally Posted by dbltoe View Post
    Plugin Manager was still showing 3.0.4, did an uninstall, zc_plugins directory showed only 4.0.0 as I had done the cleanup.

    Reinstalled using Plugin Manager and all is fine. Got the 47 and the Enable High Score...
    Ok great glad it is working!

    So for others not to have this issue as noted in the readme:

    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.
    marcopolo
    Zen Cart 2.1.0 | PHP 8.3.6 | MariaDB 10.11.8

  10. #90
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,492
    Plugin Contributions
    11

    Default Re: AbuseIPDB Integration module

    Please review your README.md and identify the steps from an encapsulated plugin to a newer plugin. Otherwise, others will lose their API data as we did.

    I would note that, normally, a plugin notifies the owner of an update, the update is done, and the option to clean old files follows the upgrade. https://docs.zen-cart.com/dev/plugin...ins/upgrading/

 

 
Page 9 of 11 FirstFirst ... 7891011 LastLast

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR