Skip to content
  • Log In
  • Register
WordPress.org

Qaraqalpaq tili

  • Themes
  • Plugins
  • About
  • Júklep alıw
  • Get WordPress
Get WordPress

Plugins

  • My Favorites
  • Beta Testing
  • Developers

This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Download

Protection Against DDoS

By WPChef
  • Details
  • Reviews
  • Development
Support

Description

This plugin resolves performance issues caused by brute force attacks described in the WordPress Codex here: https://codex.wordpress.org/Brute_Force_Attacks

From WordPress Codex:

Due to the nature of these attacks, you may find your server’s memory goes through the roof, causing performance problems. This is because the number of http requests (that is the number of times someone visits your site) is so high that servers run out of memory.

A common attack point on WordPress is to hammer the wp-login.php file over and over until they get in or the server dies. You can do some things to protect yourself.

Protection Against DDoS plugin addresses these issues very well.

It also allows to deny access to common WordPress features that get frequently attacked, like xmlrpc or RSS feeds pages.

CloudFlare users can allow or deny access for visitors from specified countries.

All checks are done via the .htaccess file so that bogus requests can’t even reach your WordPress site and get bounced at the web server level. You can also specify exactly where they can be bounced to.

Compatibility

  • Doesn’t have any known conflicts with any other security plugins.
  • Fully compatible with WordPress multisites.

Advanced users can get more technical information on the FAQ page.

Screenshots

  • Settings page.

FAQ

How does the plugin work?

The plugin starts working right after you install it. It utilizes a very simple idea: when a real user accesses the login page, the plugin sets a validation cookie for this user. After the user submitted the log in form, the plugin checks if the cookie is there and correct. If so, the user is allowed to log in. Otherwise the user gets bounced off. Since malicious bots attack the WordPress login page directly, they don’t get the protection cookie and hence always get bounced off. Moreover validation happens at the server level BEFORE WordPress is even accessed (via .htaccess file) and hence no load is directed to the WordPress at all. The secure cookie is encrypted and unique for every site so the bots can’t falsify it. Simple and effective!

Can it protect against any DDoS attack?

This plugin protects against DDoS CAUSED by brute-force attacks ONLY. This is the most common cause for an operational WordPress site to be down though. If your site is under attack for other reasons (for example if you got a lot of traffic to one of your posts) this plugin will not help!

What are the system requirements?

This plugin only works on the servers that support .htaccess files. Most Linux servers do.

Reviews

This is absolutely the best DDoS Protection plugin available

Eli Sáwir 24, 2020
Our site was being attacked heavily using exactly the technics for which this plugin was creating for. I cannot thank the creator enough for providing it to the public free of charge. Thank you so much for your contribution. My only concern is that it hasn't been updated for quite sometime, I really hope it's not abandoned. I'm surprised this product doesn't have more reviews and more downloads, I guess it hasn't had enough promotion. Thank you so much @WPChef, please keep it alive!

This Plugin Saved Me

kcwebguy Miyzan 9, 2019 1 reply
I was having a major DDOS against a number of my websites... the attack was taking down my entire VPS and affecting my entire business. I deployed this plugin to all of my sites and saw immediate relief from the attack. I took a screenshot of my load graph with an arrow at the point in time I deployed this plugin. My thanks to this author for a clever and effective plugin.

Serious(ly) Lightweight Extra Security

Gahapati Jawza 4, 2017
When I first came across Protection Against DDoS, I was impressed by the simplicity of the idea and the effectiveness of its execution. Assuming that DDoS attacks will hardly be carried out by lone hackers armed with web browsers, it's reasonably safe also to assume that accepting and returning cookies will be among the least of their concerns. In which case the attack is stopped dead in its track very early on, in fact before WordPress is even asked to start up its engine. When I first tested this plugin, unfortunately it was not compatible with WP Multisite, yet. But within days of pointing this out to the developer, Protection Against DDoS was updated accordingly! The plugin has earned a permanent resident status in my toolbox!

Works very well

2by2host Miyzan 3, 2016
We use this when a WordPress site gets bombarded with bogus traffic and see the results within minutes. We can see how HTTP requests drop right after the plugin is installed. This plugin should be a must for any site.
Read all 5 reviews

Contributors & Developers

“Protection Against DDoS” is open source software. The following people have contributed to this plugin.

Contributors
  • WPChef

Translate “Protection Against DDoS” into your language.

Interested in development?

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

Changelog

1.5.2

  • Added access control for autodiscover/autodiscover.xml and wpad.dat.

1.5.1

  • Can deny access to xmlrpc, RSS and certain countries now.

1.4.1

  • Multisite compatibility implemented.

1.3

  • Validation cookie is set via JavaScript now and encrypted.

1.2

  • Redirect POST-requests only for login page.

1.1

  • Set validation cookie for all GET-requests.
  • Use random cookie name for better security.

1.0

  • Initial release.

Meta

  • Version: 1.5.2
  • Last updated: 3 years ago
  • Active installations: 5'000+
  • WordPress Version: 3.5.2 or higher
  • Tested up to: 5.4.12
  • Language:
    English (US)
  • Tags:
    Brute ForceddosloginPeformancesecurity
  • Advanced View

Ratings

See all
  • 5 stars 4
  • 4 stars 0
  • 3 stars 0
  • 2 stars 0
  • 1 star 0
Log in to submit a review.

Contributors

  • WPChef

Support

Issues resolved in last two months:

0 out of 1

View support forum

  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org

Qaraqalpaq tili

  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry.