You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/wgengine
Avery Pennarun 65fbb9c303 wgengine/filter: support subnet mask rules, not just /32 IPs.
This depends on improved support from the control server, to send the
new subnet width (Bits) fields. If these are missing, we fall back to
assuming their value is /32.

Conversely, if the server sends Bits fields to an older client, it will
interpret them as /32 addresses. Since the only rules we allow are
"accept" rules, this will be narrower or equal to the intended rule, so
older clients will simply reject hosts on the wider subnet (fail
closed).

With this change, the internal filter.Matches format has diverged
from the wire format used by controlclient, so move the wire format
into tailcfg and convert it to filter.Matches in controlclient.

Signed-off-by: Avery Pennarun <apenwarr@tailscale.com>
5 years ago
..
filter wgengine/filter: support subnet mask rules, not just /32 IPs. 5 years ago
magicsock ipn: don't listen on the unspecified address in test 5 years ago
monitor wgengine/monitor: disable monitor on Android 5 years ago
packet wgengine/filter: support subnet mask rules, not just /32 IPs. 5 years ago
winnet Move Linux client & common packages into a public repo. 5 years ago
faketun.go wgengine: properly clean up freebsd routes and interfaces on close 5 years ago
ifconfig_windows.go Update ifconfig_windows.go 5 years ago
router_darwin.go wgengine: define default tunname for each platform 5 years ago
router_darwin_support.go wgengine: make SetRoutesFunc less appealing to use. 5 years ago
router_default.go wgengine: define default tunname for each platform 5 years ago
router_fake.go all: remove unnecessary trailing newlines in format patterns for consistency 5 years ago
router_freebsd.go wgengine: define default tunname for each platform 5 years ago
router_linux.go wgengine: define default tunname for each platform 5 years ago
router_openbsd.go wgengine: define default tunname for each platform 5 years ago
router_windows.go wgengine: unexport some windows funcs 5 years ago
rusage.go Move "logger" package to under types, now that we have it. 5 years ago
rusage_nowindows.go wgengine: flesh out some docs 5 years ago
rusage_windows.go Move Linux client & common packages into a public repo. 5 years ago
userspace.go wgengine/magicsock: prune key.Public-keyed on peer removals 5 years ago
watchdog.go cmd/tailscaled, wgengine, ipn: add /debug/ipn handler with world state 5 years ago
watchdog_test.go wgengine: simplify, change some signatures 5 years ago
wgengine.go wgengine: quiet some engine reconfig logging, make more consistent 5 years ago