LungoTech IP Guard

Description

LungoTech IP Guard is a robust and lightweight security plugin designed to block malicious IP addresses and CIDR ranges directly at the server level via your .htaccess file. By blocking unwanted traffic before it hits WordPress, you save valuable server resources.

Key Features:

  • CIDR Range Support: Block entire subnet ranges easily (e.g., IPv4 and IPv6 CIDR notations).
  • Permanent & Temporary IP Blocking: Choose to block IPs permanently or set them as temporary.
  • Auto-Purge System: Automatically removes the oldest temporary IPs once the limit is reached to keep your .htaccess file clean and optimized.
  • Smart Server Detection: Automatically detects Apache versions (2.2 or 2.4+) and applies the correct syntax (deny from vs Require not ip).
  • Clean Uninstallation: Includes an automatic uninstaller that cleans up database options and removes its specific rules from .htaccess without affecting other rules.

Installation

  1. Upload the plugin folder lungotech-ip-guard to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Navigate to LungoTech IP Guard in your WordPress admin sidebar to configure settings and block IPs.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“LungoTech IP Guard” is open source software. The following people have contributed to this plugin.

Contributors

Translate “LungoTech IP Guard” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

4.1.3

  • Refactored file operations to use WP_Filesystem API in both main plugin and uninstall.php.
  • Enhanced security with proper unslashing, sanitization, and output escaping across all admin interfaces.
  • Fixed text domain mismatch to align with official plugin slug.
  • Replaced PHP date() with UTC-compliant gmdate() for date displays.
  • Added proper prefixing for global variables in uninstall.php.

4.1.2

  • Added robust data sanitization and auto-migration for legacy database arrays to prevent PHP 8+ type errors.
  • Refactored UI header and styling.
  • Added secure uninstallation support.