Crate ppaass_v3_common

Crate ppaass_v3_common 

Source

Modules§

config
crypto
error
event
server
user

Structs§

AgentTcpConnectionNewState
AgentTcpConnectionTunnelCtlState
CryptoLengthDelimitedFramed
FramedConnection
HandshakeRequest
The handshake message between agent and proxy. When the tcp connection created between agent and proxy, the handshake will happen as the first message used to communicate the authentication information and exchange the encryption key.
HandshakeResponse
The handshake response, exchange the proxy side encryption to agent
HeartbeatRequest
HeartbeatResponse
ProxyTcpConnectionInfo
ProxyTcpConnectionNewState
ProxyTcpConnectionPool
The connection pool for proxy connection.
ProxyTcpConnectionTunnelCtlState
TunnelInitRequest
The tcp destination initialize message used to initialize the destination

Enums§

Encryption
The encryption in Handshake message used to switch the encryption key
ProtocolError
TunnelControlRequest
TunnelControlResponse
TunnelInitFailureReason
The failure reason for destination init
TunnelInitResponse
The tcp destination initialize message used to initialize the destination
UnifiedAddress
The unified address which can support both IP V4, IP V6 and Domain

Functions§

generate_uuid
Generate a random UUID
init_logger
Init the logger
parse_to_socket_addresses
publish_server_log_event
random_generate_encryption
Randomly generate a raw encryption
rsa_decrypt_encryption
rsa_encrypt_encryption