Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[GetSets] Fetching Sets from table with maps fails

Open
#171 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
go, linux
Domain
networking

Research direction

Start at the GetSets and GetTable entry points and reproduce the reported failures with a table containing a map and with the two-chain table example. Inspect how the map's data type is decoded and how NFTA_TABLE_USE is read into uint32; done means both reports return correct data without the cited error.

Written by the indexing model from the issue text.

Description

bug

Problem1

As soon as I want to fetch Sets of a table which has a map included the nflib reports an error:

Error Fetching Sets - could not determine data type 1cd

When I delete the Map Fetching Sets works perfect.

Problem 2

Fetching tables reports very high numbers for Use uint32 // NFTA_TABLE_USE (Number of chains in table) for example:

Table has only 2 chains but GetTable reports very high number:

2022/06/07 09:41:28 &{filter 100663296 0 1}

Is there maybe a short workaround to make it work?

Dominant language
Go
Stars
1.4k
Forks
187
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from google/nftables

All issues in google/nftables

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.