netbirdio/netbird · error

v6 acl manager init

Error message

v6 acl manager init: %w

What it means

The IPv6 ACL manager failed to initialize its nftables containers against the IPv6 work table during initIPv6. Since a peer holding a v6 address must have a working v6 firewall (fail-open is not acceptable), this error aborts the whole manager initialization rather than degrading to v4-only filtering.

Solutions

  1. Inspect the inner error for the chain setup failure
  2. Verify kernel nftables v6 support
  3. Restart the daemon once the underlying issue is fixed
Defensive patterns

Strategy: retry

When it happens

Trigger: Thrown at client/firewall/nftables/manager_linux.go:136 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of netbirdio/netbird@93e97f4bf1 (2026-08-16). Data as JSON: /api/errors/0dab54a0e50ac894. Report an issue: GitHub.

Appendix: source

Thrown at client/firewall/nftables/manager_linux.go:136

}

// hasIPv6 reports whether the manager has IPv6 components initialized.
func (m *Manager) hasIPv6() bool {
	return m.router6 != nil
}

func (m *Manager) initIPv6() error {
	workTable6, err := m.createWorkTableFamily(nftables.TableFamilyIPv6)
	if err != nil {
		return fmt.Errorf("create v6 work table: %w", err)
	}

	if err := m.router6.init(workTable6); err != nil {
		return fmt.Errorf("v6 router init: %w", err)
	}

	if err := m.aclManager6.init(workTable6); err != nil {
		return fmt.Errorf("v6 acl manager init: %w", err)
	}

	return nil
}

// Init nftables firewall manager
func (m *Manager) Init(stateManager *statemanager.Manager) error {
	if err := m.initFirewall(); err != nil {
		return err
	}

	m.persistState(stateManager)

	// Start after initFirewall has installed the baseline external-chain
	// accept rules. start() is idempotent across Init/Close/Init cycles.
	m.extMonitor.start()

	return nil

View on GitHub (pinned to 93e97f4bf1)