forked from extern/shorewall_code
Add a heading to the 'Log' part of 'shorewall dump' output
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3857 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
f0004152b7
commit
5ef3032fcc
@ -1027,7 +1027,8 @@ dump_command() {
|
|||||||
show_reset
|
show_reset
|
||||||
host=$(echo $HOSTNAME | sed 's/\..*$//')
|
host=$(echo $HOSTNAME | sed 's/\..*$//')
|
||||||
$IPTABLES -L $IPT_OPTIONS
|
$IPTABLES -L $IPT_OPTIONS
|
||||||
echo
|
|
||||||
|
heading "Log ($LOGFILE)"
|
||||||
packet_log 20
|
packet_log 20
|
||||||
|
|
||||||
heading "NAT Table"
|
heading "NAT Table"
|
||||||
@ -1035,7 +1036,8 @@ dump_command() {
|
|||||||
|
|
||||||
heading "Mangle Table"
|
heading "Mangle Table"
|
||||||
$IPTABLES -t mangle -L $IPT_OPTIONS
|
$IPTABLES -t mangle -L $IPT_OPTIONS
|
||||||
echo
|
|
||||||
|
heading "Conntrack Table"
|
||||||
cat /proc/net/ip_conntrack
|
cat /proc/net/ip_conntrack
|
||||||
|
|
||||||
heading "IP Configuration"
|
heading "IP Configuration"
|
||||||
@ -1087,12 +1089,9 @@ dump_command() {
|
|||||||
report_capabilities
|
report_capabilities
|
||||||
|
|
||||||
if [ -n "$TC_ENABLED" ]; then
|
if [ -n "$TC_ENABLED" ]; then
|
||||||
echo
|
heading "Traffic Control"
|
||||||
echo "Traffic Control"
|
|
||||||
echo
|
|
||||||
show_tc
|
show_tc
|
||||||
echo "Traffic Filters"
|
heading "TC Filters"
|
||||||
echo
|
|
||||||
show_classifiers
|
show_classifiers
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user