opts

package
v0.0.0-...-2e0ef96 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeySize                                      = 4096
	MinAuthQuestionSize                          = 256
	TLSMinVersion                                = tls.VersionTLS13
	NetMaxMsgSize                         uint64 = 1024 * 1024 * 1024
	NetTimeout                                   = 5 * time.Second
	NoopNoticePeriod                             = NetTimeout
	NoMsgThresholdTime                           = 12 * NoopNoticePeriod
	BCryptPasswdHashCost                         = 12
	SHA512PasswdHashRounds                       = 10000
	AccessReqListLimit                           = 50
	UIPageSize                                   = 3
	DelayBeforeSendErrorReplyInUnAuthConn        = 2 * NetTimeout
	CPUUtilizationFactor                         = 0.25
	ReconnectPause                               = 2 * time.Second
	UpdateNodesCachePeriod                       = 1800 * time.Second
	UpdateUsersListPeriod                        = 1800 * time.Second
	UsersSetupPeriod                             = 1800 * time.Second
	DataEventChanCapacity                        = 1024
	DataEventLifeTime                            = 60 * time.Second
	SessionCloserPeriod                          = 1 * time.Second
	CommandTimeout                               = 5 * time.Second
	UsersGroup                                   = "esam"
	SSHDirName                                   = ".ssh"
	SSHDirMode                                   = os.ModeDir | 0700
	AuthorizedKeysFileName                       = "authorized_keys"
	AuthorizedKeysFileMode                       = 0600
	UserShell                                    = "/bin/bash"
)

Variables

View Source
var (
	ElevatePrivilegesGroups = []string{"sudo", "adm", "wheel"}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL