From e236be37dbba73365137ece3d963d5dc57174c6b Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Fri, 4 Nov 2011 13:02:30 -0700 Subject: [PATCH] Include the rawpost table in dump output Signed-off-by: Tom Eastep --- Shorewall/lib.cli | 5 +++++ Shorewall6/lib.cli | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/Shorewall/lib.cli b/Shorewall/lib.cli index eb3894609..ef27889f0 100644 --- a/Shorewall/lib.cli +++ b/Shorewall/lib.cli @@ -992,6 +992,11 @@ do_dump_command() { $IPTABLES -t raw -L $g_ipt_options fi + if qt $IPTABLES -t rawpost -L -n; then + heading "Rawpost Table" + $IPTABLES -t rawpost -L $g_ipt_options + fi + local count=$(cat /proc/sys/net/netfilter/nf_conntrack_count) local max=$(cat /proc/sys/net/netfilter/nf_conntrack_max) diff --git a/Shorewall6/lib.cli b/Shorewall6/lib.cli index b9fef3d08..432d00b16 100644 --- a/Shorewall6/lib.cli +++ b/Shorewall6/lib.cli @@ -927,6 +927,11 @@ do_dump_command() { $IP6TABLES -t raw -L $g_ipt_options fi + if qt $IP6TABLES -t rawpost -L -n; then + heading "Rawpost Table" + $IP6TABLES -t rawpost -L $g_ipt_options + fi + local count=$(cat /proc/sys/net/netfilter/nf_conntrack_count) local max=$(cat /proc/sys/net/netfilter/nf_conntrack_max)