github valnesfjord/tg-ws-proxy-rs v2.7.3
tg-ws-proxy-rs v2.7.3

one hour ago

Router connections

  • When a client disconnects during upstream setup, the proxy cancels its pending
    connection. A client that half-closes after sending a packet gets a short
    grace period to finish delivery. The client idle timeout now includes route
    selection. Linux warns when file descriptors approach the process limit and
    releases idle WebSocket pool entries if accept runs out of descriptors (#186).
  • Repeated --dc-ip entries now select the last usable address for direct
    connections and pool warmup. An IPv4-only router can keep the same list as
    a dual-stack host. Remote proxies and Workers can still reach IPv6 targets
    independently of local IPv6 routing (#187).

Linux policy routing

  • Use --outbound-mark or TG_OUTBOUND_MARK to apply a decimal or hexadecimal
    32-bit firewall mark before each outbound TCP connection, including connections
    to HTTP and SOCKS proxies. Linux 5.17+ accepts CAP_NET_RAW; older kernels
    require CAP_NET_ADMIN. The OpenWrt service can grant the capability for
    supported kernels. LuCI validates the mark and the installer preserves it
    when migrating a manual launch. Thanks to qb60 (#176).

Cloudflare and media

  • Accept up to 256 bytes of padding on unencrypted MTProto envelopes sent over
    HTTP/2. This fixes media connections that closed as soon as the client sent
    its first packet with more than 15 padding bytes. Encrypted envelopes keep
    their 15-byte limit. Thanks to Runnin4ik for identifying and testing this
    on a Keenetic router (#185).
  • With --cf-http-fallback, a timed-out CF proxy WebSocket can retry on port
    80. The option defaults to off. Enabling it exposes the hostname and connection
    metadata between the proxy and Cloudflare. A Worker that responds with HTTP
    429 now gets a cooldown shared across DCs and pool refills (#188).

Installation and diagnostics

  • The OpenWrt offline guide covers the binary archive, separate LuCI package,
    checksum file and installer. Passing the binary archive in place of a LuCI
    package now produces an actionable error (#184).
  • Each --check result prints the endpoint and outcome together so installer
    scripts can parse it even when log messages arrive during the probe. The
    deployment guide includes commands for comparing TLS and plaintext results
    on a Keenetic router (#183).

Don't miss a new tg-ws-proxy-rs release

NewReleases is sending notifications on new releases.