Addresses #964
Still to be done:
- Figure out the correct logging lines in util/systemd
- Figure out if we need to slip the systemd.Status function anywhere
else
- Log util/systemd errors? (most of the errors are of the "you cannot do
anything about this, but it might be a bad idea to crash the program if
it errors" kind)
Assistance in getting this over the finish line would help a lot.
Signed-off-by: Christine Dodrill <[email protected]>
util/systemd: rename the nonlinux file to appease the magic
Signed-off-by: Christine Dodrill <[email protected]>
util/systemd: fix package name
Signed-off-by: Christine Dodrill <[email protected]>
util/systemd: fix review feedback from @mdlayher
Signed-off-by: Christine Dodrill <[email protected]>
cmd/tailscale{,d}: update depaware manifests
Signed-off-by: Christine Dodrill <[email protected]>
util/systemd: use sync.Once instead of func init
Signed-off-by: Christine Dodrill <[email protected]>
control/controlclient: minor review feedback fixes
Signed-off-by: Christine Dodrill <[email protected]>
{control,ipn,systemd}: fix review feedback
Signed-off-by: Christine Dodrill <[email protected]>
review feedback fixes
Signed-off-by: Christine Dodrill <[email protected]>
ipn: fix sprintf call
Signed-off-by: Christine Dodrill <[email protected]>
ipn: make staticcheck less sad
Signed-off-by: Christine Dodrill <[email protected]>
ipn: print IP address in connected status
Signed-off-by: Christine Dodrill <[email protected]>
ipn: review feedback
Signed-off-by: Christine Dodrill <[email protected]>
final fixups
Signed-off-by: Christine Dodrill <[email protected]>
Use golang.zx2c4.com/wireguard/windows/tunnel/winipcfg
instead of github.com/tailscale/winipcfg-go package.
Updates #760
Signed-off-by: Alex Brainman <[email protected]>
This change is to restore /etc/resolv.conf after tailscale down is called. This is done by setting the dns.Manager before errors occur. Error collection is also added.
Fixes#723
I had to use
go get -u github.com/tailscale/depaware@e09ee10c18249e4bf198e66bbd47babcd502637a
to force it to the correct version; it kept selecting head~1.
Maybe because the branch is called main instead of master?
Maybe because of some delay?
This change adds to tsdns the ability to delegate lookups to upstream nameservers.
This is crucial for setting Magic DNS as the system resolver.
Signed-off-by: Dmytro Shynkevych <[email protected]>
It's just a config wrapper that passes "use less memory at the
expense of compression" parameters by default, so that we don't
accidentally construct resource-hungry (de)compressors.
Also includes a benchmark that measures the memory cost of the
small variants vs. the stock variants. The savings are significant
on both compressors (~8x less memory) and decompressors (~1.4x less,
not including the savings from the significantly smaller
window on the compression side - with those savings included it's
more like ~140x smaller).
BenchmarkSmallEncoder-8 56174 19354 ns/op 31 B/op 0 allocs/op
BenchmarkSmallEncoderWithBuild-8 2900 382940 ns/op 1746547 B/op 36 allocs/op
BenchmarkStockEncoder-8 48921 25761 ns/op 286 B/op 0 allocs/op
BenchmarkStockEncoderWithBuild-8 426 2630241 ns/op 13843842 B/op 124 allocs/op
BenchmarkSmallDecoder-8 123814 9344 ns/op 0 B/op 0 allocs/op
BenchmarkSmallDecoderWithBuild-8 41547 27455 ns/op 27694 B/op 31 allocs/op
BenchmarkStockDecoder-8 129832 9417 ns/op 1 B/op 0 allocs/op
BenchmarkStockDecoderWithBuild-8 25561 51751 ns/op 39607 B/op 92 allocs/op
Signed-off-by: David Anderson <[email protected]>
Ping messages now go out somewhat regularly, pong replies are sent,
and pong replies are now partially handled enough to upgrade off DERP
to LAN.
CallMeMaybe packets are sent & received over DERP, but aren't yet
handled. That's next (and regular maintenance timers), and then WAN
should work.
Updates #483