package
5.0.0+incompatible
Repository: https://github.com/qwenode/tailscale.git
Documentation: pkg.go.dev
# Functions
MatchesFromFilterRules converts tailcfg FilterRules into Matches.
New creates a new packet filter.
NewAllowAllForTest returns a packet filter that accepts everything.
NewAllowNone returns a packet filter that rejects everything.
NewShieldsUpFilter returns a packet filter that rejects incoming connections.
# Constants
continue processing packet.
do not continue processing packet.
do not continue processing packet, but also don't log.
print packet hexdump when logging accepts.
print packet hexdump when logging drops.
write accepted packet info to logf.
write dropped packet info to logf.
# Structs
CapMatch is a capability grant match predicate.
Filter is a stateful packet filter.
Match matches packets from any IP address in Srcs to any ip:port in Dsts.
NetPortRange combines an IP address prefix and PortRange.
PortRange is a range of TCP and UDP ports.