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:
authormboelen <michael@cisofy.com>2015-12-29 18:30:31 +0300
committermboelen <michael@cisofy.com>2015-12-29 18:30:31 +0300
commit6b3c32b61f251c55c19cd977aeb5c6bca9c369a8 (patch)
tree87ae4473b60d15c566c36b2854fb2beea90e1588 /include/tests_networking
parent31b5c0bb422ef1ffcc5ec568dac5a00fd51d042e (diff)
Added NETW-3032 to test for ARP monitoring software like arpwatch
Diffstat (limited to 'include/tests_networking')
-rw-r--r--include/tests_networking30
1 files changed, 15 insertions, 15 deletions
diff --git a/include/tests_networking b/include/tests_networking
index b4b640af..176e02e8 100644
--- a/include/tests_networking
+++ b/include/tests_networking
@@ -493,32 +493,32 @@
#
#################################################################################
#
- # Test : NETW-3032
- # Description : Checking for ARP-Spoofing monitoring software
- Register --test-no NETW-3032 --os Linux --weight L --network NO --description "Checking for ARP-Spoofing monitoring software"
+ # Test : NETW-3030
+ # Description : Checking for DHCP client
+ Register --test-no NETW-3030 --weight L --network NO --description "Checking DHCP client status"
if [ ${SKIPTEST} -eq 0 ]; then
- IsRunning arpwatch
+ IsRunning dhclient
if [ ${RUNNING} -eq 1 ]; then
- ARPWATCH_RUNNING=1
- Display --indent 2 --text "Checking for ARP-Spoofing monitoring software" --result RUNNING --color GREEN
+ Display --indent 2 --text "- Checking status DHCP client" --result RUNNING --color WHITE
+ DHCP_CLIENT_RUNNING=1
else
- Display --indent 2 --text "Checking for ARP-Spoofing monitoring software" --result "NOT FOUND" --color RED
- ReportSuggestion ${TEST_NO} "Install ARP-Spoofing attack monitoring software like 'arpwatch'"
+ Display --indent 2 --text "- Checking status DHCP client" --result "NOT ACTIVE" --color WHITE
fi
fi
#
#################################################################################
#
- # Test : NETW-3030
- # Description : Checking for DHCP client
- Register --test-no NETW-3030 --weight L --network NO --description "Checking DHCP client status"
+ # Test : NETW-3032
+ # Description : Checking for ARP spoofing and related monitoring software
+ Register --test-no NETW-3032 --os Linux --weight L --network NO --description "Checking for ARP monitoring software"
if [ ${SKIPTEST} -eq 0 ]; then
- IsRunning dhclient
+ IsRunning arpwatch
if [ ${RUNNING} -eq 1 ]; then
- Display --indent 2 --text "- Checking status DHCP client" --result RUNNING --color WHITE
- DHCP_CLIENT_RUNNING=1
+ ARPWATCH_RUNNING=1
+ Display --indent 2 --text "Checking for ARP monitoring software" --result RUNNING --color GREEN
else
- Display --indent 2 --text "- Checking status DHCP client" --result "NOT ACTIVE" --color WHITE
+ Display --indent 2 --text "Checking for ARP monitoring software" --result "NOT FOUND" --color YELLOW
+ ReportSuggestion ${TEST_NO} "Install ARP monitoring software like arpwatch"
fi
fi
#