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

ovn-kubernetes / ovn-kubernetes / 28833783359
58%

Build:
DEFAULT BRANCH: master
Ran 07 Jul 2026 01:31AM UTC
Jobs 1
Files 329
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

06 Jul 2026 06:15PM UTC coverage: 58.232% (+0.08%) from 58.153%
28833783359

push

github

jcaamano
Only create ACCEPT rules for bypassing our own DROP rules

With iptables-based firewalls, you can subvert the firewall by adding
"-j ACCEPT" rules before the firewall rules. With nftables-based
firewalls, `accept` rules in one table will not override `drop` rules
in another table, so this doesn't work. If you want the firewall to
not block your traffic, you need to actually configure the firewall to
not block your traffic.

So, stop adding the "accept from OVN to localhost" rule, and only add
the "accept traffic forwarded to/from ovn-k8s-mp0" rule when
DisableForwarding is set (and thus we need to override *our own* DROP
policy on FORWARD). Also, clean up stale forwarding rules when
DisableForwarding is not set.

(The "accept traffic forwarded to/from OVN-Kubernetes CIDRs" rules are
already only added when DisableForwarding is set, and cleared when
it's not.)

(We don't bother trying to clean up the old "accept from OVN to
localhost" rule, because it's harmless, and will eventually get
cleaned up when the node is rebooted.)

Signed-off-by: Dan Winship <danwinship@redhat.com>

11 of 16 new or added lines in 2 files covered. (68.75%)

32 existing lines in 6 files now uncovered.

51646 of 88690 relevant lines covered (58.23%)

339.24 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
90.91
-0.07% go-controller/pkg/node/gateway_iptables.go
1
48.68
-1.95% go-controller/pkg/node/gateway_localnet.go

Coverage Regressions

Lines Coverage ∆ File
14
48.68
-1.95% go-controller/pkg/node/gateway_localnet.go
8
90.91
-0.07% go-controller/pkg/node/gateway_iptables.go
4
66.67
-1.39% go-controller/pkg/networkmanager/pod_tracker.go
2
72.57
-0.25% go-controller/pkg/ovn/base_network_controller.go
2
66.39
0.0% go-controller/pkg/ovn/egressip.go
2
79.35
1.77% go-controller/pkg/ovn/hybrid.go
Jobs
ID Job ID Ran Files Coverage
1 28833783359.1 07 Jul 2026 01:31AM UTC 329
58.23
GitHub Action Run
Source Files on build 28833783359
  • Tree
  • List 329
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 25b05aa5 on github
  • Prev Build on master (#28794824354)
  • Next Build on master (#28867847791)
  • Delete
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