Documentation ¶
Index ¶
Constants ¶
View Source
const GETSOCKOPT = syscall.SYS_GETSOCKOPT
View Source
const (
SO_ORIGINAL_DST = 80 // from linux/include/uapi/linux/netfilter_ipv4.h
)
Variables ¶
This section is empty.
Functions ¶
func EnableUDPTProxy ¶
EnableUDPTProxy enable tproxy for udp sockets at linux
func GetOrigDst ¶
Get the original destination of a TCP connection.
func GetOrigDstFromOob ¶
GetOrigDstFromOob get the original destination from oob data
func Getorigdst ¶
Call getorigdst() from linux/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.