Skip to content

v1.8.0-rc2 — REALITY (glibc tarballs + container image)

Pre-release
Pre-release

Choose a tag to compare

@keepinfov keepinfov released this 04 Jul 14:31
263c705

Release candidate 2 for the REALITY transport.

rc1's static-musl reality binaries segfaulted — Go's runtime can't run inside a
fully-static musl binary. So REALITY now ships as glibc, and the standard
static binaries stay REALITY-free:

  • 2cha-{server,client,universal}-linux-<arch>.tar.gz — static musl, no REALITY
    (unchanged; portable, run on NixOS etc.). The install.sh one-liner installs these.
  • REALITY (glibc):
    • 2cha-reality-linux-{x86_64,aarch64}.tar.gz — glibc 2.31+, runs natively on
      Debian 11+/Ubuntu 20.04+.
    • ghcr.io/keepinfov/2cha:v1.8.0-rc2 — multi-arch image; runs anywhere with
      docker/podman, including NixOS and Alpine.

Test the reality binary directly:

curl -fsSL https://github.com/keepinfov/2cha/releases/download/v1.8.0-rc2/2cha-reality-linux-x86_64.tar.gz \
  | tar xz && sudo mv 2cha /usr/local/bin/2cha
2cha reality-keygen        # then set transport = "reality" + [reality] in the config

Or the image:

docker run --rm --cap-add NET_ADMIN --device /dev/net/tun \
  -v /etc/2cha:/etc/2cha ghcr.io/keepinfov/2cha:v1.8.0-rc2 \
  server --config /etc/2cha/server.toml

See docs/reality.md. Pre-release from PR #50.