forked from extern/shorewall_code
Exit the tcpost chain if a connection mark is restored
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
9f1c920a39
commit
926e589414
@ -1635,6 +1635,12 @@ sub process_tcpri() {
|
||||
mark => '--mark 0/' . in_hex( $globals{TC_MASK} )
|
||||
);
|
||||
|
||||
insert_irule( $mangle_table->{tcpost} ,
|
||||
j => 'RETURN',
|
||||
1 ,
|
||||
mark => '! --mark 0/' . in_hex( $globals{TC_MASK} ) ,
|
||||
);
|
||||
|
||||
add_ijump( $mangle_table->{tcpost} ,
|
||||
j => 'CONNMARK --save-mark --ctmask ' . in_hex( $globals{TC_MASK} ),
|
||||
mark => '! --mark 0/' . in_hex( $globals{TC_MASK} )
|
||||
|
Loading…
Reference in New Issue
Block a user