tailscale/portlist
Brad Fitzpatrick 21ef7e5c35 portlist: add macOS osImpl, finish migration to new style
Previously:

* 036f70b7b4 for linux
* 35bee36549 for windows

This does macOS.

And removes all the compat code for the old style. (e.g. iOS, js are
no longer mentioned; all platforms without implementations just
default to not doing anything)

One possible regression is that platforms without explicit
implementations previously tried to do the "netstat -na" style to get
open ports (but not process names). Maybe that worked on FreeBSD and
OpenBSD previously, but nobody ever really tested it. And it was kinda
useless without associated process names. So better off removing those
for now until they get a good implementation.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-11-04 10:58:23 -07:00
..
clean_test.go portlist: normalise space delimited process names (#5634) 2022-09-15 12:17:31 +02:00
clean.go portlist: normalise space delimited process names (#5634) 2022-09-15 12:17:31 +02:00
netstat_test.go portlist: add macOS osImpl, finish migration to new style 2022-11-04 10:58:23 -07:00
netstat.go portlist: add macOS osImpl, finish migration to new style 2022-11-04 10:58:23 -07:00
poller.go portlist: add macOS osImpl, finish migration to new style 2022-11-04 10:58:23 -07:00
portlist_linux_test.go portlist: refactor, introduce OS-specific types 2022-10-23 20:29:23 -07:00
portlist_linux.go portlist: add macOS osImpl, finish migration to new style 2022-11-04 10:58:23 -07:00
portlist_macos.go portlist: add macOS osImpl, finish migration to new style 2022-11-04 10:58:23 -07:00
portlist_test.go portlist: add a test that verifies changes are picked up over time 2022-10-23 22:02:22 -07:00
portlist_windows.go portlist: add macOS osImpl, finish migration to new style 2022-11-04 10:58:23 -07:00
portlist.go portlist: refactor, introduce OS-specific types 2022-10-23 20:29:23 -07:00