Skip to content

Releases

v1.27.1

Choose a tag to compare

@github-actions github-actions released this 24 Nov 06:51
  • Improve WSSMux carrier recovery across configured endpoints while preserving
    the established retry behavior for single-endpoint deployments.
  • Retire idle carriers with updated peers while keeping the warm pool and
    active streams. Allow operators to prefer other carriers during a planned drain.
  • Add an optional server limit for pending and live physical WSSMux sessions,
    and support per-endpoint edge IP and TLS hostname settings.
  • Report control and data-carrier health separately, with data-route and
    admission diagnostics.
  • Update Gorilla WebSocket to address GO-2026-6278.

بازیابی اتصال WSSMux در پیکربندی‌های چندمسیره بهتر شده و رفتار تلاش مجدد
برای پیکربندی تک‌مسیره حفظ می‌شود. با به‌روزرسانی هر دو سمت، حامل‌های بیکار
آزاد می‌شوند و اتصال‌های فعال برقرار می‌مانند. سقف اختیاری نشست‌های فیزیکی،
تنظیم IP و نام TLS برای هر مقصد، و گزارش جداگانهٔ سلامت مسیر کنترل و داده
هم اضافه شده‌اند.
وابستگی Gorilla WebSocket هم برای رفع مشکل امنیتی به‌روز شده است.

v1.27.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 10:34
  • Resume eligible managed Short HTTPS TCP streams on a verified sibling path.
  • Recover new WSSMux TCP admissions when a stream open stalls and another
    carrier is ready. WSMux and WSSMux also try configured backup addresses
    for failed data upgrades while retaining the active control connection.
  • Reduce Go heap usage for idle WSSMux streams, reuse short-frame writers,
    steer new streams away from recent bulk traffic, and batch forwarded UDP
    datagrams. Eliminate redundant TCP keepalive settings on forwarded accepts.
  • Add opt-in WSSMux first-reply timing with Linux TCP socket metrics and
    test carrier replacement while verified traffic continues on another link.
  • Reduce L3 FEC copying, keep Native UDP reassembly moving under fragment
    loss, and report jitter from managed-path RTT probes.
  • Preserve existing kernel port reservations during tuning and enforce
    restore limits when creating backups.
  • Close cancelled KCP binds and wait for reverse tunnel listeners during
    fallback startup.

اتصال‌های جدید WSSMux هنگام کندی باز شدن استریم می‌توانند از مسیر دیگری
استفاده کنند. اگر اتصال داده برقرار نشود، WSMux و WSSMux آدرس‌های پشتیبان
را امتحان می‌کنند و اتصال کنترل را حفظ می‌کنند. مصرف حافظهٔ استریم‌های
بیکار کاهش یافته و عیب‌یابی زمان اولین پاسخ دقیق‌تر شده است. ادامهٔ
اتصال‌های واجد شرایط Short HTTPS روی مسیر جایگزین، حفظ رزرو پورت‌ها و
کنترل محدودیت‌های بازیابی هنگام تهیهٔ نسخهٔ پشتیبان هم در این نسخه آمده‌اند.

v1.26.1

Choose a tag to compare

@github-actions github-actions released this 15 Nov 18:33
1f68345
  • Preserve server-first data through HTTP CONNECT proxies, accept successful
    CONNECT replies and interim responses, and bound proxy response headers.
  • Validate proxy addresses and SOCKS replies, redact malformed proxy credentials,
    and interrupt cancelled proxy and Direct WS/WSS connection setup promptly.
  • Wait for listener and forwarded UDP shutdown before releasing their ports;
    stop incomplete admissions and UDP backend sockets with their tunnel generation.
  • Honor changed QUIC read deadlines and buffered FEC deadlines without adding
    per-packet deadline allocations. Use ordinary UDP writes when batching is absent.
  • Preserve Direct and reverse mux responses after upload EOF, and reduce the
    relay worker count while retaining cancellation and directional EOF handling.
  • Keep failed mux datagram buffers immutable until their writer releases them,
    preventing cross-flow payload corruption after write timeouts.
  • Resume partially received Noise records after read timeouts. End failed Noise
    writers so peers can reconnect, and keep authentication and padding errors terminal.
  • Synchronize TLS, gRPC and SSH setup cancellation with connection handoff;
    reject HTTP carrier setup responses that arrive after cancellation.
  • Bound retained backend-failure log suppression entries across reconnects.
  • Update Go security libraries and smux FIN/receive-credit handling; retain
    existing wire formats, presets and configuration compatibility.

پایداری اتصال از طریق پراکسی، تحویل پاسخ پس از پایان ارسال، توقف و آزادسازی
پورت‌ها و رفتار timeout در QUIC، FEC و Noise اصلاح شده‌اند. خرابی دادهٔ UDP
پس از timeout نوشتن برطرف شده، تعداد workerهای relay و حافظهٔ گزارش خطاها
کاهش یافته و وابستگی‌های امنیتی به‌روز شده‌اند. قالب ارتباط و تنظیمات فعلی
سازگار باقی می‌مانند.

v1.26.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 07:22
  • Recover silent WS/WSS/WSSMux control peers after 30 seconds without inbound
    control traffic, and limit control messages to 1 KiB.

  • Close control connections rejected during shutdown across transports, and
    stop WebSocket handlers before starting services when admission is rejected.

  • Release stalled mux users when their data session fails, allowing fresh
    connections to progress without restarting the tunnel.

  • Add control recovery, shutdown admission and WSSMux scale regression coverage.

  • Configuration and wire formats remain unchanged.

  • Leave header-sized room at common WSS/WSSMux TLS record boundaries, avoiding
    tiny trailing records on bulk writes. Preserve immediate small writes,
    framing, authentication, receive windows and adaptive relay-buffer growth.

  • Keep one full-sized receive buffer per L3 UDP flow, avoiding an extra
    readiness syscall and shared buffer exchange for every reply. Prefer CPU
    efficiency over reducing idle-flow memory.

  • Renew uncapped UDP reply timers only after an idle deadline fires. Preserve
    the actual last-activity expiration and full per-read pacing budgets for
    bandwidth-limited flows.

  • Reuse separate send/receive HMAC states for authenticated FEC under the
    existing I/O locks. Preserve directional keys, tags, forgery rejection and
    parity recovery while removing per-shard HMAC setup and allocations.

  • Let affordable small UDP datagrams progress while another flow waits for a
    larger pacing quantum. Wake pacing waits when new traffic arrives; retain
    per-flow FIFO ordering and the existing connection and bandwidth limits.

v1.25.0

Choose a tag to compare

@github-actions github-actions released this 12 Nov 07:13
b32976d
  • Keep address health selection scoped to the active carrier and preserve
    queued users when a mux carrier closes during admission.
  • Reduce forwarded UDP receive allocations and bound backend-list parsing
    without changing datagram payloads, peer isolation or backend selection.
  • Reduce contention between live upload and download counters and allocations
    for canonical WSSMux control frames. Preserve payload framing and encryption.
  • Keep WS/WSS load counters current during fragmented transfers.
  • Preserve immediate mux replies and buffered stream tails with smux v1.5.59.
  • Join client workers before reload or transport fallback while preserving
    the control-channel goodbye, including queued KCP output.
  • Prefer ready WSSMux carriers without measured TCP backpressure, using FIFO
    readiness order to preserve fair admission for fresh and quiet users.

مصرف حافظه و تخصیص‌های مسیر UDP و پیام‌های کنترلی WSSMux کمتر شده و انتخاب
مسیر سالم، پذیرش اتصال‌های صف‌شده و تحویل پاسخ و انتهای داده‌های mux اصلاح
شده‌اند. توقف کلاینت پیش از تعویض ترنسپورت کامل می‌شود و پیام پایان KCP حفظ
می‌شود. زمان‌بندی WSSMux کانال‌های آماده با فشار کمتر را ترجیح می‌دهد.

v1.24.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 19:43
c62ead6
  • Remove persistent traffic totals, volume quotas, per-port usage logs and their
    background workers. Legacy sniffer settings remain readable but do not
    enable accounting. Existing volume limits are no longer enforced.
  • Retain live throughput measurements for adaptive pool sizing and stall
    detection, along with connection limits and bandwidth caps. Keep byte counts
    out of health snapshots and uptime history.
  • Remove the kernel tunnel's one-second accounting sampler. Sample heap
    diagnostics through runtime/metrics and enumerate file descriptors in
    bounded batches. Establish a fresh live baseline after a monitor restart.
  • Harden backup publication, retention and archive extraction. Serialize
    configuration changes, stage restores and preserve rollback state when a
    restore cannot complete.
  • Preserve active and boot-enabled service states during rename. Publish
    systemd units atomically, serialize crontab edits and report maintenance
    failures instead of reporting success.
  • Split Connection Test lifecycle and transfer probes into focused files and
    correct partial-hour uptime reporting.

آمار مصرف حجمی، سهمیهٔ حجم و ثبت مصرف هر پورت حذف شدند تا کارهای پس‌زمینه و
نوشتن روی دیسک کمتر شود. سهمیه‌های حجمی قدیمی دیگر اجرا نمی‌شوند. اندازه‌گیری
لحظه‌ای سرعت، تنظیم خودکار pool، تشخیص توقف انتقال و محدودیت سرعت و تعداد
اتصال باقی می‌مانند. پایش منابع سبک‌تر شده و پشتیبان‌گیری، بازیابی، تغییر نام
تانل و زمان‌بندی سرویس‌ها در برابر خطا و اجرای هم‌زمان مقاوم‌تر شده‌اند.

v1.23.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 07:42
74a170c
  • Choose NUM3 data carriers using their TCP send backlog and acknowledgement
    delay alongside active stream counts. Confirm transient queue samples and
    account for path RTT, receiver windows and stalled retransmissions.
  • Bound and adapt the TCP unsent queue on NUM3 data sockets to reduce bulk
    queueing while preserving throughput, the send buffer and congestion window.
  • Negotiate idle pool retirement between updated NUM3 peers and repair lost
    minimum pool capacity before the next sizing tick.
  • Build with Go 1.26.11 and verify the updated source-install toolchains.

v1.22.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 17:42
  • Add TCP Forward (XMPP) (tcpfwd-xmpp) with the XMPP-shaped opening
    observed in PenguTunnel NUM3. This built-in Backpack transport protects
    control messages, destinations and application data with AES-256-GCM.
  • Reuse warm TCP sessions for concurrent forwarding and prefer them during
    short bursts. Reuse encryption and framing buffers across data records.
  • Select tcpfwd-xmpp on both Backpack peers with the same token. The
    existing TCP Forward (tcpfwd) mode uses authenticated setup and
    forwards application bytes as plain TCP.

حالت TCP Forward (XMPP) با پیام آغازین NUM3، دادهٔ رمزگذاری‌شده و استفادهٔ
مجدد از اتصال‌های TCP اضافه شد. برای استفاده، هر دو سرور BackPack را به‌روز
کنید و tcpfwd-xmpp را با توکن مشترک انتخاب کنید. حالت tcpfwd بعد از
احراز هویت و تعیین مقصد، داده را روی TCP عبور می‌دهد.

v1.21.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 08:14
  • Add the built-in TCP Forward (tcpfwd) transport, inspired by PenguTunnel.
    It uses a TCP preface, AES-256-GCM for the control and destination messages,
    and plain TCP for application bytes. Both peers run this Backpack version.
  • Start with two warm TCP connections by default and adapt the spare pool up
    to 256. Send a heartbeat every 10 seconds by default and reconnect after
    25 seconds of control-channel inactivity.

حالت بومی TCP Forward به منوی تانل معکوس اضافه شد. هر دو سمت همین نسخهٔ
BackPack را اجرا می‌کنند. کنترل و تعیین مقصد با AES-256-GCM محافظت می‌شوند.
دادهٔ کاربر روی TCP عبور می‌کند و استخر اتصال از دو اتصال شروع می‌شود.

v1.20.3

Choose a tag to compare

@github-actions github-actions released this 07 Nov 20:12
17a6b98
  • Keep the WS, WSS, WSMux and WSSMux control channel and existing streams
    on their live connections when route scores change. New data dials use
    the better route. A failed control channel still reconnects through the
    configured addresses.
  • Measure WebSocket routes with authenticated upgrades that take no control
    or pool slots. WSS probes complete TLS, eliminating the repeated handshake
    EOF messages caused by TCP-only health checks.
  • Upgrade both peers to enable WebSocket health scoring. Ordinary fallback
    continues to work during a mixed-version upgrade.

در WS و WSS، از جمله حالت‌های Mux، تغییر امتیاز IPv4 و IPv6 فقط مسیر اتصال‌های
دادهٔ جدید را عوض می‌کند. کانال کنترل و اتصال‌های فعال برقرار می‌مانند و اگر
کانال کنترل واقعاً قطع شود، کلاینت آدرس‌های پشتیبان را امتحان می‌کند. تست سلامت
WSS پس از تکمیل TLS احراز هویت می‌شود. برای امتیازدهی WebSocket هر دو سمت را
به‌روز کنید.