https://github.com/ti-mo/netfilter
Pure-Go Netfilter Netlink family implementation.
https://github.com/ti-mo/netfilter
golang-library hacktoberfest netfilter netlink
Last synced: about 1 year ago
JSON representation
Pure-Go Netfilter Netlink family implementation.
- Host: GitHub
- URL: https://github.com/ti-mo/netfilter
- Owner: ti-mo
- License: mit
- Created: 2018-09-26T19:16:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-05T14:39:44.000Z (over 1 year ago)
- Last Synced: 2025-04-02T04:04:25.517Z (about 1 year ago)
- Topics: golang-library, hacktoberfest, netfilter, netlink
- Language: Go
- Homepage:
- Size: 121 KB
- Stars: 78
- Watchers: 4
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# netfilter [](https://godoc.org/github.com/ti-mo/netfilter) [](https://builds.sr.ht/~tb/netfilter?) [](https://coveralls.io/github/ti-mo/netfilter?branch=master) [](https://goreportcard.com/report/github.com/ti-mo/netfilter)
Package netfilter provides encoding and decoding of Netlink messages into Netfilter attributes.
It handles Netfilter-specific nesting of attributes, endianness, and is written around a native
Netlink implementation (https://github.com/mdlayher/netlink). It is purely written in Go,
without any dependency on Cgo or any C library, kernel headers or userspace tools.
The goal of this package is to be used for implementing the Netfilter family of Netlink protocols.
For an example implementation, see https://github.com/ti-mo/conntrack.
## Contributing
Contributions are absolutely welcome! Before starting work on large changes, please create an issue first, or join #networking on Gophers Slack to discuss the design.
If you encounter a problem implementing the library, please open a GitHub issue for help.