From 17a6aa369106e83d7bb0b47872f508d83e1d45db Mon Sep 17 00:00:00 2001 From: mboelen Date: Tue, 23 Sep 2014 23:27:01 +0200 Subject: [PATCH] Improved detection of mod_evasive --- include/tests_webservers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tests_webservers b/include/tests_webservers index 92641d17..cc7b8bf1 100644 --- a/include/tests_webservers +++ b/include/tests_webservers @@ -291,7 +291,7 @@ Register --test-no HTTP-6640 --preqs-met ${PREQS_MET} --weight L --network NO --description "Determining existence of specific Apache modules" if [ ${SKIPTEST} -eq 0 ]; then # Check modules, module - CheckItem "apache_module" "/mod_evasive20.so" + CheckItem "apache_module" "/mod_evasive([0-9][0-9])?.so" if [ ${ITEM_FOUND} -eq 1 ]; then Display --indent 10 --text "mod_evasive: anti-DoS/brute force" --result FOUND --color GREEN AddHP 3 3