GetPageSpeed Extras

nginx-module-testcookie

How to install nginx-module-testcookie in CentOS/RHEL 7 (aarch64)

NGINX testcookie robot mitigation module

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

Install

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install yum-utils
sudo yum-config-manager --enable getpagespeed-extras-mainline
sudo yum -y install 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. To enable this module after installation, add the following to /etc/nginx/nginx.conf and reload NGINX: load_module modules/ngx_http_testcookie_access_module.so; Alternatively, enable all installed modules by adding this line to the top of /etc/nginx/nginx.conf: include /usr/share/nginx/modules/*.conf;

Architecture

Optimized for aarch64 (ARM64) architecture. It can be used on AWS Graviton instances, as well as Raspberry Pi 4 and newer.

Compatibility

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

RPMs

Package Size Changelog
nginx-module-testcookie-1.31.1+1.28-2.el7.gps.aarch64 26 KiB no changelog
nginx-module-testcookie-1.31.0+1.28-2.el7.gps.aarch64 26 KiB no changelog
nginx-module-testcookie-1.31.0+1.28-1.el7.gps.aarch64 26 KiB no changelog
nginx-module-testcookie-1.29.8+1.28-1.el7.gps.aarch64 26 KiB no changelog
nginx-module-testcookie-1.29.7+1.28-1.el7.gps.aarch64 26 KiB no changelog
nginx-module-testcookie-1.29.6+1.28-1.el7.gps.aarch64 26 KiB no changelog
nginx-module-testcookie-1.29.5+1.28-1.el7.gps.aarch64 26 KiB no changelog
nginx-module-testcookie-1.29.4+1.28-1.el7.gps.aarch64 26 KiB no changelog
nginx-module-testcookie-1.29.3+1.28-1.el7.gps.aarch64 26 KiB no changelog
nginx-module-testcookie-1.29.2+1.28-1.el7.gps.aarch64 26 KiB no changelog

Subscribe