Duplicate a packet to another address or device for mirroring or traffic analysis.
Fields
| Field Name | Description |
|---|---|
regAddr - NftRegister!
|
Register holding the destination address for the duplicate packet. |
regDev - NftRegister!
|
Register holding the output device/interface for the duplicate packet. |
isRegDevSet - Boolean!
|
Whether the RegDev field is set (true) or unused (false). |
Used by
ChainExpressionunion: A union of all possible nftables chain expression types.
Example
Example
{"regAddr": "VERDICT", "regDev": "VERDICT", "isRegDevSet": true}