feat: nftables logging
This commit is contained in:
parent
54745d09a1
commit
4dbecdcc5b
@ -6,19 +6,21 @@ table inet filter {
|
|||||||
chain input {
|
chain input {
|
||||||
type filter hook input priority filter; policy drop;
|
type filter hook input priority filter; policy drop;
|
||||||
|
|
||||||
ct state invalid counter drop
|
#tcp dport 32768-40960 counter meta nftrace set 1 accept comment "WoW VoiceError:17"
|
||||||
|
|
||||||
iif "lo" counter accept
|
ct state invalid counter drop
|
||||||
ip protocol {icmp,icmpv6} counter accept
|
|
||||||
ct state {established,related} counter accept
|
ct state {established,related} counter accept
|
||||||
|
|
||||||
counter comment "dropped"
|
iif "lo" counter accept
|
||||||
|
ip protocol {icmp,icmpv6} counter accept
|
||||||
|
|
||||||
|
counter meta nftrace set 1 comment "dropped"
|
||||||
}
|
}
|
||||||
|
|
||||||
chain forward {
|
chain forward {
|
||||||
type filter hook forward priority filter; policy drop;
|
type filter hook forward priority filter; policy drop;
|
||||||
|
|
||||||
counter comment "dropped"
|
counter meta nftrace set 1 comment "dropped"
|
||||||
}
|
}
|
||||||
|
|
||||||
chain output {
|
chain output {
|
||||||
|
Loading…
Reference in New Issue
Block a user