=== IPX Guard ===
Contributors: ipxguard
Tags: security, firewall, brute force, blocklist, spam
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Blocks IP addresses that are attacking other WordPress sites, using a signed shared blocklist.

== Description ==

IPX Guard keeps a list of IP addresses that were recently seen attacking WordPress sites (password guessing, looking for backdoors, scanning, comment spam) and stops them before WordPress does any work.

* High-risk addresses are blocked on the whole site. Lower-risk addresses can still read pages but cannot log in, use xmlrpc or post comments.
* The list is signed. The plugin checks the signature before it uses a new list, and keeps the last good list if the server cannot be reached. If anything fails, the site stays open (fail-open).
* Addresses you whitelist and trusted devices (Pro) are never blocked. Search engine crawlers and payment gateways are kept off the list.
* Comment protection: comments sent directly to wp-comments-post.php without opening the page go to the spam folder.
* Optional hidden form traps for Contact Form 7, WPForms, Gravity Forms, user registration and WooCommerce registration and checkout.
* Website check: pending WordPress, plugin and theme updates (and how long they have waited), old PHP, unused plugins and themes, and risky settings. Read-only; nothing is changed or sent.
* Monthly email report to the site admin, including the website check.
* IPX Guard network (on by default, like Wordfence's security network): the site reports the IP addresses that attacked it, so every site is protected sooner. Only the IP address, the type of attack and the time are sent — never visitor names, emails, passwords or messages. Switch it off at any time in IPX Guard > Settings; protection and your plan do not change.

== Installation ==

1. Upload the plugin zip in Plugins > Add New > Upload Plugin, and activate it.
2. Open IPX Guard in the admin menu and click the button to get a free key, or paste your Pro key.
3. Cloudflare is detected automatically. If your host puts another proxy or load balancer in front of the site, add its address under "Extra trusted proxies" so the real visitor IP is used.

If you ever lock yourself out, add `define('IPX_GUARD_DISABLE', true);` to wp-config.php, or run `wp ipx unblock <your-ip>` on the server.

== Frequently Asked Questions ==

= My site uses Cloudflare. Do I still need this? =

Yes. Cloudflare does not know about every address that attacks WordPress sites. IPX Guard blocks the ones on our list that Cloudflare lets through.

= Does it work with page cache plugins? =

Yes (tested with WP Super Cache and W3 Total Cache). The "Request blocked" page is never stored in the cache. A page that is already in the cache may still be shown to a listed address, because the cache answers before WordPress loads, but that is public read-only content. Logins, xmlrpc, comments, forms and pages that are not cached are always checked.

= What data leaves my site? =

Without attack sharing: only your site key and plugin version, when the list is downloaded. With attack sharing on: the attacking IP addresses, the type of attack and the time. Never visitor names, emails, comments or passwords.

== Changelog ==

= 0.7.0 =
* IPX Guard network is now on by default (like Wordfence's security network): the site sends only the IPs that attack it (IP, attack type, time). Email is optional. Switch it off at any time in Settings; protection and your plan do not change. Sites that already switched it off stay off; others see a one-time notice.

= 0.6.1 =
* Fix: Website check no longer lists an update that was already installed.

= 0.6.0 =
* New: Website check (IPX Guard page and monthly email): pending updates and how long they have waited, PHP versions without security fixes, inactive plugins and themes, no https, error messages shown to visitors, an admin account called "admin", file editing in wp-admin.

= 0.5.5 =
* Added readme with setup steps and FAQ (Cloudflare, page cache, data sent).
* Small hardening: core file refuses direct web access.

= 0.5.4 =
* New: monthly email report (on by default; IPX Guard > Settings).
