aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh/scripts/02_network.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cron-sh/scripts/02_network.sh')
-rwxr-xr-xcron-sh/scripts/02_network.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/cron-sh/scripts/02_network.sh b/cron-sh/scripts/02_network.sh
index c31b101..b52f914 100755
--- a/cron-sh/scripts/02_network.sh
+++ b/cron-sh/scripts/02_network.sh
@@ -26,11 +26,13 @@ fi
if [[ ${CHECK_OPEN_PORT} == yes ]]; then
netstat -pvlA inet,inet6 2> /dev/null > ${OPEN_PORT_TODAY};
+ Filter ${OPEN_PORT_TODAY} CHECK_OPEN_PORT
Count ${INFOS} ${OPEN_PORT_TODAY} "Total of open network ports"
fi
if [[ ${CHECK_FIREWALL} == yes ]]; then
iptables -S 2>/dev/null > ${FIREWALL_TODAY}
+ Filter ${FIREWALL_TODAY} CHECK_FIREWALL
Count ${INFOS} ${FIREWALL_TODAY} "Total of configured firewall rules"
fi