Name: go-iptables
Owner: CoreOS
Description: Go wrapper around iptables utility
Created: 2015-02-05 00:41:08.0
Updated: 2018-05-21 14:30:16.0
Pushed: 2018-02-21 14:31:11.0
Homepage: null
Size: 62
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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.