Endpoint configuration · GraphQL type

AddrTypeInformation type

AddrType represents the xt_addrtype_info (revision 0) iptables match. It allows matching packets based on the type of their source and/or destination IP addresses, with separate boolean flags for inversion.

Fields

Field Name Description
source - XtAddrType! A list of IP address types that the source IP address must match. The packet matches if the source IP is ANY of the listed types, subject to the invertSource flag.
dest - XtAddrType! A list of IP address types that the destination IP address must match. The packet matches if the destination IP is ANY of the listed types, subject to the invertDest flag.
invertSource - Boolean! If true, the match for source address types is inverted (match if source is NOT any of the listed types).
invertDest - Boolean! If true, the match for destination address types is inverted (match if dest is NOT any of the listed types).

Used by

Example

Example

{
  "source": "UNSPECIFIED",
  "dest": "UNSPECIFIED",
  "invertSource": true,
  "invertDest": true
}