Documentation
¶
Overview ¶
Package config contains the hard-coded configuration values of the system.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var AppParentId = []byte(nil)
Use in case of federated applications.
var BootBeatsBuffer = 32
Number of heartbeats to queue before blocking.
var BootFastProbe = 250
Probing interval during bootstrapping in startup mode (ms).
var BootPorts = []int{14142, 27182, 31415, 45654, 22222, 33333}
Bootstrapping ports to use.
var BootScan = 100
Scanning interval during bootstrapping (ms).
var BootSlowProbe = 1000
Probing interval during bootstrapping in maintenance mode (ms).
var HkdfHash = crypto.MD5
Hash type for the HMAC within HKDF.
var HkdfInfo = []byte("iris.proto.session.hkdf.info")
Info value for the HKDF key expansion.
var HkdfSalt = []byte("iris.proto.session.hkdf.salt")
Salt value for the HKDF key extraction.
var IrisClusterSplits = 5
Number of sub-clusters an app cluster or topic is split into.
var IrisHandlerThreads = 16
Maximum number of handlers allowed concurrently per Iris application.
var IrisTunnelAcceptTimeout = time.Second
Maximum time to queue an established tunnel stream before dropping it.
var IrisTunnelBuffer = 256
Send and receive window for tunnel ordering and throttling.
var IrisTunnelInitTimeout = time.Second
Maximum time to wait for a client init packet.
var PacketCipher = aes.NewCipher
Symmetric cipher for the temporary message encryption.
var PacketCipherBits = 128
Key size for the temporary cipher (bits).
var PastryAcceptTimeout = time.Second
Maximum time to queue an authenticated session connection before dropping it.
var PastryAuthThreads = 8
Maximum number of authentications allowed concurrently (per half duplex).
var PastryBase = 4
Number of matching bits for the next hop.
var PastryBeatPeriod = 3 * time.Second
Heartbeat period to ensure connections are alive and tear down unused ones.
var PastryBootTimeout = 10 * time.Second
Time after booting to consider the overlay a single node in the network.
var PastryConvTimeout = 3 * time.Second
Idle time after which to consider the overlay converged.
var PastryExchThreads = 128
Maximum number of state exchanges allowed concurrently.
var PastryInitTimeout = 5 * time.Second
Time to wait after session setup for the init packet.
var PastryKillCount = 3
Number of missed heartbeats after which to consider a node down.
var PastryLeaves = 8
Number of closest nodes to track in the virtual network.
var PastryNetBuffer = 64
Messages to buffer to and from the network.
var PastryResolver = md5.New
Hash for mapping external ids into the overlay id space.
var PastrySendTimeout = 3 * time.Second
Time limit for sending a message before the connection is dropped.
var PastrySpace = 40
Virtual address space (bits).
var ProtocolVersion = "v0.3"
Protocol version to ensure compatible connections.
var RelayHandlerThreads = 8
Maximum number of handlers allowed concurrently per relay connection.
var RelayTunnelBuffer = 4 * 1024 * 1024
Size of the input buffer to use on inbound messages.
var RelayTunnelChunkLimit = 65536
Maximum permitted size for a message chunk.
var RelayTunnelPoll = time.Second
Block time when trying a tunnel read.
var RelayTunnelTimeout = 3 * time.Second
Time alloted to a client to acknowledge a tunnel.
var ScribeAppBuffer = 128
Number of messages to buffer for application delivery before dropping.
var ScribeBeatPeriod = time.Second
Heartbeat period to distribute current CPU load and also check liveliness (ms).
var ScribeKillCount = 3
Number of missed heartbeats after which to consider a node down.
var ScribeSpace = 32
Application identifier space (bits).
var SessionAcceptTimeout = time.Second
Maximum allowed time to handle a session connection.
var SessionCipher = aes.NewCipher
Symmetric cipher to use for session encryption.
var SessionCipherBits = 128
Key size for the session symmetric cipher (bits).
var SessionDialTimeout = time.Second
Maximum allowed time to complete a session connection.
var SessionGraceTimeout = 3 * time.Second
Time allowance to gracefully terminate a session link.
var SessionHash = md5.New
Hash creator for the session HMAC.
var SessionLinkTimeout = time.Second
Maximum allowed time to complete the session data channel setup.
var SessionShakeTimeout = 3 * time.Second
Maximum allowed time to complete the session control channel setup.
var StsCipher = aes.NewCipher
Symmetric cipher to use for the STS encryption.
var StsCipherBits = 128
Key size for the symmetric cipher (bits).
var StsGenerator = new(big.Int).SetBytes([]byte{
0x9b, 0xe1, 0x3f, 0x9c, 0xb0, 0x3a, 0x34, 0x18,
0x50, 0x1d, 0xdf, 0xe2, 0xdf, 0x25, 0x4b, 0x13,
0x6a, 0x1a, 0x0e, 0xf9, 0xbd, 0x2b, 0x1a, 0x06,
0x54, 0xd3, 0x2d, 0x86, 0x41, 0xb7, 0x66, 0xca,
0x8c, 0x76, 0x43, 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0xaf, 0x4f, 0x82,
0x3b, 0x22, 0x93, 0xd8, 0x52, 0xba, 0x37, 0x9e,
0xf3, 0x6a, 0x7d, 0xa2, 0x67, 0x61, 0x9a, 0xb8,
0xcc, 0xd5, 0xf6, 0x23, 0xeb, 0x08, 0x87, 0x12,
0xf3, 0x88, 0xaa, 0x38, 0xaf, 0xcc, 0x03, 0xf2,
0xe5, 0xf8, 0x5c, 0x52, 0xc4, 0x08, 0x49, 0xd2,
0xcf, 0x75, 0x58, 0xe3, 0xf4, 0x00, 0x99, 0x89,
0x75, 0x87, 0x1a, 0x9f, 0x7b, 0x60, 0x9e, 0x39,
0xb4, 0x89, 0xf5, 0xdf, 0x39, 0x49, 0xa8, 0xf3,
0x41, 0x95, 0x8e, 0x67, 0x19, 0x78, 0x34, 0x50,
0x9d, 0x1e, 0x52, 0xd5, 0x31, 0x6a, 0x3d, 0xf0,
0xaa, 0xa0,
})
Cyclic group generator for the STS cryptography (2448 bits).
var StsGroup = new(big.Int).SetBytes([]byte{
0xed, 0xeb, 0xe6, 0x33, 0xb2, 0x8e, 0xa8, 0xb0,
0x69, 0x57, 0xa1, 0x69, 0xd6, 0x9a, 0x5e, 0x09,
0x80, 0xd4, 0x91, 0x78, 0xfe, 0xdf, 0x9c, 0x5e,
0xc6, 0xfa, 0x7d, 0xd9, 0x37, 0xc3, 0x26, 0xe9,
0xe2, 0xe0, 0xe5, 0x50, 0x11, 0xe4, 0x23, 0xa9,
0x5e, 0x33, 0x4d, 0x43, 0x2d, 0x4f, 0x08, 0x10,
0xb4, 0xc6, 0xc5, 0x59, 0x42, 0xb3, 0x26, 0x72,
0x6e, 0xe8, 0xac, 0xce, 0xfb, 0xdc, 0xcd, 0x79,
0x5f, 0x75, 0xa1, 0x14, 0x38, 0x25, 0x6a, 0x70,
0xf9, 0x86, 0xf6, 0x79, 0x9f, 0x60, 0xc7, 0xee,
0xc2, 0x56, 0x15, 0xd0, 0xf2, 0x95, 0x18, 0xdb,
0xf1, 0x90, 0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d3, 0x6b, 0xd2, 0xfd, 0xd5, 0xd9,
0xa2, 0x1d, 0xda, 0xf1, 0xc7, 0x11, 0x2c, 0xe6,
0xc9, 0x9f, 0x1d, 0x7d, 0x62, 0x94, 0x62, 0x43,
0x86, 0x9b, 0x7c, 0x2e, 0x77, 0x83, 0x81, 0xb7,
0xeb, 0x33,
})
Cyclic group for the STS cryptography (2448 bits).
var StsSigHash = crypto.MD5
Hash type for the RSA signature/verification.
Functions ¶
This section is empty.
Types ¶
This section is empty.