Skip to content

Releases: ti-mo/conntrack

v0.5.1: export Event.Unmarshal, bump minimum Go version to 1.21

17 May 12:29
Compare
Choose a tag to compare

What's Changed

  • Make Event.Unmarshal method public. by @npinaeva in #39
  • Bump minimum Go version to 1.21 by @ti-mo in #40

New Contributors

Full Changelog: v0.5.0...v0.5.1

Convert API to package netip

16 Oct 13:44
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v0.4.1...v0.5.0

Linux 5.11 support, marshal flow labels, require Go 1.20

16 Oct 13:27
Compare
Choose a tag to compare

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

Full Changelog: v0.4.0...v0.4.1

Improve Netlink i/o performance

17 Oct 08:09
ec1455f
Compare
Choose a tag to compare

Control Read/Write buffer sizes of netlink socket

04 Apr 10:14
3c86d10
Compare
Choose a tag to compare
  • 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 as man 7 socket on SO_RCVBUF and SO_SNDBUF.