GetPageSpeed Extras

nginx-module-testcookie

How to install nginx-module-testcookie (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 amazon-linux-extras install epel
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.

RPMs

Package Size Changelog
nginx-module-testcookie-1.30.2+1.28-2.amzn2.gps.aarch64 27 KiB no changelog
nginx-module-testcookie-1.30.1+1.28-2.amzn2.gps.aarch64 27 KiB no changelog
nginx-module-testcookie-1.30.1+1.28-1.amzn2.gps.aarch64 27 KiB no changelog
nginx-module-testcookie-1.30.0+1.28-1.amzn2.gps.aarch64 27 KiB no changelog
nginx-module-testcookie-1.28.3+1.28-1.amzn2.gps.aarch64 27 KiB no changelog
nginx-module-testcookie-1.28.2+1.28-1.amzn2.gps.aarch64 27 KiB no changelog
nginx-module-testcookie-1.28.1+1.28-1.amzn2.gps.aarch64 27 KiB no changelog
nginx-module-testcookie-1.28.0+1.28-1.amzn2.gps.aarch64 27 KiB no changelog
nginx-module-testcookie-1.26.3+1.28-1.amzn2.gps.aarch64 27 KiB no changelog
nginx-module-testcookie-1.26.2+1.28-8.amzn2.gps.aarch64 27 KiB no changelog

Subscribe