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.
Click to show internal directories.
Click to hide internal directories.