Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSRClientStreamCipher ¶
SSRClientStreamCipher shadowsocks StreamCipher wrapper key
func NewSSRClientStreamCipher ¶
func NewSSRClientStreamCipher(ciph cipher.StreamCipher, addr string, protocolName, protocolParam, obfsName, obfsParam string) (*SSRClientStreamCipher, error)
type ShadowsocksR ¶
type ShadowsocksR struct { Cipher *SSRClientStreamCipher SSTcp transport.TcpConnBound SSUdp transport.UdpConnBound Obfs obfs.Obfs Protocol protocol.Protocol }
func (*ShadowsocksR) PacketConn ¶
func (ssr *ShadowsocksR) PacketConn(c net.PacketConn) net.PacketConn
PacketConn the UDP relay in shadowsocksr only support stream cipher and can not use Obfs
func (*ShadowsocksR) StreamConn ¶
func (ssr *ShadowsocksR) StreamConn(c net.Conn) net.Conn
Click to show internal directories.
Click to hide internal directories.