package
1.79.0-mod
Repository: https://github.com/sagernet/tailscale.git
Documentation: pkg.go.dev

# Packages

Package filtertype defines the types used by wgengine/filter.

# 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

Filter is a stateful packet filter.

# Type aliases

No description provided by the author
CapTestFunc is the function signature of a function that tests whether srcIP has a given capability.
No description provided by the author
No description provided by the author
No description provided by the author
Response is a verdict from the packet filter.
RunFlags controls the filter's debug log verbosity at runtime.