redir

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SO_ORIGINAL_DST      = 80 // from linux/include/uapi/linux/netfilter_ipv4.h
	IP6T_SO_ORIGINAL_DST = 80 // from linux/include/uapi/linux/netfilter_ipv6/ip6_tables.h
)
View Source
const GETSOCKOPT = syscall.SYS_GETSOCKOPT

Variables

This section is empty.

Functions

This section is empty.

Types

type RedirListener added in v0.10.0

type RedirListener struct {
	net.Listener
	// contains filtered or unexported fields
}

func NewRedirProxy

func NewRedirProxy(addr string) (*RedirListener, error)

func (*RedirListener) Address added in v0.10.0

func (l *RedirListener) Address() string

func (*RedirListener) Close added in v0.10.0

func (l *RedirListener) Close()

Jump to

Keyboard shortcuts

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