mirror of
https://github.com/netbirdio/netbird.git
synced 2025-01-09 23:48:24 +01:00
05930ee6b1
Adds the following to the debug bundle: - iptables: `iptables-save`, `iptables -v -n -L` - nftables: `nft list ruleset` or if not available formatted output from netlink (WIP)
16 lines
371 B
Go
16 lines
371 B
Go
//go:build !linux || android
|
|
|
|
package server
|
|
|
|
import (
|
|
"archive/zip"
|
|
|
|
"github.com/netbirdio/netbird/client/anonymize"
|
|
"github.com/netbirdio/netbird/client/proto"
|
|
)
|
|
|
|
// collectFirewallRules returns nothing on non-linux systems
|
|
func (s *Server) addFirewallRules(req *proto.DebugBundleRequest, anonymizer *anonymize.Anonymizer, archive *zip.Writer) error {
|
|
return nil
|
|
}
|