Modules§
Structs§
- Agent
TcpConnection NewState - Agent
TcpConnection Tunnel CtlState - Crypto
Length Delimited Framed - Framed
Connection - Handshake
Request - 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.
- Handshake
Response - The handshake response, exchange the proxy side encryption to agent
- Heartbeat
Request - Heartbeat
Response - Proxy
TcpConnection Info - Proxy
TcpConnection NewState - Proxy
TcpConnection Pool - The connection pool for proxy connection.
- Proxy
TcpConnection Tunnel CtlState - Tunnel
Init Request - The tcp destination initialize message used to initialize the destination
Enums§
- Encryption
- The encryption in Handshake message used to switch the encryption key
- Protocol
Error - Tunnel
Control Request - Tunnel
Control Response - Tunnel
Init Failure Reason - The failure reason for destination init
- Tunnel
Init Response - The tcp destination initialize message used to initialize the destination
- Unified
Address - 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