Skip to main content

Crate ts_packetfilter_serde

Crate ts_packetfilter_serde 

Source
Expand description

§ts_packetfilter_serde

Serde types relating to packet filters.

Logical extension to ts_control_serde, split out because these types are self-contained.

Structs§

AppRule
A packet filter rule that describes application capabilities between Tailscale-aware peers.
CapGrant
Grants application capabilities for a set of destination IP prefixes in a FilterRule.
DstPort
A range of ports allowed for one or more IPs.
IpProto
An IP protocol number (in 0..=255), or a Tailscale-specific traffic kind (outside the u8 range).
NetworkRule
A network packet filter rule. Permits tailnet peers to access specific IPs and ports.

Enums§

FilterRule
A filter rule delivered in MapResponse::packet_filters.
IpRange
A range of IPs in the various formats in which they might appear.
SrcIp
A traffic source for a FilterRule.

Type Aliases§

Map
A map of named rulesets, typically transmitted in a MapResponse.
Ruleset
A set of packet filtering rules that is named by a specific key.