Skip to content

v5.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Nov 18:18
a38e8cf

Overview

5.6.0 is the first coturn release made the standard Wire way. It starts from the server of 4.6.2-federation-wireapp.59, upstream coturn 4.6.2 plus the Wire patches (drain mode, federation relay, rate limiting, DTLS certificate reload), and adds two fixes: TURNS clients are no longer asked for a client certificate, and the rate limiter no longer races with its own pruning. The rest is about how coturn is versioned, built and published. The structured release declaration is declaration.json.

Deploy the image and the chart of the same release. An older image ignores federation-CA-file with a warning and accepts federation peers without checking their certificate.

Highlights

TURNS works for clients again: the chart used to set CA-file on every deployment, for federation. That option also makes coturn require a client certificate on its TLS listener, so every TURNS client was turned away at its first Allocate. Federation now has its own CA bundle, federation-CA-file, and the chart no longer sets CA-file.

SemVer versions: from now on coturn is versioned X.Y.Z. We start at 5.6.0 to pick up where the coturn charts already published stop (the 5.5.x ones in the S3 repositories). The image quay.io/wire/coturn and the Helm chart share the version, and the chart is also published to oci://quay.io/wire/charts/stable/coturn.

Release pipeline: releases are prepared and published by this repository's own workflows, with the shared wire-rm-actions, then declared to the release manager.

Breaking changes

  • Deployments pin 5.6.0 instead of 4.6.2-federation-wireapp.N.
  • The chart now declares kubeVersion: ">=1.21.0-0". On an older cluster the install stops right away.

Fixes

  • TURNS clients without a client certificate are accepted again. With DTLS federation, peers are still verified, against federation-CA-file.
  • A federation CA bundle that cannot be found no longer switches off the TLS and DTLS client listeners. Only federation peers are rejected.
  • The rate limiter no longer reads its address table while another thread inserts or prunes entries.

Deprecations

  • ca.enabled will be removed in a future release. A custom bundle will then be used whenever ca.secretRef or ca.cert is set, and turning off federation peer validation will no longer be possible.

Maintenance

  • Release files live in publication/: compatibility, release note, release declaration.
  • The CI inherited from upstream coturn is replaced by a PR workflow (build and tests, image, chart, release files) and a lint of the workflows (actionlint, zizmor).
  • One image build instead of two (docker/Dockerfile). The base moves from Debian bullseye, now out of support and missing its security packages on the mirrors, to bookworm. coturn links against OpenSSL 3 instead of 1.1.

Configuration

  • New coturn option federation-CA-file: the CA bundle federation uses to verify its DTLS peers. When it is not set, federation falls back to CA-file, so hand-written configurations behave as before.
  • Chart: the ca.* bundle is rendered as federation-CA-file inside the federate.dtls block, and CA-file is no longer rendered. The values keep their meaning but only apply when federate.enabled and federate.dtls.enabled are both true; otherwise the CA secret and its mount are not created.
  • Chart: ca.enabled is deprecated, see above.

Details


Continuous Integration
  • read the S3 chart keys from S3_HELM_CHARTS_AWS_* (477995a4)
  • drop the AWS_REGION secret of the S3 chart publication (e6e257dc)
  • move setup-oras to its Node 24 release (f05c317a)
  • run the container build steps in bash (5bf627d0)
  • prepare and publish releases (62d3707a)
  • build the image and chart on dev (46a54033)
Bug Fixes
  • hold the rate limit lock across the address lookup - WPB-15070 (179a8e3f)
Other Changes
  • deprecate ca.enabled, mount the CA only for DTLS federation (dd0672d9)
  • resolve federation-CA-file without disabling client listeners (100c81b7)
  • render the CA bundle as federation-CA-file (0215bdb5)
  • clearer information to release the fork (9ab7f2e8)

Artifacts

Docker image quay.io/wire/coturn:5.6.0
Helm chart coturn 5.6.0
Chart repositories charts (S3) · oci://quay.io/wire/charts/stable
Checksums and provenance
Source commit a38e8cfac2ab77c3c38ccef8d2be3bc8b4a29027
Image digest sha256:1c66d7b5e0aa59cdc765b0c32319b77b39062d9ea053044c1d3476285dc8e7b0
Chart SHA256 47690e4a491c977455417177b36f00dd81bf81cdf047f6a3882353b828e474c1

release-manifest.json attached to this release is the authoritative record.