Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SO_ORIGINAL_DST from linux/include/uapi/linux/netfilter_ipv4.h SO_ORIGINAL_DST = 80 // IP6T_SO_ORIGINAL_DST from linux/include/uapi/linux/netfilter_ipv6/ip6_tables.h IP6T_SO_ORIGINAL_DST = 80 )
View Source
const GETSOCKOPT = syscall.SYS_GETSOCKOPT
GETSOCKOPT from syscall
Variables ¶
This section is empty.
Functions ¶
func NewRedir6Server ¶ added in v0.6.9
NewRedir6Server returns a redir server for ipv6.
Types ¶
type RedirProxy ¶
type RedirProxy struct {
// contains filtered or unexported fields
}
RedirProxy struct
func NewRedirProxy ¶
NewRedirProxy returns a redirect proxy.
Click to show internal directories.
Click to hide internal directories.