Subscribe

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

NGINX testcookie robot mitigation module

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

Install

sudo yum -y install https://extras.getpagespeed.com/release-latest.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.