Add route and IP config info to shorewall status output

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1483 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-07-18 01:20:50 +00:00
parent c053b240ca
commit ce3595b146
3 changed files with 22 additions and 1 deletions

View File

@ -31,3 +31,8 @@ Change in 2.0.6
3) Don't give shorewall.conf and zones execute permission.
4) Backport 'dropInvalid' from 2.1
Changes in 2.0.7
1) Include output of "ip rule ls" and "ip route ls" in "shorewall
status".

View File

@ -1,4 +1,4 @@
Shorewall 2.0.6
Shorewall 2.0.7
----------------------------------------------------------------------
Problems Corrected in version 2.0.4
@ -38,5 +38,11 @@ Problems Corrected in version 2.0.6
3) ICMP packets that are in the INVALID state are now dropped by the
Reject and Drop default actions. They do so using the new
'dropInvalid' builtin action.
-----------------------------------------------------------------------
Problems Corrected in version 2.0.7
1) To improve supportability, the "shorewall status" command now
includes the output from "ip rule ls" and "ip addr ls".

View File

@ -881,6 +881,16 @@ case "$1" in
iptables -t mangle -L $IPT_OPTIONS
echo
cat /proc/net/ip_conntrack
echo
echo "IP Configuration"
echo
ip addr ls
echo
echo "Routing"
echo
ip rule ls
echo
ip route ls
;;
hits)
[ -n "$debugging" ] && set -x