Registry / networking / google-nftables

google-nftables

JSON →
library0.3.0gogounverified

Package nftables manipulates Linux nftables (the iptables successor).

go get github.com/google/nftables
INSTALL
IMPORT
SIG · GOOGLE-NFTABLES
G
google-nftables
networkinggov0.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

nftables
github.com/google/nftables

Lists all nftables chains.

package main import ( "github.com/google/nftables" ) func main() { conn, err := nftables.New() if err != nil { panic(err) } families, err := conn.ListChains() if err != nil { panic(err) } for _, chain := range families { fmt.Println(chain.Name) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
google-nftables — go get google-nftables · libregistry