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:
Diffstat (limited to 'include/tests_tcpwrappers')
-rw-r--r--include/tests_tcpwrappers47
1 files changed, 47 insertions, 0 deletions
diff --git a/include/tests_tcpwrappers b/include/tests_tcpwrappers
new file mode 100644
index 00000000..949adbf0
--- /dev/null
+++ b/include/tests_tcpwrappers
@@ -0,0 +1,47 @@
+#!/bin/sh
+
+#################################################################################
+#
+# Lynis
+# ------------------
+#
+# Copyright 2007-2014, Michael Boelen (michael@rootkit.nl), The Netherlands
+# Web site: http://www.rootkit.nl
+#
+# Lynis comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
+# welcome to redistribute it under the terms of the GNU General Public License.
+# See LICENSE file for usage of this software.
+#
+#################################################################################
+#
+# TCP Wrappers
+# Run after: NFS checks
+#
+#################################################################################
+#
+#
+#################################################################################
+#
+# InsertSection "TCP Wrappers"
+#
+#################################################################################
+#
+ # Test : TCPW-xxxx (YYY move to nameservices section)
+ # Description : Basic nameserver configuration tests (connectivity)
+# Register --test-no TCPW-xxxx --weight L --network YES --description "Basic nameserver configuration tests"
+# if [ ${SKIPTEST} -eq 0 ]; then
+# Display --indent 2 --text "- Checking configured nameservers..."
+# logtext "Test: Checking /etc/resolv.conf file"
+# Display --indent 8 --text "Nameserver: ${I}..." --result OK --color GREEN
+# ReportSuggestion ${TEST_NO} "Check connection to this nameserver and make sure no outbound DNS queries are blocked (port 53 UDP and TCP)."
+# ReportWarning ${TEST_NO} "L" "Nameserver ${I} does not respond"
+# fi
+#
+#################################################################################
+#
+
+#wait_for_keypress
+
+#
+#================================================================================
+# Lynis - Copyright 2007-2014, Michael Boelen - www.rootkit.nl - The Netherlands