Skip to content

exp_request_shield 0.0.1.0

Choose a tag to compare

@se7enxweb se7enxweb released this 12 Nov 23:35
· 17 commits to main since this release

The first release of Exponential Request Shield: request-shield in front of an Exponential site, deciding every request before the kernel starts.

  • Bundled library: request-shield 0.4.0 (JAC Systeme GmbH, CJW Network), built unchanged from its release tag, plus the same files with their syntax downgraded to PHP 7.4. Runs on PHP 7.4 to 8.5; checks, rule examples and a real web server give the same answers on all seven versions.
  • On as installed: one hook in config.php covers PHP-FPM (before the HTTP cache's early exit) and Exponential Velocity (same answers, headers and log as PHP-FPM). The shipped rules enforce: scanners, floods, stray forms and system URLs are refused, the login and the admin's forms ask for a browser check.
  • Setup > Request shield: switches (pause, enforce, monitor, off; with a backup of the rule file, a compile check and a log of who switched what), a dashboard with the decisions per hour, the log by period and decision, the rule files. For admin4, adminui and the classic admin, light and dark, in English and German.
  • Command line: bin/request-shield (check, test, trace ...) and bin/update-library.sh (rebuilds both library builds from a release tag, byte for byte).

Install: composer require se7enxweb/exp_request_shield, then INSTALL.md.

License: GPL-2.0-or-later; the bundled request-shield files keep their MIT license.