Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2016-06-07 17:59:37 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-06-07 17:59:37 +0300
commitc88a2678f62cdef1cf8b6c51f5765f88aca0c859 (patch)
tree875fc7ed2b62290d68ef923c41a4a2e9d0950288 /include/tests_webservers
parent79cd9f0ff846cf66ad0afc44861c535562b81a88 (diff)
[HTTP-6642] Test disabled
Diffstat (limited to 'include/tests_webservers')
-rw-r--r--include/tests_webservers29
1 files changed, 15 insertions, 14 deletions
diff --git a/include/tests_webservers b/include/tests_webservers
index 6c16319d..c824d0aa 100644
--- a/include/tests_webservers
+++ b/include/tests_webservers
@@ -330,20 +330,21 @@
#
# Test : HTTP-6642
# Description : Search for special Apache modules: Spamhaus
- if [ ${APACHE_INSTALLED} -eq 1 ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
- Register --test-no HTTP-6642 --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_spamhaus.so"
- if [ ${ITEM_FOUND} -eq 1 ]; then
- Display --indent 10 --text "mod_spamhaus: anti-spam (spamhaus)" --result FOUND --color GREEN
- AddHP 3 3
- else
- Display --indent 10 --text "mod_spamhaus: anti-spam (spamhaus)" --result "NOT FOUND" --color WHITE
- AddHP 2 3
- ReportSuggestion ${TEST_NO} "Install Apache mod_spamhaus to guard webserver against spammers"
- fi
- fi
+ # Notes : This test is outdated
+ #if [ ${APACHE_INSTALLED} -eq 1 ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
+ #Register --test-no HTTP-6642 --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_spamhaus.so"
+ # if [ ${ITEM_FOUND} -eq 1 ]; then
+ # Display --indent 10 --text "mod_spamhaus: anti-spam (spamhaus)" --result FOUND --color GREEN
+ # AddHP 3 3
+ # else
+ # Display --indent 10 --text "mod_spamhaus: anti-spam (spamhaus)" --result "NOT FOUND" --color WHITE
+ # AddHP 2 3
+ # ReportSuggestion ${TEST_NO} "Install Apache mod_spamhaus to guard webserver against spammers"
+ # fi
+ #fi
#
#################################################################################
#