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

containernetworking / plugins / 29903823545
52%
master: 55%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/google.golang.org/grpc-1.82.1
DEFAULT BRANCH: master
Ran 22 Jul 2026 08:35AM UTC
Jobs 1
Files 69
Run time 1min
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

22 Jul 2026 08:23AM UTC coverage: 52.497%. First build
29903823545

Pull #1281

github

thomasferrandiz
fix: fall back to binary presence when netfilter capability checks both fail

SupportsNFTables() runs `nft --check` via exec, which requires
CAP_NET_ADMIN even for a dry run. On systems where iptables is absent
but that capability is unavailable at detection time, both
SupportsIPTables() and SupportsNFTables() return false, causing
ensureBackend() and SetupIPMasqForNetworks() to unconditionally default
to iptables — which then also fails.

Add IPTablesBinaryAvailable() and NFTablesBinaryAvailable() (LookPath
only, no kernel access required) as a second detection tier. When both
full checks fail, binary presence breaks the tie: if the iptables binary
is absent but nft is present, select the nftables backend.

Signed-off-by: Thomas Ferrandiz <thomas.ferrandiz@suse.com>
Pull Request #1281: fix: fall back to binary presence when netfilter capability checks both fails

12 of 31 new or added lines in 3 files covered. (38.71%)

5014 of 9551 relevant lines covered (52.5%)

27.78 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
0.0
pkg/ip/ipmasq_linux.go
9
45.92
plugins/meta/portmap/main.go
Jobs
ID Job ID Ran Files Coverage
1 29903823545.1 22 Jul 2026 08:35AM UTC 69
52.5
GitHub Action Run
Source Files on build 29903823545
  • Tree
  • List 69
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1281
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc