| 开发者 | inilerm |
|---|---|
| 更新时间 | 2026年11月30日 19:18 |
| 捐献地址: | 去捐款 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.2 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
Important Note on PHP Version: To ensure maximum security and access to all features, we strongly recommend using PHP 8.1 or higher. Some advanced features (like the local MaxMind database or full 2FA management via WP-CLI) require PHP 8.1.Key Features:
app.advaipbl.com with verified per-site SHA-256 API tokens (aib_live_*), instant key rotation/revocation, optional TOTP 2FA, and 5x-10x higher daily quotas for Deep CVE Scanning, Server IP Reputation, and Community Blocklist syncs. All local firewall modules remain 100% free and unlimited without requiring an account.message_thread_id) routing.Log Only) Mode: Create powerful, custom security rules with multiple conditions (IP, Country, ASN, URI, User-Agent, Request Method, Referer, Username) and actions (Block, Challenge, Rate Limit, Threat Score, or Log Only simulation to safely test rules in production without blocking legitimate traffic).uploads directory for malware, hidden PHP shells, and unauthorized modifications. Safely neutralize threats in an encrypted Quarantine Vault, with built-in graceful degradation if server antivirus software quarantines the scanner engine./login, while keeping a more generous limit with a temporary block for your main API, all without affecting the rest of the site.wp_advaipbl_community_ips), and optimized background synchronization.wp-config.php, readme.html, .git) directly at the Apache/LiteSpeed level before PHP or WordPress loads..htaccess).auto_prepend_file.wp-login.php and xmlrpc.php during sustained distributed attacks.advaipbl_show_branding), and Full WP-CLI Support.advanced-ip-blocker folder to the /wp-content/plugins/ directory.Security > Dashboard > System Status to ensure your IP and your server's IP are whitelisted. Use the one-click buttons if they are not.The AIB Cloud Portal (https://app.advaipbl.com) is our optional, dedicated cloud hub for managing per-site SHA-256 API keys (aib_live_*) across up to 5 WordPress sites for free - with 1-Click Connect, instant key rotation/revocation, optional 2FA, and 5x-10x higher daily quotas for cloud-powered services (Deep CVE Scanner, Server IP Reputation, and Community Blocklist syncs). No account is required for any local firewall module (Local WAF, Rate Limiting, Geoblocking/Geo-Challenge, 2FA, .htaccess, Cloudflare Edge, Push Webhooks, Audit Log, Critical Alerts, or Advanced Rules), and existing Legacy V3 keys (AIB_*) remain 100% backwards-compatible. See our AIB Cloud Portal & Quotas Guide for details.
You can receive real-time security alerts in your team chat channels under Security > Settings > Notifications. Paste one webhook URL per line for Slack, Discord, Microsoft Teams, or native Telegram Bot API (https://api.telegram.org/bot<TOKEN>/sendMessage?chat_id=<CHAT_ID>, with optional &message_thread_id=<TOPIC_ID> for forum groups). For step-by-step setup instructions, see our Push Notifications & Webhooks Guide.
Located under Security > Settings > Internal Security & Forensics, this feature sends immediate alerts (via Email, Push Webhooks, or Both, with an optional dedicated agency security email) whenever a high-risk administrative change occurs: a new Administrator account is created, an existing user is promoted to Administrator, public registration (users_can_register) is enabled, the default role is changed to Administrator, or an Administrator logs in from a new country.
When building a complex custom rule in the Advanced Rules Engine, you can select Log Only (Simulate / Dry-Run) as the action. The plugin will evaluate the rule against live traffic, increment hit counters, and record simulated matches in Security Logs without blocking or challenging visitors - allowing you to validate accuracy before switching the rule to Block or Challenge.
Inside Security > Site Scanner, the Local Scan includes a dedicated Firewall & Proxy Diagnostics card that checks for reverse-proxy/whitelist misconfigurations, conflicts with other active security/WAF plugins, and internal database/FIM/OPcache health. You can also click Copy Anonymized Support Report to copy a clean technical snapshot (with domains, IPs, emails, and API tokens automatically excluded) for troubleshooting or support tickets.
By default, all users with the Administrator role can access and configure Advanced IP Blocker. If you have multiple administrators but only want specific users to manage security settings, you can explicitly select them in the "Hardening & Core Protection" tab. The primary admin (ID 1) is always protected from lockouts. Other admins will not even see the "Security" menu.
Yes! In the "Hardening & Core Protection" section, you can enable "Block PHP in Uploads". The plugin will automatically place a specialized .htaccess file in your uploads directory to prevent any uploaded scripts from being executed, which is a common backdoor technique used by attackers.
This is a game-changing feature that automatically synchronizes your site's Web Application Firewall with our Central Security Server. Once a day, the plugin securely downloads the latest zero-day vulnerability signatures (e.g., for critical CVEs or widespread exploits) and injects them directly into the scanning engine. This means your site is protected instantly against new threats without waiting for a plugin update. Importantly, these rules run in a dedicated, invisible layer and will NEVER overwrite or interfere with your own custom WAF rules.
This feature automatically blocks incoming traffic from IP addresses that lack an Autonomous System Number (ASN) and Reverse DNS (rDNS) record. Since legitimate traffic almost always has these identifiers, Ghost IPs are often malicious actors trying to hide. Please note that this can cause false positives if a legitimate Internet Service Provider (ISP) has misconfigured their rDNS.
Our new Captcha Integrations allow you to seamlessly connect modern verification challenges like Cloudflare Turnstile and hCaptcha to your security modules. You can set a Global Default Engine and even apply different challenges granularly per module. To ensure your site never breaks, it includes a smart fallback to our invisible JS Challenge if your API keys are ever misconfigured or missing.
Instead of a single global rate limit for your entire site, Advanced Rules allow you to define custom limits for specific URLs or endpoints. You can define the maximum number of requests, the time window, and the specific action (like returning a 429 error, a 403 block, or triggering a Turnstile/hCaptcha challenge) for each endpoint independently. This is ideal for protecting sensitive areas like login pages or APIs with stricter limits while allowing normal traffic on the rest of the site.
This feature automatically engages a global JavaScript challenge to protect your server resources from massive spikes in malicious traffic. It monitors the number of blocks within a specific time window and, if the threshold is reached, it shields the entire site. Legitimate administrators, verified bots (like Googlebot), and explicitly excluded URLs are bypassed. You can configure the thresholds and notification preferences under Security > Settings > Core Protections.
It is a powerful built-in utility located in your Security menu (and top admin bar) that allows you to manually inspect any IP address or Autonomous System Number (ASN). It instantly cross-references the subject against your Geolocation databases, Threat Scoring system, AbuseIPDB, Spamhaus drops, and local whitelists/blocklists. It is the ultimate tool for investigating suspicious traffic or verifying if a legitimate user was blocked by a specific rule.
The scanner checks your site in two ways: Local Scan: Checks for outdated PHP versions, WordPress core updates, debug mode risks, and SSL status. This runs locally and instantly. Deep Scan (Vulnerability Audit): Checks your installed plugins and themes against our central database of known security vulnerabilities (CVEs). This process is manual (you click a button) to ensure it never slows down your site during normal operation.
The Audit Log is your site's "black box". It records critical administrative actions such as plugin activations, settings changes, and file modifications. This helps you identify "who did what and when," which is essential for troubleshooting and security forensics.
The FIM acts as a forensic security layer. It takes cryptographic fingerprints of your most critical core files (like wp-config.php) and monitors plugins/themes to detect unauthorized modifications. Additionally, it recursively scans your wp-content/uploads/ media folder to detect hidden PHP web shells and malware signatures, allowing you to neutralize threats in an encrypted Quarantine Vault. For full details, see our File Integrity Monitor & Malware Scanner Guide.
To ensure maximum performance as the network grows. Storing thousands of IPs in standard WordPress options (wp_options) can slow down a site. By moving this data to a dedicated, indexed database table (wp_advaipbl_community_ips), we ensure that lookups are lightning-fast (O(1) complexity) and consume negligible memory, regardless of how many threats we track.
It is a collaborative security feature where users share anonymized data about verified attacks (like SQL injections caught by the WAF or IPs flagged by AbuseIPDB). Our central server aggregates this data to create a global blocklist of active threats. You can choose to contribute data ("Join") and/or use the global list to protect your site ("Enable Blocking").
No. Queued attack reports are sent in the background via WP-Cron (hourly, only when there are pending reports) and the global blocklist is synchronized every 6 hours into a local indexed database table, so checking an IP against it is instant (microseconds) with zero external API calls during visitor requests.
You need a free Cloudflare account and your domain must be using Cloudflare's nameservers.
Yes. Safety is our priority.
The "Server-Level Firewall (.htaccess)" feature relies on Apache/LiteSpeed specific files. If you use Nginx (without Apache), these local rules will be ignored by the server. Recommendation: For Nginx users, we strongly recommend enabling the Cloud Edge Defense (Cloudflare) feature. It provides the same "pre-execution" blocking benefits but works on any server environment since the blocking happens in the cloud.
AbuseIPDB is a global, crowdsourced project that tracks and reports malicious IP addresses in real-time. Our new integration allows the plugin to check the reputation of a new, unknown visitor against this database on their first visit. If the IP has been recently reported by others for activities like hacking, spam, or brute-force attacks, and its "abuse confidence score" is above your configured threshold, the plugin will block it instantly. This acts as a proactive shield against known bad actors, stopping them before they even have a chance to test your defenses. You can enable it and add your free API key under Security > Settings > Threat Intelligence.
This is an advanced security feature that checks if visitors claiming to be from major search engines (like Googlebot) are legitimate. It performs a DNS lookup to verify their IP address. If the check fails, the visitor is identified as an "impersonator" and receives a high threat score, preventing them from exploiting the trust given to real crawlers. This feature is enabled by default under Settings > Core Protections.
This feature ensures your uptime monitoring services (like UptimeRobot, Pingdom, StatusCake, etc.) can always reach your site to check its status. By automatically downloading and updating official IP lists from these providers, the plugin safely whitelists them from rate limiting or blocking without exposing your site to attackers who might spoof their user agents.
This is a critical security feature that prevents IP spoofing. If your site is behind a service like Cloudflare, Varnish, or another reverse proxy, the server's direct connection IP (REMOTE_ADDR) will always be the proxy's IP, not the visitor's. The real visitor IP is sent in an HTTP header (e.g., CF-Connecting-IP). An attacker can fake this header. The "Trusted Proxies" setting tells the plugin: "Only trust these headers if the request comes from an IP address I know is my proxy." You can use the one-click Quick Add buttons for official Cloudflare, Fastly, or QUIC.cloud CIDR ranges (or manually add custom IPs, CIDR ranges, or ASNs) under Security > Settings > IP Detection.
Geoblocking is a hard block. It shows a "403 Access Denied" page to visitors from selected countries.
Geo-Challenge is a soft block. It shows a quick, automated JavaScript test to visitors from selected countries. Legitimate humans pass instantly, while most bots are stopped. This is useful for regions you are suspicious of but do not want to block entirely. You can, for example, block Country A and challenge Country B. You can configure it in Security > Settings > Core Protections.
Automatic (Transparent execution): The plugin runs a silent Proof-of-Work (PoW) mathematical challenge in the background. If the visitor's browser solves it within 5 seconds, they are automatically redirected to their destination without needing to click anything. Great for a frictionless user experience. Managed (Human interaction required): The visitor must manually click a checkbox ("I am human") and optionally wait a few seconds. This mode is the ultimate defense against advanced headless browsers and intelligent bots that can solve mathematical scripts but cannot simulate human mouse interactions.
The JavaScript challenge (used by Geo-Challenge, Signature Engine, and Endpoint Lockdown) requires dynamic content. Aggressive page caching can interfere with it. If you experience issues (like a challenge loop or a "Verification failed" error), you must configure your caching plugin (e.g., WP Rocket, WP Fastest Cache, LiteSpeed Cache) to NOT cache pages for visitors who do not have the advaipbl_js_verified cookie. Most caching plugins have a setting like "Never cache pages that use this cookie."
Cookie consent plugins (like CookieYes) may block our security cookie from being set. To fix this, you must go into your cookie plugin's settings and classify the cookie named advaipbl_js_verified as "Strictly Necessary" or "Essential". This will allow the security challenge to function correctly.
For maximum performance, the plugin offers two ways to identify an IP's location (Security > Settings > Geolocation):
Security > Settings > Login & User Protection and enable 2FA globally. You can also enforce it for specific user roles.This is an advanced defense that stops botnets by blocking the attacker's "fingerprint" (signature), not just their IP. It works in three phases you can enable in Security > Settings > Signature Engine: Logging, Analysis (a background task that finds patterns), and Blocking (presents a JS challenge to malicious signatures). You can manage detected signatures in IP Management > Blocked Signatures.
Think of them as three layers of defense:
union select). It's fast and stops common, generic attacks./wp-admin/ THEN Block them permanently." It gives you the ultimate power to create a security policy tailored exactly to your site's needs.While every website's security needs are unique, here is a general guide to get you started based on your site's profile. For a deep dive into every feature, please consult our Comprehensive Feature Guide. 1. Essential First Steps (For ALL Websites) No matter your site type, do these three things immediately after installation to ensure a strong baseline security without locking yourself out:
Security > Dashboard > System Status and use the one-click buttons to add your current IP and your server's IP to the whitelist. This is the most critical step.Security > Blocking Rules, and in the "User Agents" and "Honeypot URLs" tabs, copy the suggested lists into the active blocklist text areas. This provides immediate protection from thousands of common bots.Security > Settings > General and ensure "Enable Logging" is turned on. This gives you the visibility you need to understand what is happening on your site.Settings > IP Trust & Threat Scoring).Settings > Core Protections and Threshold Blocking).Settings > Core Protections).
For an E-commerce or Membership Site (WooCommerce, etc.):
You need to protect your site while ensuring legitimate customers from around the world are never blocked.
Settings > Login & User Protection.
Security > Settings > IP Detection and use the one-click Quick Add preset to insert official Cloudflare, Fastly, or QUIC.cloud CIDR ranges (or add your reverse proxy's IPs/CIDRs manually). This is essential for the accuracy of all other security features.
This plugin includes an advanced "Edge Firewall Mode" that allows you to extend its protection to any PHP script on your server. This is perfect for securing custom applications or directories that are not managed by WordPress. To enable it, you need to add a single line of code to the beginning of the PHP file you want to protect. This manual step ensures that the protection is explicit and works on any server environment. For a complete step-by-step guide, please see our documentation: How to Protect Non-WordPress Folders.
HTTP Security Headers are instructions sent by your website to the visitor's browser. They tell the browser how to behave to prevent specific types of attacks.
Security > Settings > Security Headers.It allows you to create aggressive, targeted rules to block login attempts based on the username provided. For example, if you know you never use the username "admin", you can create a rule: IF Username IS "admin" THEN Block. This stops brute-force attacks instantly before they can even guess a password.
We improved our security compliance checks. The advaipbl-loader.php file is a special file designed to run outside of WordPress in "Edge Mode". We added a specific security check to ensure it can only be run via the auto_prepend_file mechanism and cannot be accessed directly by a browser, further hardening the plugin against probing.
AIB_* tokens and prevented saving plugin settings on sites connected to AIB Cloud (aib_live_* tokens). Both aib_live_* and legacy AIB_* formats are now accepted seamlessly.ADVAIPBL_Cloud_Client (includes/class-advaipbl-cloud-client.php) supporting verified per-site SHA-256 API tokens (aib_live_*) managed through the official AIB Cloud Portal (https://app.advaipbl.com). Link up to 5 WordPress websites for free via a secure 1-Click HTTPS Connect flow (with per-user cryptographic state validation) or manual token entry, unlocking higher daily quotas for Deep CVE Scanning (10/day), Server IP Reputation (30/day), Community Blocklist syncs (10/hour), and Attack Reports (120/hour).ADVAIPBL_Main::get_api_auth_headers() with normalized X-AIB-Site-Hash and version headers.AIB_*) continue operating seamlessly without interruption, with an optional 1-click Link Free AIB Cloud Account upgrade button. Tested and verified compatible with WordPress 7.2.languages/advanced-ip-blocker.pot with all new strings.parse_mode: HTML, message_thread_id) in Push Notifications and hardened outbound webhooks against SSRF (https://, wp_safe_remote_post(), redirection => 0, timeout => 5, and masked tokens in logs).Log Only (Simulate / Dry-Run) action to the Advanced Rules Engine so administrators can test complex rules in production - recording matches in Security Logs and rule hit counters - without blocking or challenging legitimate traffic.advaipbl_community_report_event_v2) from 6 hours to hourly (with randomized jitter) for faster global threat intelligence updates, while reducing passive version-check polling for Zero-Day WAF rules to every 2 hours (advaipbl_2_hours) and FIM signatures to every 6 hours (advaipbl_6_hours).advaipbl_activity_log.timestamp to TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP for full compatibility with older MySQL 5.5 / MariaDB servers, and added a 15-minute transient cooldown (advaipbl_db_check_cooldown) to check_database_update() to prevent repeated dbDelta() retries on every admin request.advaipbl.com, and extended uninstall.php to clean up all advaipbl_% user meta keys on plugin removal.
For earlier versions (8.13.28 and older), please see CHANGELOG.md included in the plugin directory.