dae73eaa9c
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 Greenberg <greenpau@outlook.com> |
||
---|---|---|
binaryutil | ||
expr | ||
.gitignore | ||
.travis.yml | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
chain.go | ||
conn.go | ||
counter.go | ||
doc.go | ||
go.mod | ||
go.sum | ||
nftables_test.go | ||
nftables_test.sh | ||
obj.go | ||
rule.go | ||
set.go | ||
set_test.go | ||
table.go | ||
util.go |
README.md
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!
Testing Changes
Run the following commands to test your changes:
go test ./...
go test -c github.com/google/nftables
sudo ./nftables.test -test.v -run_system_tests