Commit Graph
598 Commits
Author SHA1 Message Date
Lanlan13-14 e26714a181 feat: support TLS rekey fix, data-ciphers negotiation, tls-crypt-v2 for OpenVPN (#2989) 2026-07-18 19:18:54 +08:00
anytls bd749c65bc feat: sync anytls v0.0.13 (#2990) 2026-07-18 10:41:27 +08:00
wwqgtxx a5167fa4ab fix: allow JLS fallback before the server flight
Decide whether fallback is safe based on bytes actually written instead of JLS authentication status. This allows authenticated preflight failures, including HRR and TLS configuration mismatches, to relay the untouched ClientHello to the camouflage target.

Keep rejecting fallback after a partial or complete server flight, update jls-tls for pre-write alert suppression, and add coverage for both sides of the write boundary.
2026-07-16 23:02:17 +08:00
wwqgtxx f86bc224dc fix: align HelloRetryRequest handling with JLS v3
JLS v3 does not permit HelloRetryRequest during JLS authentication. Keep the ClientHello random unchanged across HRR and make clients continue as ordinary TLS with certificate verification.

When an authenticated ClientHello would require HRR, fail before writing handshake data and wrap ErrJLSAuthFailed. This allows stream and QUIC callers to forward the untouched handshake to the camouflage fallback instead of accepting a non-standard JLS exchange.
2026-07-16 22:17:24 +08:00
wwqgtxx 423611628c chore: better UserFromConn implementation 2026-07-16 20:47:52 +08:00
freephilx 0ee584171e fix: reconnect OpenVPN on server soft reset (#2978) 2026-07-16 17:04:33 +08:00
wwqgtxx 9a7e726657 fix: performance regression caused by unnecessary wrapping in stream encryption 2026-07-16 16:27:34 +08:00
wwqgtxx 5c1b8bfc31 chore: authenticate JLS ServerHello using its wire encoding
JLS authenticates the serialized ServerHello with only the random field zeroed. The previous marshalForJLS implementation reordered extensions to match rustls-jls's internal struct order, even when that order differed from the bytes sent on the wire.

That canonical order is not defined by TLS or the JLS specification and couples this package to a rustls-jls implementation detail. Use the normal marshal output when sending and the original wire bytes when receiving, preserving extension order and leaving the TLS transcript untouched.

This intentionally removes compatibility with rustls-jls clients that re-encode ServerHello extensions before JLS verification.
2026-07-16 09:04:31 +08:00
wwqgtxx e3c1ea06a4 chore: better handshakeRecorderConn impl 2026-07-16 08:40:18 +08:00
wwqgtxx e9119858b2 chore: change the brutal negotiation in shadowquic to be asynchronous 2026-07-16 00:02:50 +08:00
wwqgtxx 769ea6f5b4 feat: support restls for vmess/vless/trojan outbound and listener 2026-07-15 16:49:02 +08:00
wwqgtxx c015694bf3 feat: support shadowtls for vmess/vless/trojan outbound and listener 2026-07-15 15:51:35 +08:00
wwqgtxx 86984831ed fix: the incorrect tls stack was used in shadowtls tests 2026-07-15 08:54:41 +08:00
wwqgtxx 2b0d8411fa fix: make shadowtls v2 read deadlines recoverable 2026-07-15 00:31:49 +08:00
wwqgtxx 7a3c37cb33 fix: make shadowtls v3 read deadlines recoverable 2026-07-15 00:31:14 +08:00
wwqgtxx 3f22309b51 chore: respect the incoming context during JLS fallback 2026-07-14 21:51:12 +08:00
wwqgtxx 44dd834fef chore: preserve jls in-user for shadowsocks listeners 2026-07-14 17:58:28 +08:00
wwqgtxx 309cfbd613 chore: reimplement shadowtls 2026-07-14 17:22:01 +08:00
wwqgtxx 94409eb659 chore: remove redundant writeFull in sudoku 2026-07-14 09:16:29 +08:00
wwqgtxx 1d1b370e4c chore: remove redundant writeFull in snell v4 2026-07-14 09:16:19 +08:00
wwqgtxx f23e43e68a chore: remove redundant writeFull in gost relay 2026-07-14 09:16:19 +08:00
wwqgtxx 95af34af06 chore: remove redundant writeFull in shadowquic 2026-07-14 09:16:19 +08:00
wwqgtxx bfa9ea1d2b feat: support brutal for shadowquic (mihomo private extension) 2026-07-14 08:49:22 +08:00
wwqgtxx 3b73922fb9 chore: cleanup shadowquic code 2026-07-14 00:28:24 +08:00
wwqgtxx 611a4481fa feat: support jls for vmess/vless/trojan outbound and listener 2026-07-13 18:49:53 +08:00
wwqgtxx dc4d4fcb8c chore: allow jls with utls client-fingerprint 2026-07-13 08:57:32 +08:00
wwqgtxx 2b2bdf6d22 feat: support jls for shadowsocks outbound and listener 2026-07-13 01:31:09 +08:00
wwqgtxx aea5ce4142 feat: support shadowquic outbound and listener 2026-07-12 22:28:43 +08:00
wwqgtxx 5677fd3808 feat: add name-cert-verify to support separate certificate verification name 2026-07-12 18:12:59 +08:00
wwqgtxx 3766a08754 fix: set global CA pool and NTP time for restls 2026-07-12 17:53:03 +08:00
lyaaz 76d80883dd feat: add support for TLSAuth for Openvpn (#2969) 2026-07-12 16:33:45 +08:00
saba-futai 9729296862 chore: sync to sudoku v0.4.8 (#2966) 2026-07-12 08:16:44 +08:00
wwqgtxx 975389a1e5 fix: intermittent timeouts during the soak test 2026-07-10 22:30:38 +08:00
AaronChen0 75a3ea8b2d fix: leaked openStreams on failure in TUIC client (#2959) 2026-07-10 21:36:51 +08:00
Medium1992 6a52d23a13 chore: do not force trailing path / when both sessionID and seq are placed elsewhere for xhttp 2026-07-09 07:35:14 +08:00
SaltyMonkey 02dfcf2b4d fix: incorrect alphabet size used in session-table for predefined tables in xhttp-config 2026-07-09 07:34:03 +08:00
wwqgtxx e8ab2d047e fix: alpnAwareRoundTripper behavior in mekya client 2026-07-08 15:50:32 +08:00
wwqgtxx 9cece132be chore: add test for alpnAwareRoundTripper in mekya client 2026-07-08 15:50:32 +08:00
wwqgtxx 2d45f9ec16 chore: using new net/http api in mekya client 2026-07-08 15:50:32 +08:00
wwqgtxx cf8545dbd1 chore: stabilize traffic wait timing in tlsmirror test 2026-07-08 15:50:32 +08:00
wwqgtxx e10a1a707f feat: support mekya for vmess 2026-07-07 23:35:20 +08:00
wwqgtxx a198581333 feat: support mkcp for vmess 2026-07-07 18:35:42 +08:00
Aaron Chen e3972e78fa fix: apply TUIC v5 UDP relay size clamp when building server options (#2943) 2026-07-07 16:21:46 +08:00
Aaron Chen 63e4d5a312 fix: TUIC v5 fragmented UDP reads in quicStreamPacketConn.ReadFrom (#2942) 2026-07-07 14:19:30 +08:00
wwqgtxx 2f510e86ad feat: support tlsmirror for vmess 2026-07-07 10:48:02 +08:00
wwqgtxx 5ab5eb31f6 fix: snell v2 listener can't pass test 2026-07-05 22:51:55 +08:00
wwqgtxx 1f93334106 fix: udp WriteTo returned wrong count 2026-07-05 22:29:19 +08:00
wwqgtxx a1c09adb91 feat: support restls for shadowsocks listener 2026-07-05 18:14:26 +08:00
wwqgtxx 27efee2dc7 chore: cleanup unused code in OpenVPN 2026-06-29 14:11:46 +08:00
Easy-Ez d20e85081a feat: support custom peer-info for openvpn outbound (#2926) 2026-06-29 13:44:12 +08:00