diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-07-14 14:06:23 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-07-14 14:06:23 +0300 |
commit | 3f042353535e12972449c06a8193ebfd467349f8 (patch) | |
tree | 4fa763c6dc05feb49633a86b9053b8242ce5bfe4 /include/tests_insecure_services | |
parent | 96434508d40fe1d86f67874682645511b739b6ed (diff) |
[INSE-8116] added rsync service
Diffstat (limited to 'include/tests_insecure_services')
-rw-r--r-- | include/tests_insecure_services | 22 |
1 files changed, 1 insertions, 21 deletions
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}" @@ -247,26 +247,6 @@ # ################################################################################# # - # 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 if [ ${INETD_ACTIVE} -eq 1 -o ${XINETD_ACTIVE} -eq 1 ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi |