• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ti-mo / conntrack
92%

Build:
DEFAULT BRANCH: master
Repo Added 27 Sep 2018 04:34PM UTC
Files 10
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • conn-setoption
  • control-buffer-sizes
  • fix-conn-get-for-ipv6
  • golangci-lint-1.31
  • netlink-attributedecoder
  • refs/tags/b0.4.0
  • refs/tags/v0.3.0
  • refs/tags/v0.4.0
  • support-zone-filtering-for-dump-and-flush
  • tb/bump-golangci
  • tb/bump-netfilter
  • test-single-tuple-update

07 Jul 2025 09:30AM UTC coverage: 91.552%. Remained the same
16113237611

push

github

ti-mo
Fix Conn.Get to correctly set IP family for partial IPv6 filters

Conn.Get supports filters with only one of TupleOrig or TupleReply defined.
However, when using such a partial filter with IPv6 addresses, the function
failed to set the correct IP family (ProtoIPv6) in the netfilter header,
resulting in the error:

netfilter query: netlink receive: invalid argument

This change updates the condition to set the protocol family to IPv6 if
either TupleOrig or TupleReply uses an IPv6 address.

Signed-off-by: Milan Lenco <milan@zededa.com>

1 of 1 new or added line in 1 file covered. (100.0%)

1333 of 1456 relevant lines covered (91.55%)

1859.3 hits per line

Relevant lines Covered
Build:
Build:
1456 RELEVANT LINES 1333 COVERED LINES
1859.3 HITS PER LINE
Source Files on master
  • List 10
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
16113237611 master Fix Conn.Get to correctly set IP family for partial IPv6 filters Conn.Get supports filters with only one of TupleOrig or TupleReply defined. However, when using such a partial filter with IPv6 addresses, the function failed to set the correct IP ... push 07 Jul 2025 09:30AM UTC ti-mo github
91.55
14839537744 master go.mod: upgrade x/sys to 0.33.0, netfilter to 0.5.3 Signed-off-by: Timo Beckers <timo@incline.eu> push 05 May 2025 03:01PM UTC ti-mo github
91.55
14837515998 master gha: run against Go 1.23 and 1.24, upgrade golangci-lint action to v8 Signed-off-by: Timo Beckers <timo@incline.eu> push 05 May 2025 01:24PM UTC ti-mo github
91.55
14836725940 master Add to wait group prior to starting event worker When calling Listen and Close in quick succession repeatedly, the previous code would occasionally panic with: sync: WaitGroup is reused before previous Wait has returned From the Go doc on WaitG... push 05 May 2025 12:44PM UTC ti-mo github
91.55
14758478411 master Add to wait group prior to starting event worker When calling Listen and Close in quick succession repeatedly, the previous code would occasionally panic with: sync: WaitGroup is reused before previous Wait has returned From the Go doc on WaitG... Pull #42 05 May 2025 12:42PM UTC enocom github
91.55
9128211932 master .github: update GitHub Actions Signed-off-by: Timo Beckers <timo@incline.eu> push 17 May 2024 12:28PM UTC ti-mo github
91.55
9127846542 master event: export Unmarshal method This is useful for callers that bring their own netlink receiver (e.g. rcvmmsg) but still want to use the unmarshaling infrastructure. Signed-off-by: Nadia Pinaeva <n.m.pinaeva@gmail.com> push 17 May 2024 12:02PM UTC ti-mo github
91.55
6534398355 master Use netip.Addr instead of net.IP Using the net/netip package instead of the net package can help reduce the memory footprint of the library and help reduce the number of heap allocations. This is a breaking change for consumers of the library as... push 16 Oct 2023 01:35PM UTC ti-mo github
91.58
6534213301 master Bump minimum required Go version to 1.20 Signed-off-by: Timo Beckers <timo@incline.eu> push 16 Oct 2023 01:21PM UTC ti-mo github
91.64
6481228810 master flow: marshal Labels and LabelsMask fields, add e2e Flow marshaling test Signed-off-by: Timo Beckers <timo@incline.eu> push 11 Oct 2023 10:25AM UTC ti-mo github
91.64
See All Builds (94)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc