Add module list to status output

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1881 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-01-03 17:27:46 +00:00
parent d7b00b618e
commit 2ce6fd2f3e
3 changed files with 11 additions and 0 deletions

View File

@ -205,3 +205,4 @@ Changes since 2.0.3
100) Reconcile ipsec masq file implementation with the documentation. 100) Reconcile ipsec masq file implementation with the documentation.
101) Add netfilter module display to status output.

View File

@ -882,3 +882,6 @@ New Features:
previous versions of Shorewall (and OpenVPN), the default port was previous versions of Shorewall (and OpenVPN), the default port was
5000 but has been changed to 1194 to conform to the new OpenVPN 5000 but has been changed to 1194 to conform to the new OpenVPN
default. default.
40) The output of "shorewall status" now lists the loaded netfilter
kernel modules.

View File

@ -1018,6 +1018,13 @@ case "$1" in
echo echo
ip route ls table $table ip route ls table $table
done done
if qt which lsmod; then
echo
echo "Modules"
echo
lsmod | grep -E '^ip_|^ipt_'
fi
;; ;;
hits) hits)
[ -n "$debugging" ] && set -x [ -n "$debugging" ] && set -x