ss

package
v0.9.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLocal

func NewLocal(p *proxy.Proto) proxy.Peer

func NewRemote

func NewRemote(p *proxy.Proto) proxy.Peer

Types

type Local

type Local struct {
	// contains filtered or unexported fields
}

func (Local) BeforeSend

func (l Local) BeforeSend(tun *proxy.Tunnel) error

func (Local) Handle

func (s Local) Handle(src net.Conn)

func (Local) WriteMethod

func (s Local) WriteMethod(tun *proxy.Tunnel) (err error)

*

socks5 header
+----+-----+-------+------+----+
| ATYP | DST.ADDR | DST.PORT |
+----+-----+-------+------+----+
|  1   | Variable |     2    |
+----+-----+-------+------+----+

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL