From 0a5376547ca03ef9a756324cbad4698c254e6f4c Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Fri, 22 Sep 2017 10:05:03 +0200 Subject: [PATCH] New Feature (Step 1): Add new blacklist-domains.conf include file. - FEATURE NOT IN OPERATION YET - This is to test that update-ngblocker safely pulls new include file during update to avoid any Nginx EMERG errors once the feature is introduced into the globalblacklist.conf file. --- bots.d/blacklist-domains.conf | 32 ++++++++++++++++++++++++++++++++ include_filelist.txt | 11 ++++++----- 2 files changed, 38 insertions(+), 5 deletions(-) create mode 100644 bots.d/blacklist-domains.conf diff --git a/bots.d/blacklist-domains.conf b/bots.d/blacklist-domains.conf new file mode 100644 index 000000000..1795f42e0 --- /dev/null +++ b/bots.d/blacklist-domains.conf @@ -0,0 +1,32 @@ +# EDIT THIS FILE AS YOU LIKE TO BLACKLIST YOUR OWN CUSTOM DOMAIN NAMES ### + +### VERSION INFORMATION # +################################################### +### Version: V3.2017.01 +### Updated: Fri Sep 22 09:57:32 SAST 2017 +################################################### +### VERSION INFORMATION ## + +############################################################################## +# _ __ _ # +# / |/ /__ _(_)__ __ __ # +# / / _ `/ / _ \\ \ / # +# /_/|_/\_, /_/_//_/_\_\ # +# __/___/ __ ___ __ ___ __ __ # +# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ # +# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ # +# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ # +# # +############################################################################## + +# Add One Entry Per Line - List all your own extra domains you want to blacklist. +# 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 +# Add One Entry Per Line + +# Make sure any domains have dots and special characters escaped as per the Regex examples below. +# For example myblacklisteddomainname.com should be entered as myfirstowndomainname\.com +# and my-second-blacklisted.com should be entered as my\-second\-owndomainname\.com + +"~*myblacklisteddomainname\.com" 1; +"~*my\-second\-blacklisted\.com" 1; diff --git a/include_filelist.txt b/include_filelist.txt index ebd1e874a..da938b3eb 100755 --- a/include_filelist.txt +++ b/include_filelist.txt @@ -23,12 +23,13 @@ CONF_FILES=" BOT_FILES=" blockbots.conf ddos.conf - whitelist-ips.conf - whitelist-domains.conf - blacklist-user-agents.conf - blacklist-ips.conf - bad-referrer-words.conf custom-bad-referrers.conf + bad-referrer-words.conf + blacklist-domains.conf + blacklist-ips.conf + blacklist-user-agents.conf + whitelist-domains.conf + whitelist-ips.conf " VHOST_INCLUDES="