Fork me on GitHub

Organizations

@github @rss
1 results for nginx
  • Difficulty level: It may take a little longer
    images/featured-image.png
    For my darknet - blocker I only need a Tor exit node IO list and the following rule: location / { limit_req zone=one; #request limit limit_conn addr include /etc/nginx/conf.d/tor-ips.conf; #tor ips blocken ... } With the following script I can create an Ip-Blacklist: IP Update Script #!/bin/sh # Copyright 2012, Nico R. Wohlgemuth <nico@lifeisabug.com> WGET=/usr/bin/wget LIST=/etc/nginx/conf.d/tor-ips.conf #ziel der blacklist LISTBAK=/etc/nginx/conf.d/tor-ips.bak TEMPLIST=/tmp/torlist.txt wget -qO- https://check.torproject.org/exit-addresses | grep ExitAddress | cut -d ' ' -f 2 | sed "s/^/deny /g; s/$/;/g" > $TEMPLIST if [ !
    blacklisting block hacker darknet nginx Created Fri, 14 Feb 2020 00:00:00 +0000