You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Aaron Klotz
d818a58a77
net/dns: ensure the Windows configurator does not touch the hosts file unless the configuration actually changed
...
We build up maps of both the existing MagicDNS configuration in hosts
and the desired MagicDNS configuration, compare the two, and only
write out a new one if there are changes. The comparison doesn't need
to be perfect, as the occasional false-positive is fine, but this
should greatly reduce rewrites of the hosts file.
I also changed the hosts updating code to remove the CRLF/LF conversion
stuff, and use Fprintf instead of Frintln to let us write those inline.
Updates #14428
Signed-off-by: Aaron Klotz <aaron@tailscale.com>
1 year ago
..
art
all: fix new lint warnings from bumping staticcheck
2 years ago
captivedetection
net/captivedetection: replace 10k log lines with ... less
1 year ago
connstats
{net/connstats,wgengine/magicsock}: fix packet counting in connstats
2 years ago
dns
net/dns: ensure the Windows configurator does not touch the hosts file unless the configuration actually changed
1 year ago
dnscache
net/dnscache: don't fall back to an IPv6 dial if we don't have IPv6
2 years ago
dnsfallback
{control,net}: close idle connections of custom transports
2 years ago
flowtrack
net/flowtrack: fix, test String method
2 years ago
ipset
all: use iterators over slice views more
1 year ago
ktimeout
net/ktimeout: add a package to set TCP user timeout
2 years ago
memnet
net/memnet: export the network name ( #9111 )
3 years ago
netaddr
all: update copyright and license headers
3 years ago
netcheck
net/netcheck: adjust HTTPS latency check to connection time and avoid data race
1 year ago
neterror
net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux ( #7791 )
3 years ago
netkernelconf
ipn/{ipnlocal,localapi},net/netkernelconf,client/tailscale,cmd/containerboot: optionally enable UDP GRO forwarding for containers ( #12410 )
2 years ago
netknob
all: update copyright and license headers
3 years ago
netmon
net/netmon: remove extra panic guard around ParseRIB
1 year ago
netns
net/netns: remove some logspam by avoiding logging parse errors due to unspecified addresses
2 years ago
netstat
all: add test for package comments, fix, add comments as needed
2 years ago
netutil
all: illumos/solaris userspace only support
1 year ago
packet
wgengine/magicsock: actually use AF_PACKET socket for raw disco
2 years ago
ping
net/ping: fix ICMP echo code field to 0
3 years ago
portmapper
net/portmapper: don't treat 0.0.0.0 as a valid IP
2 years ago
proxymux
all: cleanup unused code, part 1 ( #10661 )
2 years ago
routetable
net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon
2 years ago
socks5
net/socks5: optimize UDP relay
1 year ago
sockstats
net/sockstats: prevent crash in setNetMon ( #13985 )
1 year ago
speedtest
all: update copyright and license headers
3 years ago
stun
ci: enable checklocks workflow for specific packages
2 years ago
stunserver
all: use Go 1.22 range-over-int
2 years ago
tcpinfo
all: use Go 1.22 range-over-int
2 years ago
tlsdial
Switch logging service from log.tailscale.io to log.tailscale.com ( #14398 )
1 year ago
tsaddr
net/tsaddr: include test input in test failure output
1 year ago
tsdial
all: use iterators over slice views more
1 year ago
tshttpproxy
all: fix golangci-lint errors
1 year ago
tstun
all: illumos/solaris userspace only support
1 year ago
wsconn
go.{mod,sum}: migrate from nhooyr.io/websocket to github.com/coder/websocket
2 years ago