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/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>
2 years ago
..
netstat.go netstat, portlist: update Windows implementation to disambiguate svchost processes 2 years ago
netstat_noimpl.go netstat, portlist: update Windows implementation to disambiguate svchost processes 2 years ago
netstat_test.go net/netstat: start of new netstat package, with Windows for now 4 years ago
netstat_windows.go netstat, portlist: update Windows implementation to disambiguate svchost processes 2 years ago