Documentation ¶
Index ¶
- type S5Config
- func (c *S5Config) ConnectionFallback(src, proxiedConn net.Conn) error
- func (c *S5Config) HandleS5Request(conn net.Conn) (net.Conn, error)
- func (c *S5Config) Handshake(conn net.Conn) (net.Conn, error)
- func (c *S5Config) HijackSource(src, proxiedConn net.Conn) (net.Conn, net.Conn, bool, error)
- func (h *S5Config) IsHijackMode() bool
- func (c *S5Config) IsSocks5HandleShake(conn net.Conn) (net.Conn, bool, error)
- func (c *S5Config) ServeConn(conn net.Conn) error
- func (h *S5Config) TLSConfigFromSNI(i string) *tls.Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S5Config ¶
type S5Config struct { HandshakeTimeout time.Duration HijackMode bool SkipHttp2 bool MITMTLSConfig *mitm.Config Debug bool DownstreamHTTPProxy string }
func (*S5Config) ConnectionFallback ¶
func (*S5Config) HandleS5Request ¶
func (*S5Config) HijackSource ¶
func (*S5Config) IsHijackMode ¶
func (*S5Config) IsSocks5HandleShake ¶
Click to show internal directories.
Click to hide internal directories.