Registry / networking / coreos-go-iptables

coreos-go-iptables

JSON →
library0.8.0gogounverified

A Go library for manipulating iptables rules on Linux systems.

go get github.com/coreos/go-iptables
INSTALL
IMPORT
SIG · COREOS-GO-IPTABLES
C
coreos-go-iptables
networkinggov0.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

iptables
github.com/coreos/go-iptables/iptables

List iptables rules in the INPUT chain.

package main import ( "fmt" "github.com/coreos/go-iptables/iptables" ) func main() { ipt, err := iptables.New() if err != nil { panic(err) } rules, err := ipt.List("filter", "INPUT") if err != nil { panic(err) } fmt.Println(rules) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
Amazon
1
OpenAI (training)
1
Resources
coreos-go-iptables — go get coreos-go-iptables · libregistry