# Functions
GenerateSetName generates a unique name for an ipset based on the given sources.
No description provided by the author
No description provided by the author
MergeIPRanges merges overlapping IP ranges and returns a slice of non-overlapping netip.Prefix.
SetLegacyManagement sets the route manager to use legacy management.
# Constants
ActionAccept is the action to accept a packet.
ActionDrop is the action to drop a packet.
No description provided by the author
No description provided by the author
No description provided by the author
ProtocolALL cover all supported protocols.
ProtocolICMP is the ICMP protocol.
ProtocolTCP is the TCP protocol.
ProtocolUDP is the UDP protocol.
ProtocolUnknown unknown protocol.
RuleDirectionIN applies to filters that handlers incoming traffic.
RuleDirectionOUT applies to filters that handlers outgoing traffic.
# Interfaces
LegacyManager defines the interface for legacy management operations.
Manager is the high level abstraction of a firewall manager
It declares methods which handle actions required by the Netbird client for ACL and routing functionality.
Rule abstraction should be implemented by each firewall manager
Each firewall type for different OS can use different type of the properties to hold data of the created rule.
# Type aliases
Action is the action to be taken on a rule.
Protocol is the protocol of the port.
RuleDirection is the traffic direction which a rule is applied.