Merged changes for ARPwatch

This commit is contained in:
mboelen 2015-12-29 16:28:18 +01:00
parent 142fc100c4
commit 31b5c0bb42
1 changed files with 20 additions and 1 deletions

View File

@ -22,6 +22,7 @@
LOCAL_DNSRESOLVER_FOUND=0 # Local DNS resolver
NUMBERACTIVENS=0 # Number of active nameservers
DHCP_CLIENT_RUNNING=0 # DHCP client availability
ARPWATCH_RUNNING=0 # ARP-cache based attack monitoring software
#
#################################################################################
#
@ -491,6 +492,22 @@
fi
#
#################################################################################
#
# 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"
if [ ${SKIPTEST} -eq 0 ]; then
IsRunning arpwatch
if [ ${RUNNING} -eq 1 ]; then
ARPWATCH_RUNNING=1
Display --indent 2 --text "Checking for ARP-Spoofing monitoring software" --result RUNNING --color GREEN
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'"
fi
fi
#
#################################################################################
#
# Test : NETW-3030
# Description : Checking for DHCP client
@ -508,7 +525,9 @@
#################################################################################
#
Report "dhcp_client_running=${DHCP_CLIENT_RUNNING}"
report "dhcp_client_running=${DHCP_CLIENT_RUNNING}"
report "arpwatch_running=${ARPWATCH_RUNNING}"
wait_for_keypress
#