constellation/cli/cmd/constants.go

18 lines
596 B
Go
Raw Normal View History

package cmd
2022-03-31 14:40:59 +00:00
const (
// wireguardAdminMTU is the MTU designated for the admin's WireGuard interface.
//
// WireGuard doesn't support Path MTU Discovery. Thus, its default MTU can be too high on some networks.
wireguardAdminMTU = 1300
2022-03-31 14:40:59 +00:00
// masterSecretLengthDefault is the default length in bytes for CLI generated master secrets.
masterSecretLengthDefault = 32
2022-03-31 14:40:59 +00:00
// masterSecretLengthMin is the minimal length in bytes for user provided master secrets.
masterSecretLengthMin = 16
2022-03-31 14:40:59 +00:00
// constellationNameLength is the maximum length of a Constellation's name.
constellationNameLength = 37
)