mirror of
https://github.com/eycorsican/leaf.git
synced 2026-12-05 16:02:32 +00:00
A new interop lane puts a real leaf with each plugin in front of the servers people deploy, built from source at pinned revisions: anytls-go, sing-box stable and its testing branch, mihomo, and the original shadow-tls. Every pair runs the stream behaviours, plus the server's padding scheme checked on the wire, fingerprints, and the connections that must fail: wrong password, hijacked to the real site, TLS 1.2 site in strict mode. AnyTLS skips half-close-tail, which its protocol cannot carry. ShadowTLS marks it a known defect: the host shuts the socket's write side while an engine is still handshaking. `make interop` runs the lane, `make e2e` leaves it out, and CI runs it in a job of its own with the built servers cached. The harness no longer hands out a port twice in one process, and builds upstream Rust servers with their own toolchain, outside the workspace.