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/portlist
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
..
clean.go portlist: normalise space delimited process names (#5634) 2 years ago
clean_test.go portlist: normalise space delimited process names (#5634) 2 years ago
netstat.go portlist: add macOS osImpl, finish migration to new style 2 years ago
netstat_test.go portlist: add macOS osImpl, finish migration to new style 2 years ago
poller.go portlist: fix data race 2 years ago
portlist.go portlist: refactor, introduce OS-specific types 2 years ago
portlist_linux.go util/dirwalk, metrics, portlist: add new package for fast directory walking 2 years ago
portlist_linux_test.go util/dirwalk, metrics, portlist: add new package for fast directory walking 2 years ago
portlist_macos.go portlist: wait for lsof cmd to exit 2 years ago
portlist_test.go portlist: fix data race 2 years ago
portlist_windows.go netstat, portlist: update Windows implementation to disambiguate svchost processes 2 years ago