Go to file
Michael Stapelberg a346d51f53 Fetch an acknowledgement for each message that requested one
This fixes error handling when using lasting connections.

fixes #170
2022-06-11 23:33:46 +02:00
.github/workflows GitHub Actions: rename branch 2022-06-11 22:24:28 +02:00
alignedbuff add un/marshalling with native endianess and alignment 2022-05-15 23:12:26 +02:00
binaryutil fixes issue #107 (#166) 2022-05-16 22:53:33 +02:00
expr add typed xtables information un/marshalling 2022-05-15 23:12:26 +02:00
internal/nftest nftest: generate message acknowledgements 2022-06-11 23:25:19 +02:00
xt make links stable 2022-05-15 23:15:01 +02:00
CONTRIBUTING.md Initial commit 2018-05-24 22:09:26 -07:00
LICENSE Initial commit 2018-05-24 22:09:26 -07:00
README.md README: switch to GitHub actions badge 2021-05-14 17:48:51 +02:00
chain.go list tables and chains optionally by specific table family (#168) 2022-06-07 17:23:05 +02:00
conn.go Fetch an acknowledgement for each message that requested one 2022-06-11 23:33:46 +02:00
counter.go Add GetObject/GetObjects, ResetObject/ResetObjects (#92) 2020-01-21 08:36:27 +01:00
doc.go Restructure code base into smaller files (#15) 2019-05-03 23:54:09 +02:00
go.mod bump go.mod version to go 1.17 2022-05-02 17:29:23 +02:00
go.sum bump go.mod version to go 1.17 2022-05-02 17:29:23 +02:00
nftables_test.go refactor common test code into package nftest 2022-06-11 23:10:56 +02:00
obj.go add New constructor (with options functions, such as lasting connection) 2022-05-09 13:25:29 +02:00
rule.go refactor: pass table family when un/marshalling expr 2022-05-15 23:12:26 +02:00
set.go add New constructor (with options functions, such as lasting connection) 2022-05-09 13:25:29 +02:00
set_test.go Support for concat set intervals (#155) 2022-04-22 17:12:20 +02:00
table.go list tables and chains optionally by specific table family (#168) 2022-06-07 17:23:05 +02:00
util.go Restructure code base into smaller files (#15) 2019-05-03 23:54:09 +02:00

README.md

Build Status GoDoc

This is not the correct repository for issues with the Linux nftables project! This repository contains a third-party Go package to programmatically interact with nftables. Find the official nftables website at https://wiki.nftables.org/

This package manipulates Linux nftables (the iptables successor). It is implemented in pure Go, i.e. does not wrap libnftnl.

This is not an official Google product.

Breaking changes

This package is in very early stages, and only contains enough data types and functions to install very basic nftables rules. It is likely that mistakes with the data types/API will be identified as more functionality is added.

Contributions

Contributions are very welcome!