open-consul/sdk/freeport
Pierre Souchay 6cb2bccca6
Proper detection of ephemeral ports on Mac OS (#7539)
Use systemctl to properly detect ephemeral ports on Mac OS (aka darwin) by fetching
systemctl values:
 * net.inet.ip.portrange.first
 * net.inet.ip.portrange.last

This will avoid the message:

`[INFO] freeport: ephemeral port range detection not configured for GOOS="darwin"`

and properly detect the correct port range
2020-03-30 09:13:03 -04:00
..
ephemeral_darwin.go Proper detection of ephemeral ports on Mac OS (#7539) 2020-03-30 09:13:03 -04:00
ephemeral_darwin_test.go Proper detection of ephemeral ports on Mac OS (#7539) 2020-03-30 09:13:03 -04:00
ephemeral_fallback.go Proper detection of ephemeral ports on Mac OS (#7539) 2020-03-30 09:13:03 -04:00
ephemeral_linux.go change sysctl call to use absolute path 2019-11-15 14:28:13 -08:00
ephemeral_linux_test.go sdk: add freelist tracking and ephemeral port range skipping to freeport 2019-09-17 14:30:43 -05:00
freeport.go connect: check if intermediate cert needs to be renewed. (#6835) 2020-01-17 23:27:13 +01:00
freeport_test.go connect: check if intermediate cert needs to be renewed. (#6835) 2020-01-17 23:27:13 +01:00
systemlimit.go connect: check if intermediate cert needs to be renewed. (#6835) 2020-01-17 23:27:13 +01:00
systemlimit_windows.go connect: check if intermediate cert needs to be renewed. (#6835) 2020-01-17 23:27:13 +01:00