shadowsocks v0.5.1 Shadowsocks.Protocol View Source

Link to this section Summary

Link to this section Functions

Link to this function init_stream!(sock, encoder) View Source

init encoder socket stream

Link to this function init_stream!(sock, encoder, data) View Source

pack package

Link to this function recv_http_or_socks5(sock) View Source

receive the client request

Link to this function send_target(stream, arg) View Source
Link to this macro skip_localhost(addr) View Source (macro)

skip local lookback addrs, prevent attacks

unpack package