mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-03 19:20:16 +00:00
Fix Duplicate Cyveillance Ranges Issue.
This commit is contained in:
parent
ef692ffc17
commit
975ac45840
22 changed files with 254 additions and 129 deletions
|
@ -4,7 +4,7 @@
|
||||||
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
||||||
# Repo Url: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
# Repo Url: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
||||||
|
|
||||||
#########################################################################
|
##############################################################################
|
||||||
# _ __ _ #
|
# _ __ _ #
|
||||||
# / |/ /__ _(_)__ __ __ #
|
# / |/ /__ _(_)__ __ __ #
|
||||||
# / / _ `/ / _ \\ \ / #
|
# / / _ `/ / _ \\ \ / #
|
||||||
|
@ -13,7 +13,8 @@
|
||||||
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||||||
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||||||
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||||||
#########################################################################
|
# #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
# MIT License
|
# MIT License
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
||||||
# Repo Url: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
# Repo Url: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
||||||
|
|
||||||
#########################################################################
|
##############################################################################
|
||||||
# _ __ _ #
|
# _ __ _ #
|
||||||
# / |/ /__ _(_)__ __ __ #
|
# / |/ /__ _(_)__ __ __ #
|
||||||
# / / _ `/ / _ \\ \ / #
|
# / / _ `/ / _ \\ \ / #
|
||||||
|
@ -13,7 +13,8 @@
|
||||||
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||||||
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||||||
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||||||
#########################################################################
|
# #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
# MIT License
|
# MIT License
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
||||||
# Repo Url: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
# Repo Url: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
||||||
|
|
||||||
#########################################################################
|
##############################################################################
|
||||||
# _ __ _ #
|
# _ __ _ #
|
||||||
# / |/ /__ _(_)__ __ __ #
|
# / |/ /__ _(_)__ __ __ #
|
||||||
# / / _ `/ / _ \\ \ / #
|
# / / _ `/ / _ \\ \ / #
|
||||||
|
@ -13,7 +13,8 @@
|
||||||
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||||||
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||||||
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||||||
#########################################################################
|
# #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
# MIT License
|
# MIT License
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
||||||
# Repo Url: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
# Repo Url: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
||||||
|
|
||||||
#########################################################################
|
##############################################################################
|
||||||
# _ __ _ #
|
# _ __ _ #
|
||||||
# / |/ /__ _(_)__ __ __ #
|
# / |/ /__ _(_)__ __ __ #
|
||||||
# / / _ `/ / _ \\ \ / #
|
# / / _ `/ / _ \\ \ / #
|
||||||
|
@ -13,7 +13,8 @@
|
||||||
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||||||
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||||||
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||||||
#########################################################################
|
# #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
# MIT License
|
# MIT License
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
# Generate a robots.txt file for those unable to use the full Nginx Ultimate Bad Bot Blocker
|
# Generate a robots.txt file for those unable to use the full Nginx Ultimate Bad Bot Blocker
|
||||||
|
|
||||||
#########################################################################
|
##############################################################################
|
||||||
# _ __ _ #
|
# _ __ _ #
|
||||||
# / |/ /__ _(_)__ __ __ #
|
# / |/ /__ _(_)__ __ __ #
|
||||||
# / / _ `/ / _ \\ \ / #
|
# / / _ `/ / _ \\ \ / #
|
||||||
|
@ -15,7 +15,8 @@
|
||||||
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||||||
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||||||
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||||||
#########################################################################
|
# #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
# MIT License
|
# MIT License
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
||||||
# Repo Url: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
# Repo Url: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
||||||
|
|
||||||
#########################################################################
|
##############################################################################
|
||||||
# _ __ _ #
|
# _ __ _ #
|
||||||
# / |/ /__ _(_)__ __ __ #
|
# / |/ /__ _(_)__ __ __ #
|
||||||
# / / _ `/ / _ \\ \ / #
|
# / / _ `/ / _ \\ \ / #
|
||||||
|
@ -13,7 +13,8 @@
|
||||||
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||||||
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||||||
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||||||
#########################################################################
|
# #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
# MIT License
|
# MIT License
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
||||||
# Repo Url: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
# Repo Url: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
||||||
|
|
||||||
#########################################################################
|
##############################################################################
|
||||||
# _ __ _ #
|
# _ __ _ #
|
||||||
# / |/ /__ _(_)__ __ __ #
|
# / |/ /__ _(_)__ __ __ #
|
||||||
# / / _ `/ / _ \\ \ / #
|
# / / _ `/ / _ \\ \ / #
|
||||||
|
@ -13,7 +13,8 @@
|
||||||
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||||||
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||||||
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||||||
#########################################################################
|
# #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
# MIT License
|
# MIT License
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
||||||
# Repo Url: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
# Repo Url: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
||||||
|
|
||||||
#########################################################################
|
##############################################################################
|
||||||
# _ __ _ #
|
# _ __ _ #
|
||||||
# / |/ /__ _(_)__ __ __ #
|
# / |/ /__ _(_)__ __ __ #
|
||||||
# / / _ `/ / _ \\ \ / #
|
# / / _ `/ / _ \\ \ / #
|
||||||
|
@ -13,7 +13,8 @@
|
||||||
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||||||
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||||||
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||||||
#########################################################################
|
# #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
# MIT License
|
# MIT License
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
||||||
# Repo Url: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
# Repo Url: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
||||||
|
|
||||||
#########################################################################
|
##############################################################################
|
||||||
# _ __ _ #
|
# _ __ _ #
|
||||||
# / |/ /__ _(_)__ __ __ #
|
# / |/ /__ _(_)__ __ __ #
|
||||||
# / / _ `/ / _ \\ \ / #
|
# / / _ `/ / _ \\ \ / #
|
||||||
|
@ -13,7 +13,8 @@
|
||||||
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||||||
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||||||
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||||||
#########################################################################
|
# #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
# MIT License
|
# MIT License
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
||||||
# Repo Url: https://github.com/mitchellkrogza/The-Big-List-of-Hacked-Malware-Web-Sites
|
# Repo Url: https://github.com/mitchellkrogza/The-Big-List-of-Hacked-Malware-Web-Sites
|
||||||
|
|
||||||
#########################################################################
|
##############################################################################
|
||||||
# _ __ _ #
|
# _ __ _ #
|
||||||
# / |/ /__ _(_)__ __ __ #
|
# / |/ /__ _(_)__ __ __ #
|
||||||
# / / _ `/ / _ \\ \ / #
|
# / / _ `/ / _ \\ \ / #
|
||||||
|
@ -13,25 +13,35 @@
|
||||||
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||||||
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||||||
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||||||
#########################################################################
|
# #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
# ******************************
|
||||||
|
# Specify Input and Output Files
|
||||||
|
# ******************************
|
||||||
|
|
||||||
#Specify Input and Output File
|
|
||||||
# ****************************
|
|
||||||
_input=$TRAVIS_BUILD_DIR/_generator_lists/bad-user-agents.list
|
_input=$TRAVIS_BUILD_DIR/_generator_lists/bad-user-agents.list
|
||||||
_output=$TRAVIS_BUILD_DIR/.dev-tools/_robots_input/robots-input.txt
|
_output=$TRAVIS_BUILD_DIR/.dev-tools/_robots_input/robots-input.txt
|
||||||
|
|
||||||
|
# *****************
|
||||||
# Truncate our file
|
# Truncate our file
|
||||||
# *****************
|
# *****************
|
||||||
|
|
||||||
sudo truncate -s 0 $_output
|
sudo truncate -s 0 $_output
|
||||||
|
|
||||||
|
# ********************************************
|
||||||
# Use sed to strip the \ out of the input file
|
# Use sed to strip the \ out of the input file
|
||||||
# ***************************************************
|
# ********************************************
|
||||||
|
|
||||||
sed 's/\\ / /g' $_input > $_output
|
sed 's/\\ / /g' $_input > $_output
|
||||||
|
|
||||||
|
# ***************************************************
|
||||||
# Use cut to strip the domains out of the url strings
|
# Use cut to strip the domains out of the url strings
|
||||||
# ***************************************************
|
# ***************************************************
|
||||||
#cut -d'\' -f3 $_input > $_output
|
#cut -d'\' -f3 $_input > $_output
|
||||||
|
|
||||||
|
# *************************************
|
||||||
# Sort our output file and remove dupes
|
# Sort our output file and remove dupes
|
||||||
# *************************************
|
# *************************************
|
||||||
|
|
||||||
sort -u $_output -o $_output
|
sort -u $_output -o $_output
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
||||||
# Repo Url: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
# Repo Url: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
||||||
|
|
||||||
#########################################################################
|
##############################################################################
|
||||||
# _ __ _ #
|
# _ __ _ #
|
||||||
# / |/ /__ _(_)__ __ __ #
|
# / |/ /__ _(_)__ __ __ #
|
||||||
# / / _ `/ / _ \\ \ / #
|
# / / _ `/ / _ \\ \ / #
|
||||||
|
@ -13,7 +13,8 @@
|
||||||
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||||||
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||||||
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||||||
#########################################################################
|
# #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
# *******************************************
|
# *******************************************
|
||||||
# Set Location of our Curl Test Results Files
|
# Set Location of our Curl Test Results Files
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
# Copyright: Mitchell Krog - https://github.com/mitchellkrogza
|
||||||
# Repo Url: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
# Repo Url: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
||||||
|
|
||||||
#########################################################################
|
##############################################################################
|
||||||
# _ __ _ #
|
# _ __ _ #
|
||||||
# / |/ /__ _(_)__ __ __ #
|
# / |/ /__ _(_)__ __ __ #
|
||||||
# / / _ `/ / _ \\ \ / #
|
# / / _ `/ / _ \\ \ / #
|
||||||
|
@ -13,7 +13,8 @@
|
||||||
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||||||
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||||||
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||||||
#########################################################################
|
# #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
# *******************************************
|
# *******************************************
|
||||||
# Set Location of our Curl Test Results Files
|
# Set Location of our Curl Test Results Files
|
||||||
|
|
|
@ -1,5 +1,17 @@
|
||||||
# EDIT THIS FILE AS YOU LIKE TO ADD OR REMOVE ANY BAD WORDS YOU WANT TO SCAN FOR ###
|
# EDIT THIS FILE AS YOU LIKE TO ADD OR REMOVE ANY BAD WORDS YOU WANT TO SCAN FOR ###
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# _ __ _ #
|
||||||
|
# / |/ /__ _(_)__ __ __ #
|
||||||
|
# / / _ `/ / _ \\ \ / #
|
||||||
|
# /_/|_/\_, /_/_//_/_\_\ #
|
||||||
|
# __/___/ __ ___ __ ___ __ __ #
|
||||||
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||||||
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||||||
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||||||
|
# #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
# This is merely an example and gets auto included as since Version 2.2017.07 introduced on 2017-04-20
|
# This is merely an example and gets auto included as since Version 2.2017.07 introduced on 2017-04-20
|
||||||
# This file must exist on your system or Nginx will fail a reload due to a missing file
|
# This file must exist on your system or Nginx will fail a reload due to a missing file
|
||||||
# For all intensive purpose you can delete everything inside this file and leave it
|
# For all intensive purpose you can delete everything inside this file and leave it
|
||||||
|
|
|
@ -1,5 +1,17 @@
|
||||||
# EDIT THIS FILE AS YOU LIKE TO ADD OR REMOVE ANY BAD IP ADDRESSES OR IP RANGES YOU WANT TO BLOCK ###
|
# EDIT THIS FILE AS YOU LIKE TO ADD OR REMOVE ANY BAD IP ADDRESSES OR IP RANGES YOU WANT TO BLOCK ###
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# _ __ _ #
|
||||||
|
# / |/ /__ _(_)__ __ __ #
|
||||||
|
# / / _ `/ / _ \\ \ / #
|
||||||
|
# /_/|_/\_, /_/_//_/_\_\ #
|
||||||
|
# __/___/ __ ___ __ ___ __ __ #
|
||||||
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||||||
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||||||
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||||||
|
# #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
# This is merely an example and gets auto included as since Version 2.2017.07 introduced on 2017-04-20
|
# This is merely an example and gets auto included as since Version 2.2017.07 introduced on 2017-04-20
|
||||||
# This file must exist on your system or Nginx will fail a reload due to a missing file
|
# This file must exist on your system or Nginx will fail a reload due to a missing file
|
||||||
# For all intensive purpose you can delete everything inside this file and leave it
|
# For all intensive purpose you can delete everything inside this file and leave it
|
||||||
|
@ -157,15 +169,12 @@
|
||||||
|
|
||||||
38.100.19.8/29 0;
|
38.100.19.8/29 0;
|
||||||
38.100.21.0/24 0;
|
38.100.21.0/24 0;
|
||||||
38.100.21.0/24 0;
|
|
||||||
38.100.41.64/26 0;
|
38.100.41.64/26 0;
|
||||||
38.105.71.0/25 0;
|
38.105.71.0/25 0;
|
||||||
38.105.83.0/27 0;
|
38.105.83.0/27 0;
|
||||||
38.112.21.140/30 0;
|
38.112.21.140/30 0;
|
||||||
38.118.42.32/29 0;
|
38.118.42.32/29 0;
|
||||||
63.144.0.0/13 0;
|
63.144.0.0/13 0;
|
||||||
63.144.0.0/13 0;
|
|
||||||
65.112.0.0/12 0;
|
|
||||||
65.112.0.0/12 0;
|
65.112.0.0/12 0;
|
||||||
65.213.208.128/27 0;
|
65.213.208.128/27 0;
|
||||||
65.222.176.96/27 0;
|
65.222.176.96/27 0;
|
||||||
|
|
|
@ -1,6 +1,18 @@
|
||||||
# EDIT THIS FILE AS YOU LIKE TO BLACKLIST OR WHITELIST ANY BAD USER-AGENT STRINGS YOU WANT TO SCAN FOR
|
# EDIT THIS FILE AS YOU LIKE TO BLACKLIST OR WHITELIST ANY BAD USER-AGENT STRINGS YOU WANT TO SCAN FOR
|
||||||
# ****************************************************************************************************
|
# ****************************************************************************************************
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# _ __ _ #
|
||||||
|
# / |/ /__ _(_)__ __ __ #
|
||||||
|
# / / _ `/ / _ \\ \ / #
|
||||||
|
# /_/|_/\_, /_/_//_/_\_\ #
|
||||||
|
# __/___/ __ ___ __ ___ __ __ #
|
||||||
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||||||
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||||||
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||||||
|
# #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
# Add One Entry Per Line - List all the extra bad User-Agents you want to permanently block or whitelist.
|
# Add One Entry Per Line - List all the extra bad User-Agents you want to permanently block or whitelist.
|
||||||
|
|
||||||
# This is for User-Agents that are not included in the main list of the bot blocker
|
# This is for User-Agents that are not included in the main list of the bot blocker
|
||||||
|
|
|
@ -1,7 +1,17 @@
|
||||||
#######################################################################
|
|
||||||
|
|
||||||
# Author: Mitchell Krog <mitchellkrog@gmail.com> - https://github.com/mitchellkrogza/
|
# Author: Mitchell Krog <mitchellkrog@gmail.com> - https://github.com/mitchellkrogza/
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# _ __ _ #
|
||||||
|
# / |/ /__ _(_)__ __ __ #
|
||||||
|
# / / _ `/ / _ \\ \ / #
|
||||||
|
# /_/|_/\_, /_/_//_/_\_\ #
|
||||||
|
# __/___/ __ ___ __ ___ __ __ #
|
||||||
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||||||
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||||||
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||||||
|
# #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
# Include this in a vhost file within a server {} block using and include statement like below
|
# Include this in a vhost file within a server {} block using and include statement like below
|
||||||
|
|
||||||
# server {
|
# server {
|
||||||
|
|
|
@ -1,5 +1,17 @@
|
||||||
# EDIT THIS FILE AS YOU LIKE TO ADD ANY ADDITIONAL BAD REFERRER DOMAINS YOU WANT TO SCAN FOR ###
|
# EDIT THIS FILE AS YOU LIKE TO ADD ANY ADDITIONAL BAD REFERRER DOMAINS YOU WANT TO SCAN FOR ###
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# _ __ _ #
|
||||||
|
# / |/ /__ _(_)__ __ __ #
|
||||||
|
# / / _ `/ / _ \\ \ / #
|
||||||
|
# /_/|_/\_, /_/_//_/_\_\ #
|
||||||
|
# __/___/ __ ___ __ ___ __ __ #
|
||||||
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||||||
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||||||
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||||||
|
# #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
# This is merely an example and gets auto included as since Version 2.2017.07 introduced on 2017-04-20
|
# This is merely an example and gets auto included as since Version 2.2017.07 introduced on 2017-04-20
|
||||||
# This file must exist on your system or Nginx will fail a reload due to a missing file
|
# This file must exist on your system or Nginx will fail a reload due to a missing file
|
||||||
# Only add one entry per line
|
# Only add one entry per line
|
||||||
|
|
|
@ -2,6 +2,18 @@
|
||||||
|
|
||||||
# Author: Mitchell Krog <mitchellkrog@gmail.com> - https://github.com/mitchellkrogza/
|
# Author: Mitchell Krog <mitchellkrog@gmail.com> - https://github.com/mitchellkrogza/
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# _ __ _ #
|
||||||
|
# / |/ /__ _(_)__ __ __ #
|
||||||
|
# / / _ `/ / _ \\ \ / #
|
||||||
|
# /_/|_/\_, /_/_//_/_\_\ #
|
||||||
|
# __/___/ __ ___ __ ___ __ __ #
|
||||||
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||||||
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||||||
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||||||
|
# #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
# Include this in a vhost file within a server {} block using and include statement like below
|
# Include this in a vhost file within a server {} block using and include statement like below
|
||||||
|
|
||||||
# server {
|
# server {
|
||||||
|
|
|
@ -1,5 +1,17 @@
|
||||||
# EDIT THIS FILE AS YOU LIKE TO WHITELIST YOUR OWN DOMAIN NAMES AND SPARE THEM FROM ANY REFERRER CHECKING ###
|
# EDIT THIS FILE AS YOU LIKE TO WHITELIST YOUR OWN DOMAIN NAMES AND SPARE THEM FROM ANY REFERRER CHECKING ###
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# _ __ _ #
|
||||||
|
# / |/ /__ _(_)__ __ __ #
|
||||||
|
# / / _ `/ / _ \\ \ / #
|
||||||
|
# /_/|_/\_, /_/_//_/_\_\ #
|
||||||
|
# __/___/ __ ___ __ ___ __ __ #
|
||||||
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||||||
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||||||
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||||||
|
# #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
# Add One Entry Per Line - List all your own domains of the sites you host on the server
|
# Add One Entry Per Line - List all your own domains of the sites you host on the server
|
||||||
# This file must exist on your system or Nginx will fail a reload due to a missing file
|
# This file must exist on your system or Nginx will fail a reload due to a missing file
|
||||||
# Automatic updates will never be able to remove this custom list of yours
|
# Automatic updates will never be able to remove this custom list of yours
|
||||||
|
|
|
@ -1,5 +1,17 @@
|
||||||
# EDIT THIS FILE AS YOU LIKE TO WHITELIST ALL YOUR IP ADDRESSES AND IP RANGES ###
|
# EDIT THIS FILE AS YOU LIKE TO WHITELIST ALL YOUR IP ADDRESSES AND IP RANGES ###
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# _ __ _ #
|
||||||
|
# / |/ /__ _(_)__ __ __ #
|
||||||
|
# / / _ `/ / _ \\ \ / #
|
||||||
|
# /_/|_/\_, /_/_//_/_\_\ #
|
||||||
|
# __/___/ __ ___ __ ___ __ __ #
|
||||||
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||||||
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||||||
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||||||
|
# #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
# Add One Entry Per Line - List all your IP's and IP Ranges you want to whitelist
|
# Add One Entry Per Line - List all your IP's and IP Ranges you want to whitelist
|
||||||
# This file must exist on your system or Nginx will fail a reload due to a missing file
|
# This file must exist on your system or Nginx will fail a reload due to a missing file
|
||||||
# Automatic updates will never be able to remove this custom list of yours
|
# Automatic updates will never be able to remove this custom list of yours
|
||||||
|
|
|
@ -1,3 +1,16 @@
|
||||||
|
##############################################################################
|
||||||
|
# _ __ _ #
|
||||||
|
# / |/ /__ _(_)__ __ __ #
|
||||||
|
# / / _ `/ / _ \\ \ / #
|
||||||
|
# /_/|_/\_, /_/_//_/_\_\ #
|
||||||
|
# __/___/ __ ___ __ ___ __ __ #
|
||||||
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||||||
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||||||
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||||||
|
# #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
|
||||||
server_names_hash_bucket_size 64;
|
server_names_hash_bucket_size 64;
|
||||||
server_names_hash_max_size 4096;
|
server_names_hash_max_size 4096;
|
||||||
limit_req_zone $binary_remote_addr zone=flood:50m rate=90r/s;
|
limit_req_zone $binary_remote_addr zone=flood:50m rate=90r/s;
|
||||||
|
|
Loading…
Add table
Reference in a new issue