Documentation ¶
Index ¶
- type SocksV5Server
- func (svr *SocksV5Server) ConnectRemoteSSH() (err error)
- func (svr *SocksV5Server) IoBind(src, dst net.Conn, fnClose func(err error))
- func (svr *SocksV5Server) Listen() (err error)
- func (svr *SocksV5Server) ListenTCP() (err error)
- func (svr *SocksV5Server) OutToTCP(address string, inConn *net.Conn, req *socks.Socks5RequestData) (err error)
- func (svr *SocksV5Server) Run() (err error)
- func (svr *SocksV5Server) Shutdown()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SocksV5Server ¶
type SocksV5Server struct { netflow.Netflow Options config.NodeConfig Listener net.Listener // contains filtered or unexported fields }
func NewSocksV5Server ¶
func NewSocksV5Server(opts config.NodeConfig) (svr *SocksV5Server)
func (*SocksV5Server) ConnectRemoteSSH ¶
func (svr *SocksV5Server) ConnectRemoteSSH() (err error)
func (*SocksV5Server) IoBind ¶
func (svr *SocksV5Server) IoBind(src, dst net.Conn, fnClose func(err error))
func (*SocksV5Server) Listen ¶
func (svr *SocksV5Server) Listen() (err error)
func (*SocksV5Server) ListenTCP ¶
func (svr *SocksV5Server) ListenTCP() (err error)
func (*SocksV5Server) OutToTCP ¶
func (svr *SocksV5Server) OutToTCP(address string, inConn *net.Conn, req *socks.Socks5RequestData) (err error)
func (*SocksV5Server) Run ¶
func (svr *SocksV5Server) Run() (err error)
func (*SocksV5Server) Shutdown ¶
func (svr *SocksV5Server) Shutdown()
Click to show internal directories.
Click to hide internal directories.