Registry / networking / ti-mo-netfilter

ti-mo-netfilter

JSON →
library0.5.3gogounverified

A Go library for encoding and decoding Netfilter attributes over Netlink, without Cgo dependencies.

go get github.com/ti-mo/netfilter
INSTALL
IMPORT
SIG · TI-MO-NETFILTER
T
ti-mo-netfilter
networkinggov0.5.3
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.

netfilter
github.com/ti-mo/netfilter

Encoding Netfilter attributes using netfilter.

package main import ( "fmt" "github.com/ti-mo/netfilter" ) func main() { attrs := netfilter.Attributes{ {Type: 1, Data: []byte("example")}, } encoded, err := attrs.MarshalBinary() if err != nil { fmt.Println(err) return } fmt.Printf("Encoded: %x\n", encoded) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Amazon
1
OpenAI (training)
1
Resources
ti-mo-netfilter — go get ti-mo-netfilter · libregistry