mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-12 18:54:25 +01:00
Change 'track' interraction with PREROUTING marking -- take 3
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3863 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
b72c33818f
commit
9c604cfee5
@ -3378,29 +3378,29 @@ process_tc_rule()
|
|||||||
|
|
||||||
case $mark in
|
case $mark in
|
||||||
SAVE)
|
SAVE)
|
||||||
[ -n $did_connmark ] && fatal_error "SAVE not valid with :C[FP]"
|
[ -n "$did_connmark" ] && fatal_error "SAVE not valid with :C[FP]"
|
||||||
target="CONNMARK --save-mark --mask 0xFF"
|
target="CONNMARK --save-mark --mask 0xFF"
|
||||||
mark=
|
mark=
|
||||||
;;
|
;;
|
||||||
SAVE/*)
|
SAVE/*)
|
||||||
[ -n $did_connmark ] && fatal_error "SAVE not valid with :C[FP]"
|
[ -n "$did_connmark" ] && fatal_error "SAVE not valid with :C[FP]"
|
||||||
target="CONNMARK --save-mark --mask"
|
target="CONNMARK --save-mark --mask"
|
||||||
mark=${mark#*/}
|
mark=${mark#*/}
|
||||||
verify_small_mark $mark
|
verify_small_mark $mark
|
||||||
;;
|
;;
|
||||||
RESTORE)
|
RESTORE)
|
||||||
[ -n $did_connmark ] && fatal_error "RESTORE not valid with :C[FP]"
|
[ -n "$did_connmark" ] && fatal_error "RESTORE not valid with :C[FP]"
|
||||||
target="CONNMARK --restore-mark --mask 0xFF"
|
target="CONNMARK --restore-mark --mask 0xFF"
|
||||||
mark=
|
mark=
|
||||||
;;
|
;;
|
||||||
RESTORE/*)
|
RESTORE/*)
|
||||||
[ -n $did_connmark ] && fatal_error "RESTORE not valid with :C[FP]"
|
[ -n "$did_connmark" ] && fatal_error "RESTORE not valid with :C[FP]"
|
||||||
target="CONNMARK --restore-mark --mask"
|
target="CONNMARK --restore-mark --mask"
|
||||||
mark=${mark#*/}
|
mark=${mark#*/}
|
||||||
verify_small_mark $mark
|
verify_small_mark $mark
|
||||||
;;
|
;;
|
||||||
CONTINUE)
|
CONTINUE)
|
||||||
[ -n $did_connmark ] && fatal_error "CONTINUE not valid with :C[FP]"
|
[ -n "$did_connmark" ] && fatal_error "CONTINUE not valid with :C[FP]"
|
||||||
target=RETURN
|
target=RETURN
|
||||||
mark=
|
mark=
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user