tailscale/net/netstat
Aaron Klotz 296f53524c netstat, portlist: update Windows implementation to disambiguate svchost processes
We change our invocations of GetExtendedTcpTable to request additional
information about the "module" responsible for the port. In addition to pid,
this output also includes sufficient metadata to enable Windows to resolve
process names and disambiguate svchost processes.

We store the OS-specific output in an OSMetadata field in netstat.Entry, which
portlist may then use as necessary to actually resolve the process/module name.

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
2022-12-19 15:38:49 -06:00
..
netstat_noimpl.go netstat, portlist: update Windows implementation to disambiguate svchost processes 2022-12-19 15:38:49 -06:00
netstat_test.go net/netstat: start of new netstat package, with Windows for now 2020-09-10 15:24:49 -07:00
netstat_windows.go netstat, portlist: update Windows implementation to disambiguate svchost processes 2022-12-19 15:38:49 -06:00
netstat.go netstat, portlist: update Windows implementation to disambiguate svchost processes 2022-12-19 15:38:49 -06:00