Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanRules ¶ added in v1.8.3
func CleanRules()
func ReadFromUDP ¶
https://github.com/KatelynHaworth/go-tproxy/blob/ef7efd7f24ed7e9bf8f479c890c81ce7db27000e/tproxy_udp.go#L40C1-L97C1 ReadFromUDP reads a UDP packet from c, copying the payload into b. It returns the number of bytes copied into b and the return address that was on the packet.
Out-of-band data is also read in so that the original destination address can be identified and parsed.
Types ¶
type NAT64Agent ¶
type NAT64Agent struct {
// contains filtered or unexported fields
}
NAT64Agent caches all DNS traffic from Pods with network based on the PodCIDR of the node they are running. Cache logic is very specific to Kubernetes,
func NewNAT64Agent ¶
func NewNAT64Agent() (*NAT64Agent, error)
Click to show internal directories.
Click to hide internal directories.