CtTimeoutExpression represents an nftables expression for configuring Connection Tracking (CT) timeouts. It allows overriding default connection tracking timeouts for specific protocols or states.
Fields
| Field Name | Description |
|---|---|
l3Proto - NetfilterProtocol!
|
The Layer 3 protocol to which this timeout policy applies. |
l4Proto - NetfilterProtocol!
|
The Layer 4 protocol to which this timeout policy applies. |
policy - Map!
|
Mapping of conntrack states → timeout values. |
Used by
ChainExpressionunion: A union of all possible nftables chain expression types.
Example
Example
{
"l3Proto": "UNSPECIFIED",
"l4Proto": "UNSPECIFIED",
"policy": "{bar:2,baz:3,foo:1}"
}