Skip to content

v1.3-beta2

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 28 Nov 17:44
v1.3-beta2
5cf327b

Please notice, this is a pre-release; do not use it in a production environment.

New Features

  1. Added optional inbound PROXY protocol v1 and v2 support. Enable listen.allow_proxy and set listen.proxy_settings.version to the version sent by the upstream proxy. Trusted peers can be individual IP addresses or CIDR networks. The default policy trusts 127.0.0.0/8 and ::1 and rejects other peers. Direct Minecraft connections remain the default listener mode. (2c1f7dc, d03a95b, a68cd19, 480f93f)
  2. Each backend route with pheader enabled can select v1 or v2 through pheader_version (default 1). Chained relays can use different versions on each hop while preserving the effective client and destination addresses and ports. Incoming v2 TLVs are discarded. (de3276b, 2772c9d, d59fd70)
  3. Changes to the local hosts file (normally /etc/hosts) now refresh routing automatically, including when the file is replaced by a rename. Manual reload with SIGUSR1 remains available. (79d017e, 42d9a77)
  4. Added tools/metrics-report.py to read plain or gzip-compressed Metrics logs, including numbered rotations. It checks snapshots for gaps and inconsistencies and produces text, JSON or CSV reports. (e11d5f9)

Performance and Reliability

  1. A stop request now takes priority over resolver helper recovery. If a helper exits in the same event batch, the listener completes shutdown without starting a replacement. (47cd272)
  2. The listener now checks a DNS helper's completion time against the time the reply was received. A valid reply that arrives just after the event loop sampled its clock can complete normally. (007ffd4)

Fixed Bugs

  1. Modern handshake rewrites preserve Forge metadata and other host extensions. Rewriting removes the _o original-address property and keeps the other query parameters. (7a804c5, e74590b)
  2. Rewriting a modern LOGIN or TRANSFER handshake preserves the client's Login Start fields, including flags for absent optional public keys and UUIDs. Bytes received after Login Start are forwarded in order. (cd17352)
  3. The listener now distinguishes modern handshake lengths beginning with 0xFE from legacy STATUS requests. The modern host field also accepts its full 3,072-byte UTF-8 capacity. (e944cc5, 0190011)
  4. When a negative DNS answer includes multiple authority records, the resolver uses the SOA record for the closest enclosing zone to determine how long to cache the answer. (17db2b6)
  5. Purging the Debian package removes stale enablement links for manually enabled instances of mcrelay@.service and reloads systemd after cleanup when it is running. (22a798b)

Changes

  1. The INFO startup entry records the running build version and PID. Builds from git archive retain the version information exported by Git. (26dd310, 4547f82)
  2. Access records for admitted PROXY connections show the TCP peer in peer, the header handling result in proxy and the effective client endpoint in src. (e1b7777)

Changes (Technical)

  1. Split listener admission, connection handling and shutdown into separate modules. DNS address and SRV lookups now share response framing and CNAME traversal. (266c1fe, 27bbfa3, d1cdec8, 942e2e5)
  2. Debian package builds validate their inputs before clearing the build directory and produce consistent file permissions across build users' umasks. (8a1da2b, 562403e)
  3. The release workflow waits for the tagged commit's branch CI before building and linting six architectures and uploading the draft assets. Prerelease package attachments use GitHub's dotted filename and retain the original Debian version inside the package. (7f39bbd, 180b6cd)

Full Changelog since previous stable release: v1.2.4...v1.3-beta2
Full Changelog since previous pre-release: v1.3-beta1...v1.3-beta2