296f53524c
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> |
||
---|---|---|
.. | ||
clean.go | ||
clean_test.go | ||
netstat.go | ||
netstat_test.go | ||
poller.go | ||
portlist.go | ||
portlist_linux.go | ||
portlist_linux_test.go | ||
portlist_macos.go | ||
portlist_test.go | ||
portlist_windows.go |