View this package for all CentOS/RHEL versions →

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

Install

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
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 Built Changes
sw-nginx-module-testcookie-1.30.6+1.28-4.el9.pl18.gps.x86_64 34 KiB 2026-10-26 no changelog

Subscribe