Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NATFilterType ¶
type NATFilterType int
const ( NATFilterFailed NATFilterType = iota NATFilterIndependent NATFilterAddrIndependent NATFilterAddrPortIndependent )
func FilteringTests ¶
func FilteringTests(conn net.PacketConn, addrStr string) NATFilterType
RFC5780: 4.4. Determining NAT Filtering Behavior
type NATMapType ¶
type NATMapType int
const ( NATMapFailed NATMapType = iota NATMapIndependent NATMapAddrIndependent NATMapAddrPortIndependent NATMapNoNat )
func MappingTests ¶
func MappingTests(conn net.PacketConn, addrStr string) NATMapType
RFC5780: 4.3. Determining NAT Mapping Behavior
type Udp ¶
type Udp struct {
NATType string
}
func (*Udp) Run ¶
func (m *Udp) Run(proxy interfaces.Vendor, r *interfaces.SlaveRequest) error
func (*Udp) Type ¶
func (m *Udp) Type() interfaces.SlaveRequestMacroType
Click to show internal directories.
Click to hide internal directories.