UdpInformation represents the xt_udp iptables match structure. It allows matching UDP packets based on source and/or destination port ranges.
Fields
| Field Name | Description |
|---|---|
sourcePortMin - Int!
|
Source port range minimum value, returned as an unsigned 16-bit integer. |
sourcePortMax - Int!
|
Source port range maximum value, returned as an unsigned 16-bit integer. |
destPortMin - Int!
|
Destination port range minimum value, returned as an unsigned 16-bit integer. |
destPortMax - Int!
|
Destination port range maximum value, returned as an unsigned 16-bit integer. |
invFlags - [XtablesTransportInvFlag!]
|
Inverse flags, to invert the sense of matching. |
Used by
XtablesInfounion: Xtables information union type.
Example
Example
{
"sourcePortMin": 987,
"sourcePortMax": 987,
"destPortMin": 123,
"destPortMax": 123,
"invFlags": ["INV_SRC_PORTS"]
}