perl - Make Check Page Reverse Proxy Nginx | Like Cloudflare's I'm Under Attack Mode -


i have large server ddos protection. have setup stopping layer 7 attacks.

i want set reverse proxy website on other server , have check page similar cloudflare's i'm under attack mode.

which after displaying check page , passing check nginx reverse proxy pass request onto other server website.

there absolutely 0 documentation on this.

i have found https://index.hm/hashcat.html although there many problems need perl modules. apt-get install nginx-extras doesn't have.

i looking guidance, thank you!

this question better on serverfault (but can't move don't have enough rep)

hashcat isn't production-ready software, developer can give overview on how prepare server it:

it needs ngx_http_perl_module module run correctly, think identified. far i'm aware, though, debian not compile nginx embedded perl module default. think red hat though, if makes life easier.

you can activate module building nginx flag --with-http_perl_module.

check out https://wiki.debian.org/buildingapackage#get_the_source_package guide on compiling debian packages - i've summarised here you.

apt-get install build-essentials
apt-get source nginx
sudo mk-build-deps -i -r nginx
cd nginx-xxxx
nano debian/rules

add configure flag "--with-http_perl_module" file. now, can recompile package , produce new .deb file

debuild -us -uc

install .deb

sudo dpkg -i ../nginx-xxxxx.deb

this should replace nginx have installed perl-enabled version :-)

(p.s. don't forget run cpan digest::sha1 string::util)

and install hashcat, make folder /usr/share/nginx/perl (if doesn't exist) , place source files in it.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -