Нема описа

dthadi3 535fb75f10 Update .travis.yml пре 4 година
iptables 12696f5c91 Fix IsNotExist for ip6tables in nft mode пре 5 година
.gitignore 43b10c99ed fix content mismatch for fake iptables error пре 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.