Make 'start debug' work with the rawpost table.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2011-08-16 16:17:02 -07:00
parent ca8e99ed51
commit 8ae9b2948e

View File

@ -805,11 +805,15 @@ debug_restore_input() {
qt1 $IPTABLES -t raw -F qt1 $IPTABLES -t raw -F
qt1 $IPTABLES -t raw -X qt1 $IPTABLES -t raw -X
qt1 $IPTABLES -t rawpost -F
qt1 $IPTABLES -t rawpost -X
for chain in PREROUTING OUTPUT; do for chain in PREROUTING OUTPUT; do
qt1 $IPTABLES -t raw -P $chain ACCEPT qt1 $IPTABLES -t raw -P $chain ACCEPT
done done
qt1 $iptables -T rawpost -P POSTROUTING ACCEPT
run_iptables -t nat -F run_iptables -t nat -F
run_iptables -t nat -X run_iptables -t nat -X
@ -859,6 +863,9 @@ debug_restore_input() {
'*'raw) '*'raw)
table=raw table=raw
;; ;;
'*'rawpost)
table=rawpost
;;
'*'mangle) '*'mangle)
table=mangle table=mangle
;; ;;