Skip to content

v1.20.4-5

Choose a tag to compare

@tchellomello tchellomello released this 24 Nov 23:41
· 24 commits to main since this release
4bc08cd

Highlights

L7-aware verdicts — HTTP, DNS, and L7_CHANGED (#26, #29):

  • Rules compared (L7_CHANGED). Traffic that stays allowed at L4 while its L7 proxy rules change is reported as L7_CHANGED with before/after rules (--fail-on-l7, exit code 5).
  • Per-request DNS & HTTP judging. For traffic already behind Cilium's DNS proxy or Envoy, GuardBee judges every recorded DNS query (using Cilium's matchpattern semantics) and HTTP request (against Envoy's translated rules, labelled matched by GuardBee, not Envoy), flagging regressions as NEWLY_DROPPED with the exact query or request named. Reads cilium-config once to disable HTTP judging when URL-query redaction is enabled (kubernetes/rbac.yaml adds get on cilium-config).
  • L7 flow filters. Shared across CLI and UI: --http-method, --http-path, --http-status, --to-fqdn, plus an L7 requests quick filter.
  • Policy Editor safety. Policies using L7 HTTP/DNS, SNI/TLS, Envoy listeners, or toFQDNs are kept verbatim instead of being lossily rewritten by the L4 visual model.

toFQDNs candidate simulation (#31, #32):

  • New or modified toFQDNs selectors (not yet present in any live policy) are matched against Hubble's destination_names using Cilium's own regex and label derivation; flows without DNS history that a candidate would drop are marked NOT_SIMULATED rather than guessed.
  • World/CIDR rows now display their DNS names directly (e.g. reserved:world (api.github.com) in CLI/markdown/UI, destinationNames in JSON), and warn when a toFQDNs policy has no rules.dns.

Connectivity tests & UI workflow polish (#24, #25, #27, #30, #33):

  • Per-run connectivity tests & Service picker. Each Verdict run card owns its own Connectivity tests panel bound to that run's frozen candidate/scope (including stopped live --follow runs), with cluster Service autocomplete that auto-fills ports (kubernetes/rbac.yaml adds list on services).
  • Stricter probe & UI safety. External non-Service hostnames are refused with 422 before injection; DNS-rebinding guard (rebindingGuard) now protects every UI endpoint, and localhost redirects to the numeric loopback address when --enable-probes is active.
  • Verdict → Policy Editor & unified console design. Added Edit in Policy Editor directly from Verdict candidates and aligned headings, grids, and colors across all four tabs.

Docs & self-paced Lab (#29, #31, #34):

  • Added Lab Steps 6 (L7 HTTP & DNS) and 7 (toFQDNs), validated in lab-validate, and refreshed the landing-page demo walkthrough video using the live Lab scenario.

Engine: Cilium v1.20.4 (unchanged).

What's Changed

  • Refuse external hostnames in connectivity tests; redirect localhost (#24)
  • UI: one design language across all four tabs (#25)
  • verdict: L7-aware verdicts (L7_CHANGED, DNS and HTTP request verdicts, L7 filters) (#26)
  • UI: Edit in Policy Editor, Service picker, connectivity tests per run (#27)
  • lab: validate per-request L7 verdicts; Lab guide step for L7 policies (#29)
  • UI: a stopped live run can run connectivity tests (#30)
  • verdict: judge toFQDNs candidates against Hubble's destination_names (#31)
  • verdict: name a world/CIDR destination's DNS names on its row (#32)
  • ui: DNS-rebinding guard on every endpoint; audit cleanups (#33)
  • Update demo class video (#34)

Full Changelog: v1.20.4-4...v1.20.4-5