Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PortMapFilter ¶
type PortMapFilter struct { Protocol uint8 // udp, tcp, etc. ExternalPort uint16 // app external port InternalPort uint16 // app internal port }
PortMapFilter : Custom filter to match on port-mapped flows
func (PortMapFilter) MatchConntrackFlow ¶
func (f PortMapFilter) MatchConntrackFlow(flow *netlink.ConntrackFlow) bool
MatchConntrackFlow : Implements CustomConntrackFilter interface to filter flows
type SrcIPFilter ¶
type SrcIPFilter struct { Log *base.LogObject SrcIP net.IP Proto uint8 SrcPort uint16 Mark uint32 MarkMask uint32 DebugShow bool }
SrcIPFilter : Custom filter to match on source IP address, source port, protocol and mark
func (SrcIPFilter) MatchConntrackFlow ¶
func (f SrcIPFilter) MatchConntrackFlow(flow *netlink.ConntrackFlow) bool
MatchConntrackFlow : Implements CustomConntrackFilter interface to filter flows
Click to show internal directories.
Click to hide internal directories.