Skip to content

fix(reality): propagate fallback target FIN (sing-box v1.14.4) - #1

Draft
LE-saber wants to merge 10 commits into
maint/v1.14.4from
fix/reality-fallback-close-v1.14.4
Draft

LE-saber wants to merge 10 commits into
maint/v1.14.4from
fix/reality-fallback-close-v1.14.4

Conversation

@LE-saber

@LE-saber LE-saber commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Status (2026-11-23)

Available for testing and use — VPS operator reports the REALITY fallback fix works. A Linux amd64 binary is publicly distributed via the v1.14.4-realityfix.1 prerelease (direct download; no GitHub login required). The successful CI run verified the local fallback EOF regression, TLS/VLESS package tests, Linux amd64 build, and artifact checksums.

Operator deployment logs showed version 1.14.4-realityfix.1, an active service and listeners on TCP 443 / 4433 / 2053; the operator later confirmed the fix worked. A published quantitative packet capture and long-term resource/flood benchmark are not yet available. The patch propagates FIN; it does not guarantee complete teardown of uncooperative peers or throttle connection-rate spikes.

Documentation: English technical guide · 中文部署指南.


Summary

  • Pin a maintenance branch to official sing-box v1.14.4 (c005f35300ce76427dc285481ec5695f5b179cd2).
  • Apply the minimal MetaCubeX/utls PR #6 to an isolated temporary copy of pinned metacubex/utls v1.8.7 during build (no committed go.mod/go.sum changes).
  • Add an offline regression test for invalid REALITY clients: when B closes after its HTTP response, A must propagate EOF to the probing client without waiting for that client to send FIN.
  • Build Linux amd64 via Actions and upload binary + SHA256, with clear deployment and rollback precautions.

Tests / limitations

CI must show green before considering an artifact usable. Manual/prod testing is not completed; no production deployment is requested. The patch sends a TCP FIN but does not guarantee full resource reclamation for malicious clients ignoring FIN, and does not prevent new inbound connection floods or repeated A->B handshake attempts. The upstream TestReality uses public google.com, so the CI gating checks use a local regression plus TLS/VLESS package tests. See docs/REALITY_FALLBACK_FIX.md.

Target: maint/v1.14.4, not fork default testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant