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/ipn
Brad Fitzpatrick 69f4b4595a wgengine{,/wgint}: add wgint.Peer wrapper type, add to wgengine.Engine
This adds a method to wgengine.Engine and plumbed down into magicsock
to add a way to get a type-safe Tailscale-safe wrapper around a
wireguard-go device.Peer that only exposes methods that are safe for
Tailscale to use internally.

It also removes HandshakeAttempts from PeerStatusLite that was just
added as it wasn't needed yet and is now accessible ala cart as needed
from the Peer type accessor.

None of this is used yet.

Updates #7617

Change-Id: I07be0c4e6679883e6eeddf8dbed7394c9e79c5f4
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
..
conffile ipn/{conffile,ipnlocal}: start booting tailscaled from a config file w/ auth key 2 years ago
ipnauth go.mod, all: move away from inet.af domain seized by Taliban 2 years ago
ipnlocal health: warn about reverse path filtering and exit nodes 2 years ago
ipnserver ipn/ipnserver: always allow Windows SYSTEM user to connect 2 years ago
ipnstate wgengine{,/wgint}: add wgint.Peer wrapper type, add to wgengine.Engine 2 years ago
localapi tailfs: clean up naming and package structure 2 years ago
policy ipn,tailconfig: clean up unreleased and removed app connector service 2 years ago
store cmd/k8s-operator,ipn/store/kubestore: patch secrets instead of updating 2 years ago
backend.go tailfs: clean up naming and package structure 2 years ago
conf.go ipn,cmd/tailscale/cli: support hierarchical MaskedPrefs (#10507) 2 years ago
doc.go all: update copyright and license headers 3 years ago
fake_test.go all: update copyright and license headers 3 years ago
ipn_clone.go linuxfw,wgengine/route,ipn: add c2n and nodeattrs to control linux netfilter 2 years ago
ipn_test.go net/packet: split off checksum munging into different pkg 2 years ago
ipn_view.go linuxfw,wgengine/route,ipn: add c2n and nodeattrs to control linux netfilter 2 years ago
prefs.go ipn: apply ControlURL policy before login 2 years ago
prefs_test.go all: use reflect.TypeFor now available in Go 1.22 (#11078) 2 years ago
serve.go ipn/localapi: require local Windows admin to set serve path (#9969) 2 years ago
serve_test.go ipn/localapi: require local Windows admin to set serve path (#9969) 2 years ago
store.go taildrop: lazily perform full deletion scan after first taildrop use (#10137) 2 years ago
store_test.go ipn: avoid useless no-op WriteState calls 2 years ago