{"record":{"id":"1094674a62963a78","repo":"netbirdio/netbird","slug":"filter-table-not-found","errorCode":null,"errorMessage":"'filter' table not found","messagePattern":"'filter' table not found","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"client/firewall/nftables/router_linux.go","lineNumber":64,"sourceCode":"\tuserDataAcceptForwardRuleIif = \"frwacceptiif\"\n\tuserDataAcceptForwardRuleOif = \"frwacceptoif\"\n\tuserDataAcceptInputRule      = \"inputaccept\"\n\n\tdnatSuffix = \"_dnat\"\n\tsnatSuffix = \"_snat\"\n\n\t// ipv4TCPHeaderSize is the minimum IPv4 (20) + TCP (20) header size for MSS calculation.\n\tipv4TCPHeaderSize = 40\n\t// ipv6TCPHeaderSize is the minimum IPv6 (40) + TCP (20) header size for MSS calculation.\n\tipv6TCPHeaderSize = 60\n\n\t// maxPrefixesSet 1638 prefixes start to fail, taking some margin\n\tmaxPrefixesSet       = 1500\n\trefreshRulesMapError = \"refresh rules map: %w\"\n)\n\nvar (\n\terrFilterTableNotFound = fmt.Errorf(\"'filter' table not found\")\n)\n\ntype setInput struct {\n\tset      firewall.Set\n\tprefixes []netip.Prefix\n}\n\ntype router struct {\n\tconn        *nftables.Conn\n\tworkTable   *nftables.Table\n\tfilterTable *nftables.Table\n\tchains      map[string]*nftables.Chain\n\t// rules is useful to avoid duplicates and to get missing attributes that we don't have when adding new rules\n\trules        map[string]*nftables.Rule\n\tipsetCounter *refcounter.Counter[string, setInput, *nftables.Set]\n\n\taf               addrFamily\n\twgIface          iFaceMapper","sourceCodeStart":46,"sourceCodeEnd":82,"githubUrl":"https://github.com/netbirdio/netbird/blob/93e97f4bf1ad715072dcb3fb6cdb1763431b5a9c/client/firewall/nftables/router_linux.go#L46-L82","documentation":"Error \"'filter' table not found\" thrown in netbirdio/netbird.","triggerScenarios":"Thrown at client/firewall/nftables/router_linux.go:64 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"93e97f4bf1ad715072dcb3fb6cdb1763431b5a9c","analyzedAt":"2026-08-16T03:09:19.136Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}