nftables icon indicating copy to clipboard operation
nftables copied to clipboard

This repository contains a Go module to interact with Linux nftables (the iptables successor).

Results 47 nftables issues
Sort by recently updated
recently updated
newest added

Currently those attribute are silently ignored, so there is not even a clear indication that something went wrong.

Before this commit: the printing of a rule results in a pointer address. After this commit: the printing of a rules results in a human-readable text. Resolves: #104 Signed-off-by: Paul...

Currently this very basic and useful workflow is not possible: ```go r1 := c.AddRule(&nftables.Rule{ Table: filter, Chain: prerouting, Exprs: []expr.Any{ &expr.Verdict{ // [ immediate reg 0 drop ] Kind: expr.VerdictDrop,...

- Common TestDial function

This is just a draft - I havent made the table documenting all the different expressions and how to use them yet. Let me know if I am on the...

# 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...

bug

When adding rules there could be an option to set the ```UserData``` field to a comment with a helper function maybe Or maybe add a field, this however is not...

I make `GetRule()` call in the following way. ```go tb := &nftables.Table{ Name: tableName, } if v == "4" { tb.Family = nftables.TableFamilyIPv4 } else { tb.Family = nftables.TableFamilyIPv6 }...

I am currently considering to use the google/nftables package in my existing project [Gont](https://github.com/stv0g/gont) which already heavily depends on [vishvananda/netlink](https://github.com/vishvananda/netlink). To avoid code duplication and overhead, I would like to...