tcp_proxy

package
v2.24.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2019 License: GPL-3.0 Imports: 10 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TcpProxy

type TcpProxy struct {
	session.SessionModule
	Redirection *firewall.Redirection
	// contains filtered or unexported fields
}

func NewTcpProxy

func NewTcpProxy(s *session.Session) *TcpProxy

func (*TcpProxy) Author

func (mod *TcpProxy) Author() string

func (*TcpProxy) Configure

func (mod *TcpProxy) Configure() error

func (*TcpProxy) Description

func (mod *TcpProxy) Description() string

func (*TcpProxy) Name

func (mod *TcpProxy) Name() string

func (*TcpProxy) Start

func (mod *TcpProxy) Start() error

func (*TcpProxy) Stop

func (mod *TcpProxy) Stop() error

type TcpProxyScript

type TcpProxyScript struct {
	*plugin.Plugin
	// contains filtered or unexported fields
}

func LoadTcpProxyScript

func LoadTcpProxyScript(path string, sess *session.Session) (err error, s *TcpProxyScript)

func (*TcpProxyScript) OnData

func (s *TcpProxyScript) OnData(from, to net.Addr, data []byte) []byte

Jump to

Keyboard shortcuts

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