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/net
Andrew Dunham 53a5d00fff net/dns: ensure /etc/resolv.conf is world-readable even with a umask
Previously, if we had a umask set (e.g. 0027) that prevented creating a
world-readable file, /etc/resolv.conf would be created without the o+r
bit and thus other users may be unable to resolve DNS.

Since a umask only applies to file creation, chmod the file after
creation and before renaming it to ensure that it has the appropriate
permissions.

Updates #12609

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I2a05d64f4f3a8ee8683a70be17a7da0e70933137
5 months ago
..
art all: use Go 1.22 range-over-int 7 months ago
connstats all: use Go 1.22 range-over-int 7 months ago
dns net/dns: ensure /etc/resolv.conf is world-readable even with a umask 5 months ago
dnscache net/dnscache: use parent context to perform lookup 5 months ago
dnsfallback tsd, ipnlocal, etc: add tsd.System.HealthTracker, start some plumbing 7 months ago
flowtrack net/flowtrack: fix, test String method 5 months ago
ipset net/ipset: skip the loop over Prefixes when there's only one 5 months ago
ktimeout net/ktimeout: add a package to set TCP user timeout 9 months ago
memnet
netaddr
netcheck net/netcheck: fix probeProto.String result for IPv6 probes 5 months ago
neterror
netkernelconf ipn/{ipnlocal,localapi},net/netkernelconf,client/tailscale,cmd/containerboot: optionally enable UDP GRO forwarding for containers (#12410) 5 months ago
netknob
netmon net/netmon: remove spammy log statements (#11953) 6 months ago
netns net/netns: add Windows support for bind-to-interface-by-route 5 months ago
netstat
netutil net/netmon, add: add netmon.State type alias of interfaces.State 7 months ago
packet net/flowtrack: optimize Tuple type for use as map key 5 months ago
ping net/ping: fix ICMP echo code field to 0 1 year ago
portmapper all: use math/rand/v2 more 5 months ago
proxymux all: cleanup unused code, part 1 (#10661) 11 months ago
routetable net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 7 months ago
socks5
sockstats net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 7 months ago
speedtest
stun derp/xdp,cmd/xdpderper: initial skeleton (#12390) 5 months ago
stunserver all: use Go 1.22 range-over-int 7 months ago
tcpinfo all: use Go 1.22 range-over-int 7 months ago
tlsdial tsd, ipnlocal, etc: add tsd.System.HealthTracker, start some plumbing 7 months ago
tsaddr net/ipset, wgengine/filter/filtertype: add split-out packages 5 months ago
tsdial tsnet,wgengine/netstack: add ListenPacket and tests 5 months ago
tshttpproxy all: use Go 1.22 range-over-int 7 months ago
tstun wgengine/filter: support FilterRules matching on srcIP node caps [capver 100] 5 months ago
wsconn