diff --git a/.dev-tools/beta_conf_files/conf.d/globalblacklist.conf b/.dev-tools/beta_conf_files/conf.d/globalblacklist.conf index d1c6c9d4a..10b92c635 100644 --- a/.dev-tools/beta_conf_files/conf.d/globalblacklist.conf +++ b/.dev-tools/beta_conf_files/conf.d/globalblacklist.conf @@ -127,6 +127,10 @@ map $http_user_agent $bad_bot { default 0; +# Added 2021-02-05 +# Regex to detect Random UA Strings +"~*(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9]).{12,}" 3; + # ----------------------------------------------------------------------------------- # START CUSTOM BLACKLISTED USER AGENTS ### DO NOT EDIT OR REMOVE THIS LINE AT ALL ### # -----------------------------------------------------------------------------------