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-07-22 17:28:11 +0300
committermboelen <michael@cisofy.com>2015-07-22 17:28:11 +0300
commit66fb36959339c2b6b4594ca11ffdb0e279164e50 (patch)
tree11c7135141b4933dd7b8a0a7f1558d4ca757a76d /include/tests_networking
parent1775590ba70ce52d6362141e395ecc1e80ddc4fa (diff)
Copyright line changes and cleanups
Diffstat (limited to 'include/tests_networking')
-rw-r--r--include/tests_networking28
1 files changed, 6 insertions, 22 deletions
diff --git a/include/tests_networking b/include/tests_networking
index 4188c440..469a22f4 100644
--- a/include/tests_networking
+++ b/include/tests_networking
@@ -5,8 +5,8 @@
# Lynis
# ------------------
#
-# Copyright 2007-2015, Michael Boelen (michael@rootkit.nl), The Netherlands
-# Web site: http://www.rootkit.nl
+# Copyright 2007-2015, Michael Boelen, CISOfy (michael.boelen@cisofy.com)
+# Web site: https://cisofy.com
#
# 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.
@@ -29,7 +29,7 @@
#
#################################################################################
#
- # Test : NETW-2704 (YYY move to nameservices section)
+ # Test : NETW-2704
# Description : Basic nameserver configuration tests (connectivity)
Register --test-no NETW-2704 --weight L --network YES --description "Basic nameserver configuration tests"
if [ ${SKIPTEST} -eq 0 ]; then
@@ -44,7 +44,7 @@
for I in ${FIND}; do
logtext "Found nameserver: ${I}"
report "nameserver[]=${I}"
- # Check if a local resolver is available (like DNSMasq)
+ # Check if a local resolver is available (like DNSMasq)
if [ "${I}" = "::1" -o "${I}" = "127.0.0.1" -o "${I}" = "0.0.0.0" ]; then
LOCAL_DNSRESOLVER_FOUND=1
fi
@@ -200,7 +200,7 @@
case ${OS} in
AIX)
FIND=`${IFCONFIGBINARY} -a | awk '{ if ($1=="inet") print $2 }'`
- # IPv6 support in AIX? (YYY)
+ FIND2=`${IFCONFIGBINARY} -a | awk '{ if ($1=="inet6") print $2 }'`
;;
DragonFly|FreeBSD|NetBSD)
FIND=`${IFCONFIGBINARY} -a | awk '{ if ($1=="inet") print $2 }'`
@@ -473,8 +473,6 @@
IsRunning dhclient
if [ ${RUNNING} -eq 1 ]; then
Display --indent 2 --text "- Checking status DHCP client" --result RUNNING --color WHITE
- #YYY report if system type is server, that it is running with DHCP client, might be a badly configured machine
- #report "manual[]=System is running DHCP client"
DHCP_CLIENT_RUNNING=1
else
Display --indent 2 --text "- Checking status DHCP client" --result "NOT ACTIVE" --color WHITE
@@ -483,24 +481,10 @@
#
#################################################################################
#
- # Test : NETW-3060
- # Description : Check if IPv6 is configured AND used
- # /etc/modprobe.d (add 'install ipv6 /bin/true' if IPv6 isn't used)
- # or
- # aliased (/etc/modprobe.d/aliases?): alias net-pf-10 off ipv6 (to disable)
- #Register --test-no NETW-3060 --weight L --network NO --description "Checking IPv6 connectivity"
- #if [ ${SKIPTEST} -eq 0 ]; then
-#
-#################################################################################
-#
-# Linux: net.ipv4.ip_always_defrag
-#
-#################################################################################
-#
report "dhcp_client_running=${DHCP_CLIENT_RUNNING}"
wait_for_keypress
#
#================================================================================
-# Lynis - Copyright 2007-2015, Michael Boelen - www.rootkit.nl - The Netherlands
+# Lynis - Copyright 2007-2015, Michael Boelen, CISOfy - https://cisofy.com