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/cmd
Aaron Klotz 47019ce1f1 cmd/tailscaled: pre-load wintun.dll using a fully-qualified path
In corp PR #14970 I updated the installer to set a security mitigation that
always forces system32 to the front of the Windows dynamic linker's search
path.

Unfortunately there are other products out there that, partying like it's
1995, drop their own, older version of wintun.dll into system32. Since we
look there first, we end up loading that old version.

We can fix this by preloading wintun using a fully-qualified path. When
wintun-go then loads wintun, the dynamic linker will hand it the module
that was previously loaded by us.

Fixes #10023, #10025, #10052

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
2 years ago
..
addlicense all: update tools that manage copyright headers 3 years ago
cloner cmd/cloner: fix typo in test type's name 2 years ago
containerboot cmd/containerboot: revert to using tailscale up 2 years ago
derper derp/derphttp: fix race in mesh watcher 2 years ago
derpprobe prober: migrate to Prometheus metric library 3 years ago
dist cmd/dist,release/dist: add distsign signing hooks (#9070) 2 years ago
get-authkey all: use cmpx.Or where it made sense 3 years ago
gitops-pusher .github,cmd/gitops-pusher: update to checkout@v4 2 years ago
hello all: update copyright and license headers 3 years ago
k8s-operator cmd/k8s-operator: set different app type for operator with proxy (#10081) 2 years ago
mkmanifest cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 3 years ago
mkpkg go.mod: upgrade nfpm to v2 (#8786) 2 years ago
mkversion version/mkversion: open-source version generation logic 3 years ago
nardump all: update copyright and license headers 3 years ago
netlogfmt go.mod: update github.com/go-json-experiment/json (#9508) 2 years ago
nginx-auth tailcfg,all: add and use Node.IsTagged() 3 years ago
pgproxy various: add golangci-lint, fix issues (#7905) 3 years ago
printdep cmd/printdep: print correct toolchain URL 3 years ago
proxy-to-grafana tailcfg,all: add and use Node.IsTagged() 3 years ago
sniproxy cmd/sniproxy: implement support for control configuration, multiple addresses 2 years ago
speedtest all: update copyright and license headers 3 years ago
ssh-auth-none-demo all: replace deprecated ioutil references 2 years ago
stunc all: update copyright and license headers 3 years ago
sync-containers all: adjust some build tags for plan9 2 years ago
tailscale ipn: introduce app connector advertisement preference and flags 2 years ago
tailscaled cmd/tailscaled: pre-load wintun.dll using a fully-qualified path 2 years ago
testcontrol all: update copyright and license headers 3 years ago
testwrapper tstest, tstest/integration, github/workflows: shard integration tests 2 years ago
tsconnect cmd/tsconnect/wasm: add missing tstun.Wrapper.Start call 2 years ago
tsshd all: update copyright and license headers 3 years ago
viewer cmd/cloner: add regression test for slice nil/empty semantics 2 years ago