From 3f042353535e12972449c06a8193ebfd467349f8 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Sun, 14 Jul 2019 13:06:23 +0200 Subject: [INSE-8116] added rsync service --- include/tests_insecure_services | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'include/tests_insecure_services') diff --git a/include/tests_insecure_services b/include/tests_insecure_services index 841189d8..0560a3ea 100644 --- a/include/tests_insecure_services +++ b/include/tests_insecure_services @@ -213,7 +213,7 @@ if [ ${SKIPTEST} -eq 0 ]; then XINETD_INSECURE_SERVICE_FOUND=0 - ITEMS="chargen chargen-dgram chargen-stream daytime daytime-dgram daytime-stream discard discard-dgram discard-stream echo echo-dgram echo-stream time time-dgram time-stream ntalk rexec rlogin rsh talk telnet tftp" + ITEMS="chargen chargen-dgram chargen-stream daytime daytime-dgram daytime-stream discard discard-dgram discard-stream echo echo-dgram echo-stream time time-dgram time-stream ntalk rexec rlogin rsh rsync talk telnet tftp" for SERVICE in ${ITEMS}; do LogText "Test: checking service ${SERVICE}" @@ -246,26 +246,6 @@ fi # ################################################################################# -# - # Test : INSE-8150 - # Description : Check for rsync enabled via xinetd - #RSYNC_XINETD_CONFIG_FILE="${XINETD_CONFIG_DIR}/rsync" - #if [ ${XINETD_ACTIVE} -eq 1 -a -f ${RSYNC_XINETD_CONFIG_FILE} ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi - #Register --test-no INSE-8150 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Check for rsync via xinetd" - #if [ ${SKIPTEST} -eq 0 ]; then - # LogText "Test: checking rsync presence in xinetd configuration" - # FIND=$(${GREPBINARY} "disable\s*=\s*no" ${RSYNC_XINETD_CONFIG_FILE}) - # if [ "${FIND}" = "" ]; then - # LogText "Result: rsync not enabled in ${RSYNC_XINETD_CONFIG_FILE}" - # Display --indent 6 --text "- Checking xinetd (rsync)" --result "${STATUS_DISABLED}" --color GREEN - # else - # LogText "Result: rsync enabled in ${RSYNC_XINETD_CONFIG_FILE}" - # Display --indent 6 --text "- Checking xinetd (rsync)" --result "${STATUS_ENABLED}" --color RED - # ReportSuggestion "${TEST_NO}" "Disable rsync in xinetd configuration" - # fi - #fi -# -################################################################################# # # Test : INSE-8200 # Description : Check if tcp_wrappers is installed when inetd/xinetd is active -- cgit v1.2.3