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
1 week ago
..
art all: use Go 1.22 range-over-int 3 months ago
connstats all: use Go 1.22 range-over-int 3 months ago
dns net/dns: ensure /etc/resolv.conf is world-readable even with a umask 1 week ago
dnscache net/dnscache: use parent context to perform lookup 3 weeks ago
dnsfallback tsd, ipnlocal, etc: add tsd.System.HealthTracker, start some plumbing 2 months ago
flowtrack net/flowtrack: fix, test String method 2 weeks ago
ipset net/ipset: skip the loop over Prefixes when there's only one 2 weeks ago
ktimeout net/ktimeout: add a package to set TCP user timeout 4 months ago
memnet net/memnet: export the network name (#9111) 10 months ago
netaddr all: update copyright and license headers 1 year ago
netcheck net/netcheck: fix probeProto.String result for IPv6 probes 4 weeks ago
neterror net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 1 year ago
netkernelconf ipn/{ipnlocal,localapi},net/netkernelconf,client/tailscale,cmd/containerboot: optionally enable UDP GRO forwarding for containers (#12410) 3 weeks ago
netknob all: update copyright and license headers 1 year ago
netmon net/netmon: remove spammy log statements (#11953) 2 months ago
netns net/netns: add Windows support for bind-to-interface-by-route 1 week ago
netstat net/{netns,netstat}: use new x/sys/cpu.IsBigEndian 1 year ago
netutil net/netmon, add: add netmon.State type alias of interfaces.State 2 months ago
packet net/flowtrack: optimize Tuple type for use as map key 2 weeks ago
ping net/ping: fix ICMP echo code field to 0 10 months ago
portmapper all: use math/rand/v2 more 4 weeks ago
proxymux all: cleanup unused code, part 1 (#10661) 7 months ago
routetable net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 2 months ago
socks5 net/socks5: add password auth support 1 year ago
sockstats net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 2 months ago
speedtest all: update copyright and license headers 1 year ago
stun derp/xdp,cmd/xdpderper: initial skeleton (#12390) 3 weeks ago
stunserver all: use Go 1.22 range-over-int 3 months ago
tcpinfo all: use Go 1.22 range-over-int 3 months ago
tlsdial tsd, ipnlocal, etc: add tsd.System.HealthTracker, start some plumbing 2 months ago
tsaddr net/ipset, wgengine/filter/filtertype: add split-out packages 2 weeks ago
tsdial tsnet,wgengine/netstack: add ListenPacket and tests 1 month ago
tshttpproxy all: use Go 1.22 range-over-int 3 months ago
tstun wgengine/filter: support FilterRules matching on srcIP node caps [capver 100] 2 weeks ago
wsconn net/wsconn: accept a remote addr string and plumb it through 10 months ago