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
Aaron Klotz 3511d1f8a2 cmd/tailscaled, net/dns, wgengine/router: start Windows child processes with DETACHED_PROCESS when I/O is being piped
When we're starting child processes on Windows that are CLI programs that
don't need to output to a console, we should pass in DETACHED_PROCESS as a
CreationFlag on SysProcAttr. This prevents the OS from even creating a console
for the child (and paying the associated time/space penalty for new conhost
processes). This is more efficient than letting the OS create the console
window and then subsequently trying to hide it, which we were doing at a few
callsites.

Fixes #12270

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
3 weeks 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 cmd/tailscaled, net/dns, wgengine/router: start Windows child processes with DETACHED_PROCESS when I/O is being piped 3 weeks ago
dnscache net/netns, net/dns/resolver, etc: make netmon required in most places 2 months ago
dnsfallback tsd, ipnlocal, etc: add tsd.System.HealthTracker, start some plumbing 2 months ago
flowtrack all: update copyright and license headers 1 year 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/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 2 months 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 all: use Go 1.22 range-over-int 3 months 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) 6 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 all: make more tests pass/skip in airplane mode 2 months 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 types/views: remove duplicate SliceContainsFunc 2 months ago
tsdial tsnet,wgengine/netstack: add ListenPacket and tests 4 weeks ago
tshttpproxy all: use Go 1.22 range-over-int 3 months ago
tstun net/tstun: do SNAT after filterPacketOutboundToWireGuard 2 months ago
wsconn net/wsconn: accept a remote addr string and plumb it through 10 months ago