Module shadowsocks::relay::tcprelay
[−]
[src]
Relay for TCP implementation
Modules
client |
TCP relay client implementation |
local |
Relay for TCP server that running on local environment |
server |
Relay for TCP server that running on the server side |
Enums
DecryptedHalf |
|
EncryptedHalf |
|
IgnoreUntilEnd |
Read until EOF, and ignore |
TunnelDirection |
Directions in the tunnel |
Traits
DecryptedRead |
Reader to read data from ShadowSocks protocol |
EncryptedWrite |
Writer that encrypt data and write it as ShadowSocks protocol |
Functions
ignore_until_end |
Ignore all data from the reader |
proxy_handshake |
ShadowSocks Client-Server handshake protocol Exchange cipher IV and creates stream wrapper |
proxy_server_handshake |
Handshake logic for ShadowSocks Client |
tunnel |
Establish tunnel between server and client |
Type Definitions
DecryptedHalfFut |
Boxed future of |
EncryptedHalfFut |
Boxed future of |