Releases: ti-mo/conntrack
Releases · ti-mo/conntrack
v0.5.1: export Event.Unmarshal, bump minimum Go version to 1.21
Convert API to package netip
This is a breaking change across the board, but one that is necessary for long-term maintainability and resource efficiency. Upgrading net.IP
for netip.Addr
is straightforward, so I won't document that here.
If you want to stay on the old API, you can continue using v0.4.1, but note that the 0.4.x series will not receive any further updates.
What's Changed
- Use netip.Addr instead of net.IP by @antoninbas in #36
New Contributors
- @antoninbas made their first contribution in #36
Full Changelog: v0.4.1...v0.5.0
Linux 5.11 support, marshal flow labels, require Go 1.20
After a long radio silence, it was time to cut another release since 0.4.0 no longer works on recent Linux LTS releases.
This is the final release supporting the net.IP
type. 0.5.0 onwards will require netip
, introduced in #36.
What's Changed
- conn: Add conntrack dump while zeroing all counters by @linosgian in #25
- errors: replace errors.Wrap() with errors.Is() by @ti-mo in #30
- event: correctly parse TCP DESTROY events on kernels 5.11 and later by @ti-mo in #31
- Marshal flow labels, automatically set SequenceAdjust.Direction by @ti-mo in #37
- Bump to Go 1.20 and all dependencies to latest by @ti-mo in #38
New Contributors
- @linosgian made their first contribution in #25
Full Changelog: v0.4.0...v0.4.1
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.
Control Read/Write buffer sizes of netlink socket
- First tagged release ¯_(ツ)_/¯
- Added
Conn.Set{Read,Write}Buffer()
to control buffer size of the underlying netlink socket. Make sure to read the godoc of the functions as well asman 7 socket
onSO_RCVBUF
andSO_SNDBUF
.