Commit Graph
671 Commits
Author SHA1 Message Date
wwqgtxx 2e8a04c998 fix: tailscale failed to recover after the network was restored 2026-07-27 21:20:09 +08:00
wwqgtxx 3c16aaf118 chore: update quic-go to 0.61.0 2026-07-27 16:58:02 +08:00
wwqgtxx 95f7a0c512 fix: remove incorrect quic error wrapping 2026-07-27 02:04:51 +08:00
wwqgtxx 8453e589df feat: support AmneziaWG v3.0 2026-07-26 19:13:01 +08:00
wwqgtxx 49a5419d3c chore: update tailscale to v1.102.0 2026-07-26 12:51:50 +08:00
wwqgtxx a2c9556a0f fix: HTTP/2 read loop spinning on underlying StreamError 2026-07-25 22:35:09 +08:00
wwqgtxx e18ef3a1a3 fix: harden ShadowQUIC JLS camouflage forwarding 2026-07-24 00:34:54 +08:00
wwqgtxx 5e3cb10b5b fix: avoid reserved TLS suffixes in JLS FakeRandom
Regenerate the random seed when FakeRandom ends in a TLS downgrade canary or the HelloRetryRequest suffix, as required by JLS v3. Use the configured random source for both client and server hellos.
2026-07-23 17:47:52 +08:00
wwqgtxx 978d25ae85 fix: enforce ShadowQUIC JLS authentication in QUIC layer 2026-07-22 15:13:47 +08:00
wwqgtxx d8fbf85f38 chore: update bart 2026-07-21 20:07:10 +08:00
wwqgtxx e40b5962e4 feat: add rate-limit for restls listener 2026-07-20 14:51:26 +08:00
wwqgtxx 05b5334ce0 feat: add handshake-timeout for hysteria2 2026-07-20 10:13:03 +08:00
wwqgtxx 9ae1cc2be2 fix: shadowquic JLS pre-flight fallback handle 2026-07-17 15:52:42 +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 a70af27451 fix: remove unnecessary quinn-jls compatibility behavior 2026-07-16 10:03:47 +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 309cfbd613 chore: reimplement shadowtls 2026-07-14 17:22:01 +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 75eeba4292 chore: significantly trim unnecessary code from tailscale
reduced size by 2.3 MB on Windows/Linux build
2026-07-11 23:02:57 +08:00
wwqgtxx 3b85577f20 chore: make bbolt work on non-mmap supported platforms 2026-07-07 00:35:01 +08:00
wwqgtxx a1c09adb91 feat: support restls for shadowsocks listener 2026-07-05 18:14:26 +08:00
wwqgtxx bcfd434df3 chore: update chi to 5.3.0 2026-07-02 22:15:31 +08:00
wwqgtxx d924f1ca62 fix: CVE-2026-42505 for crypto/tls 2026-07-02 08:59:41 +08:00
wwqgtxx 1095055136 chore: upgrade bbolt to 1.5.0 2026-06-28 22:46:16 +08:00
wwqgtxx 24b6de71fc chore: lazy init reality server cert 2026-06-26 17:09:57 +08:00
wwqgtxx 93d33faa4f chore: increase REALITY target TLS record buffer to 16 KiB 2026-06-26 16:31:00 +08:00
wwqgtxx 26e3d220a5 chore: peer should set to expire unconditionally in tailscale-wireguard-go 2026-06-23 17:56:53 +08:00
wwqgtxx eca44d08d7 chore: update tfo-go ready for go1.27 2026-06-23 10:18:47 +08:00
wwqgtxx 94a7a3f3c0 fix: udp write in sing-mux 2026-06-20 16:34:56 +08:00
wwqgtxx 174cba4cce chore: update sing-tun 2026-06-20 15:52:37 +08:00
enfein 2c6ff7251d chore: bump mieru version to 3.34.0 (#2899) 2026-06-15 15:59:42 +08:00
wwqgtxx 793f61ec67 fix: crash in AmneziaWG receive path with slice bounds out of range when S4 is larger than incoming packet 2026-06-12 22:48:43 +08:00
wwqgtxx 7031b75698 chore: update quic-go to 0.60.0 2026-06-06 19:59:46 +08:00
wwqgtxx e928ef59c1 feat: add path-in-bundle to rule-providers to support extract from BundleMRS.7z when the local file does not exist 2026-06-05 12:13:12 +08:00
wwqgtxx 358fa5eb24 feat: add age-secret-key for proxy-provider and -age-secret-key for cmdline to support age armor format config decryption 2026-06-03 11:53:58 +08:00
Zhiqiang Zhang fc8c5a24b1 feat: support comp-lzo for OpenVPN (#2841) 2026-05-30 09:14:40 +08:00
enfein 8f2d84f915 chore: update mieru version to v3.33.0 (#2840) 2026-05-29 08:37:53 +08:00
wwqgtxx 38cb06d3a5 fix: hysteria2 realm stun domain resolve 2026-05-27 22:32:31 +08:00
wwqgtxx f30a64f93f feat: support hysteria2 gecko obfs 2026-05-25 15:35:22 +08:00
wwqgtxx 6e15299cab chore: remove AF_ALG in tailscale-wireguard-go 2026-05-21 20:52:19 +08:00
wwqgtxx 301d580d8a fix: compile issue of tailscale-wireguard-go dependency 2026-05-20 23:40:06 +08:00
wwqgtxx 3809a03c9f fix: stack panic after dispatcher attach nil 2026-05-20 23:26:50 +08:00
wwqgtxx 0ddf4bbffd chore: update sing-tun 2026-05-20 11:07:10 +08:00
wwqgtxx d27f3201ab chore: use pre-go1.27 tls.QUICConfig.ClientHelloInfoConn API for quic-go to avoid cloning tls.Config 2026-05-20 10:13:55 +08:00
wwqgtxx a2aca027e4 fix: pinger in tailscale not under our control 2026-05-20 09:33:22 +08:00
wwqgtxx a52a27ed56 fix: errors.ErrUnsupported backport 2026-05-19 01:53:05 +08:00
wwqgtxx 0dec35ed69 chore: always dial tcp on netstack for tailscale 2026-05-17 17:07:26 +08:00
wwqgtxx d2fcf71c4a fix: tailscale panic when working with dialer-proxy 2026-05-17 13:05:30 +08:00