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

cilium / cilium / 9662 / 1
39%
master: 39%

Build:
DEFAULT BRANCH: master
Ran 02 Aug 2019 12:03AM UTC
Files 436
Run time 37s
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

01 Aug 2019 11:43PM UTC coverage: 44.142% (-0.02%) from 44.16%
9662.1

push

travis-ci-com

ianvernon
cilium: encryption, ensure 0x*d00 and 0x*e00 marks dont cause conflicts

We mark encryption packets with 0xd00 and 0xe00 values to indicate if
the packet should be encrypted (0xe00) or decrypted (0xd00). In the
encryption case we also set the next byte (0x*e00) with the keyID to
encrypt the packet with. This allows multiple keys to be in use at any
specific time.

However, it was observed that the upper bits, where the keyID is
placed, may also be used by kube-proxy. To avoid collision add rules
at the top of iptables to accept any packets with the encrypt/decrypt
mark values. These values will be cleared again before being pushed
to the stack so normal rules will still be hit.

Notice, we already had these rules to exclude encrypted traffic in
the masquerading case. This moves those rules installation to be
done any time encryption is enabled. This issue has existed from the
initial implementation, but our CI and my testing never used those
key id with colliding features.

Fixes: b2b901fb19163 ("cilium: ipsec, add go API to configure xfrm (IPSec)")
Signed-off-by: John Fastabend <john.fastabend@gmail.com>

25278 of 57265 relevant lines covered (44.14%)

1181.57 hits per line

Source Files on job 9662.1
  • Tree
  • List 0
  • Changed 76
  • Source Changed 1
  • Coverage Changed 76
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5365
  • Travis Job 9662.1
  • 5aae4ab9 on github
  • Prev Job for on master (#9655.1)
  • Next Job for on master (#9664.1)
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

© 2026 Coveralls, Inc