Releases: ti-mo/netfilter
Releases · ti-mo/netfilter
v0.5.2: bump minimum Go version to 1.21
v0.5.1 - Bump dependencies and Go 1.20, drop go-cmp
Yearly maintenance release for Go and dependencies, no functional changes.
What's Changed
Full Changelog: v0.5.0...v0.5.1
2022 Maintenance Release (Go 1.18)
What's Changed
- bump minimum required Go version to 1.18
- bump mdlayher/netlink to 1.7.1
- migrate to GitHub Actions
- add .golangci.yml configuration
Full Changelog: v0.4.0...v0.5.0
Improve Netlink i/o performance
- Significant performance improvements in all Netlink i/o: mdlayher/netlink#171
- This version drops support for Go 1.11 and earlier. See mdlayher/netlink#170 for context.
Set Read/Write buffer sizes and deadlines
- Upgrade to mdlayher/netlink 1.1.0
- Added
Conn.Set{,Read,Write}Deadline
for non-blocking reads/writes - Added
Conn.Set{Read,Write}Buffer
for controlling netlink socket buffer sizes
Netlink AttributeDecoder/Encoder
Introduces:
NewAttributeEncoder()
- wrapper that creates a big-endian AttributeEncoderNewAttribudeDecoder()
- wrapper that creates a big-endian AttributeDecoderDecodeNetlink()
- returns anetlink.AttributeDecoder
for directly decoding netlink attributesEncodeNetlink()
- encodes anetlink.Message
given a pre-filled AttributeEncoder