Add new trace types.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-04-30 14:58:07 -07:00
parent 1173518d78
commit 16161d9cfc
2 changed files with 12 additions and 0 deletions

View File

@ -1096,6 +1096,8 @@ sub dont_optimize( $ ) {
$chainref->{dont_optimize} = 1;
trace( $chainref, '!O', undef, '' );
$chainref;
}
@ -1109,6 +1111,8 @@ sub dont_delete( $ ) {
$chainref->{dont_optimize} = $chainref->{dont_delete} = 1;
trace( $chainref, '!OD', undef, '' );
$chainref;
}
@ -1122,6 +1126,8 @@ sub dont_move( $ ) {
$chainref->{dont_move} = 1;
trace( $chainref, '!M', undef, '' );
$chainref;
}

View File

@ -340,6 +340,12 @@ None.
P - Change a built-in chains policy. Chains in the filter table
are created with a DROP policy. All other builtin chains
have policy ACCEPT.
! Followed by one or more of the following to indicate that
the operation is not allowed on the chain.
O - Optimize
D - Delete
M - Move rules
Netfilter trace records indicate the table and chain being
changed. If the change involves a particular rule, then the rule