Commit 8d34a7a
committed
netfilter: nf_tables: Audit log rule reset
JIRA: https://issues.redhat.com/browse/RHEL-9127
This patch is a backport of the following upstream commit:
commit ea078ae
Author: Phil Sutter <[email protected]>
Date: Tue Aug 29 19:51:58 2023 +0200
netfilter: nf_tables: Audit log rule reset
Resetting rules' stateful data happens outside of the transaction logic,
so 'get' and 'dump' handlers have to emit audit log entries themselves.
Fixes: 8daa8fd ("netfilter: nf_tables: Introduce NFT_MSG_GETRULE_RESET")
Signed-off-by: Phil Sutter <[email protected]>
Reviewed-by: Richard Guy Briggs <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Signed-off-by: Ricardo Robaina <[email protected]>1 parent 4052bb3 commit 8d34a7a
File tree
3 files changed
+20
-0
lines changed- include/linux
- kernel
- net/netfilter
3 files changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3089 | 3089 | | |
3090 | 3090 | | |
3091 | 3091 | | |
| 3092 | + | |
| 3093 | + | |
| 3094 | + | |
| 3095 | + | |
| 3096 | + | |
| 3097 | + | |
| 3098 | + | |
| 3099 | + | |
| 3100 | + | |
| 3101 | + | |
| 3102 | + | |
| 3103 | + | |
3092 | 3104 | | |
3093 | 3105 | | |
3094 | 3106 | | |
| |||
3195 | 3207 | | |
3196 | 3208 | | |
3197 | 3209 | | |
| 3210 | + | |
| 3211 | + | |
| 3212 | + | |
3198 | 3213 | | |
3199 | 3214 | | |
3200 | 3215 | | |
| |||
3302 | 3317 | | |
3303 | 3318 | | |
3304 | 3319 | | |
| 3320 | + | |
| 3321 | + | |
| 3322 | + | |
3305 | 3323 | | |
3306 | 3324 | | |
3307 | 3325 | | |
| |||
0 commit comments