Нема описа

Casey Callendrello ee9f8ee3f1 Merge pull request #51 from squeed/iptables-nft пре 6 година
iptables 5c15b20bd5 Add support for iptables in nftables mode. пре 6 година
.travis.yml 5edd7c7831 travis: bump go пре 7 година
DCO e798720097 update CoC and legalese пре 7 година
LICENSE dfcfd8d9ba Initial commit пре 10 година
NOTICE e798720097 update CoC and legalese пре 7 година
README.md a19e0e200f fix typo - s/invokation/invocation/ пре 7 година
build 96ed17012d scripts: set compatible shebang пре 9 година
code-of-conduct.md e798720097 update CoC and legalese пре 7 година
test 5c15b20bd5 Add support for iptables in nftables mode. пре 6 година

README.md

go-iptables

GoDoc Build Status

Go bindings for iptables utility.

In-kernel netfilter does not have a good userspace API. The tables are manipulated via setsockopt that sets/replaces the entire table. Changes to existing table need to be resolved by userspace code which is difficult and error-prone. Netfilter developers heavily advocate using iptables utlity for programmatic manipulation.

go-iptables wraps invocation of iptables utility with functions to append and delete rules; create, clear and delete chains.