mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-23 08:33:45 +01:00
1012172f04
Handle routes updates from management Manage routing firewall rules Manage peer RIB table Add get peer and get notification channel from the status recorder Update interface peers allowed IPs
13 lines
477 B
Go
13 lines
477 B
Go
package routemanager
|
|
|
|
type firewallManager interface {
|
|
// RestoreOrCreateContainers restores or creates a firewall container set of rules, tables and default rules
|
|
RestoreOrCreateContainers() error
|
|
// InsertRoutingRules inserts a routing firewall rule
|
|
InsertRoutingRules(pair routerPair) error
|
|
// RemoveRoutingRules removes a routing firewall rule
|
|
RemoveRoutingRules(pair routerPair) error
|
|
// CleanRoutingRules cleans a firewall set of containers
|
|
CleanRoutingRules()
|
|
}
|