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 ¶
Types ¶
type RedirProxy ¶
type RedirProxy struct {
// contains filtered or unexported fields
}
RedirProxy struct
func NewRedirProxy ¶
func NewRedirProxy(s string, dialer proxy.Dialer) (*RedirProxy, error)
NewRedirProxy returns a redirect proxy.
Click to show internal directories.
Click to hide internal directories.