GetPageSpeed Extras

sw-nginx-module-testcookie

How to install sw-nginx-module-testcookie in CentOS/RHEL 9 (x86_64)

NGINX testcookie robot mitigation module

License: BSD Vendor: GetPageSpeed LLC https://github.com/dvershinin/testcookie-nginx-module

Important: The Plesk control panel must be installed on your server before using this repository.

Install

# The Plesk control panel must be installed on your server.
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --enable getpagespeed-extras-plesk
sudo dnf -y install sw-nginx-module-testcookie

Description

Simple robot mitigation module using cookie based challenge/response technique. Not supported any more. Challenge cookies can be set using different methods: * "Set-Cookie" + 302/307 HTTP Location redirect * "Set-Cookie" + HTML meta refresh redirect * Custom template, JavaScript can be used here. To prevent automatic parsing, challenge cookie value can be encrypted with AES-128 in CBC mode using custom/random key and iv, and then decrypted at client side with JavaScript. After installation, enable this module by running: plesk sbin nginx_modules_ctl --enable testcookie

Compatibility

This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.

RPMs

Package Size Changelog
sw-nginx-module-testcookie-1.26.3+1.28-3.el9.pl18.gps.x86_64 34 KiB no changelog
sw-nginx-module-testcookie-1.26.3+1.28-2.el9.pl18.gps.x86_64 34 KiB no changelog
sw-nginx-module-testcookie-1.26.3+1.28-1.el9.pl18.gps.x86_64 33 KiB no changelog
sw-nginx-module-testcookie-1.26.2+1.28-8.el9.pl18.gps.x86_64 33 KiB no changelog
sw-nginx-module-testcookie-1.26.2+1.28-6.el9.pl18.gps.x86_64 33 KiB no changelog
sw-nginx-module-testcookie-1.26.2+1.28-4.el9.pl18.gps.x86_64 33 KiB no changelog
sw-nginx-module-testcookie-1.26.2+1.28-3.el9.pl18.gps.x86_64 32 KiB no changelog
sw-nginx-module-testcookie-1.26.1+1.28-3.el9.pl18.gps.x86_64 32 KiB no changelog
sw-nginx-module-testcookie-1.26.0+1.28-3.el9.pl18.gps.x86_64 32 KiB no changelog
sw-nginx-module-testcookie-1.24.0+1.28-3.el9.pl18.gps.x86_64 32 KiB no changelog

Subscribe