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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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