WordPress.org

Ready to get started?Download WordPress

Plugin Directory

IOSEC HTTP Anti Flood/DoS Security Gateway Module

Anti Flood Security Gateway Module

CONFIGURATION DESCRIPTIONS

BENEFITS

  • You can block proxies (via header information)
  • You can detect flooding IP addresses.
  • You can slow down or restrict access for automated tools (HTTP DoS tools & Flood tools, Brute force tools, Vulnerability scanners, etc.)
  • You can save your server resources (database, cpu, ram, etc.) under an attack.
  • You can restrict access permanently or temporarily for listed IP addresses in "banlist" file.
  • You can notify yourself via email alerts when attacks begin.

CONS

  • You have to tweak configuration file and even script's itself to avoid false positives.
  • You have to restrict access for world writeable files and apply least privilige permissions to file properties.

Functions of files:

/wp-content/iosec_admin/

  • banlist (Detected IP addresses listed here. You can use this file with iptables, htaccess with bash scripts.)
  • banlisttemp (Just a system file. IP and Time correlations listed in it.)
  • ips (Just a system file. Every request is listed in it.)
  • whitelist (Excluded IP List seperated by new lines.)
  • excluded (Excluded File List seperated by new lines. E.g. for http://YOUR_SITE/wordpress/index.php file add this line to excluded file: /wordpress/index.php)

You should configure plugin by editing iosec.php file.

  1. Connection Interval: This is second based interval for accepting another connection. If you choose value 1 (1 second), another request in 1 second will be suspended by module. You can enter values like 0.1, 0.001, etc.

  2. Max. Connection Count: This is the interval based maximum connection limit count for accepting another connection. If you choose value 10 and your connection interval is 1 second. This means only 10 connections permitted in 1 second.

  3. Suspended Process Timeout: When a connection interval rule finds a connection is not prohibited, this timeout value will be activated. For example, if connection interval is 1 and this value is 30 then, second connection in 1 second will be suspended for 30 seconds.

  4. Page Redirection: You redirect your detected users to another page after timeout page disappears.

  5. Send Me Mail: Module can send you a mail when an IP address detected.

  6. Block Proxies: You can identify and block proxies via http header.

  7. Show Debug Info: Time and IP information will be displayed on suspension page when this option is activated.

  8. Use Incremental Blocking: This option will increase time of suspension if attack is still happening. For example, if C.I. is 1 and a second connection happens in 1 second this will be suspended for 30 seconds (above ex.). If one connection in 10 seconds happens, this will increase suspension time when this option is activated.

  9. Implicit Deny Timeout: If you want to block every request as default for a timeout period (seconds), set this value to greater than "0". This is an emergency option for DDoS attacks etc.

  10. Cached Requests: Monitoring data window size for last requests (for "ips" file size) (default is "150").

  11. Implicit Deny for banlist Timeout: If you want to block every recorded IP that is listed in the banlist as default and let the human users to view page for a timeout period (seconds), set this value to greater than "0" (default is "0").

CHANGES v.1.8.1 - v.1.8.2
  • Improved Implicit Deny for Banned IP Addresses (Deny without detection)
  • Minor Performance Tweaks
CHANGES v.1.5 - v.1.8
  • Added Implicit Deny for the Banned IP Addresses
  • Added Request Cache Size Option
  • Added Excluded Files Support
  • Added/Improved Implicit Deny Mode (with detection)
CHANGES v.1.3 - v.1.4
  • Added Connection Limit Support
CHANGES v.1.2
  • Added Whitelist Support
CHANGES v.1.1
  • Added Reverse Proxy Support
  • Added reCAPTCHA Support
  • Now Blocks Brute Force More Efficiently
  • Minor Security Fixes

Gökhan Muharremoğlu Information Security Specialist

You can reach me @ Twitter: https://twitter.com/iosec_org gokhanmuh@users.sourceforge.net gokhan.muharremoglu@iosec.org https://sourceforge.net/projects/iosec/ http://www.iosec.org http://www.linkedin.com/in/gokhanmuharremoglu

Requires: 2.0.2 or higher
Compatible up to: 3.4.2
Last Updated: 2012-10-1
Downloads: 5,633

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1