Download the PHP package cleantalk/anti-ddos-lite without Composer
On this page you can find all versions of the php package cleantalk/anti-ddos-lite. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cleantalk/anti-ddos-lite
More information about cleantalk/anti-ddos-lite
Files in cleantalk/anti-ddos-lite
Package anti-ddos-lite
Short Description A small PHP app to protect your site against DDoS attack or crawling web site by bots.
License GPL-3.0-or-later
Informations about the package anti-ddos-lite
DDoS-Protection-Lite
Anti-DDoS-Lite (Anti-Crawler app) is a PHP app to protect your site against DDoS attack or crawling web site by bots.
Description
Anti-DDoS-Lite helps block bots and reduce server load and stops bad bots before they can reach your original web page. During the opening of the site page, the application performs a JS check and if the check fails, then a blocking page will be displayed.
Most of bots can't execute JavaScript code or can execute code partially. This app filters traffic from bots by using simple JavaScript code. Bots are denied to read original pages, they get only a single stop-page. As a result DDoS attack is reduced by elimination of bots traffic that participating in the DDoS attack.
In the same time, legitimate/real visitors get the original page after a short delay because the browser of legitimate/real visitors executes JavaScript code. The legitimate/real visitors see the stop-page only once, during first visit to the site.
How to use
- Include the app as first line in index.php by various way:
A Download, unzip and include the app:
B Or install the app by composer package:
- Generate new value for anti_ddos_salt.
Skip protection for visitors from trusted networks, Autonomous systesm (AS)
Setup GeoIP and list excluded Autonomous systems in the $not_rated_as.
Skip trusted User-Agents
Skip trusted User-Agents. Regular expressions are allowed, example is bellow.
Changelog
Version 2.0.2
- Fix. A document.write vulnerability fixed.
- Fix. UA list converted to regular expressions.
- Fix. UptimeRobot UA.
- Fix. Trusted UA is skipped correctly.
Version 2.0.1
- New. Headless mode detection.
- Fix. Now visitors without JS will be blocked correctly.
- Refactoring and minor fixes.
Contacts
Email: [email protected]