gost/tests/e2e/testdata
ginuerzh 64b71bd8a6
test(e2e): add utls dialer regression suite (#888)
Adds an e2e suite (tests/e2e/utls_test.go + testdata/utls/*)
that exercises the utls dialer in a forward-proxy chain:

  curl -> client gost (http proxy :8080)
       -> chain node (http connector + utls dialer)
         -> server gost (http over TLS listener :8443)
           -> tcp-echo

Two cases:

- TestUTLSInsecure: regression for go-gost/gost#887. A utls
  dialer with `secure: false` must still complete the handshake
  (InsecureSkipVerify must be honoured). The old unsafe cast read
  garbage for InsecureSkipVerify and the handshake failed.
- TestUTLSSecureWithCA: exercises the converter's RootCAs /
  ServerName path with a CA-signed server cert.

Uses the deterministic `Chrome` fingerprint (not `randomized`, which
randomises the ClientHello and is flaky against a standard Go TLS
server).

Bumps github.com/go-gost/x to v0.13.11, which fixes the
second half of #887: the curve-preference enum divergence between
crypto/tls and utls (Go 1.24+ appends PQC hybrid curves that
utls does not define).

Related: go-gost/gost#887, go-gost/x#111, go-gost/x#112
2026-07-11 15:46:39 +08:00
..
dns test: add http2 handler e2e suite and tighten host-mapper + idle-timeout tests 2026-06-27 20:15:31 +08:00
file feat: add file handler e2e tests covering GET, PUT, index, auth, and 404 2026-06-26 22:19:13 +08:00
forward feat: add comprehensive forward handler e2e tests 2026-06-27 13:59:22 +08:00
http feat: add comprehensive HTTP e2e tests covering connector, TLS, probeResist, idleTimeout, and UDP relay 2026-06-26 22:00:35 +08:00
http2 test: add http2 handler e2e suite and tighten host-mapper + idle-timeout tests 2026-06-27 20:15:31 +08:00
mtls test(mtls): add e2e tests for mTLS client cert identity forwarding 2026-07-04 19:00:44 +08:00
parallel_selector WIP 2026-04-26 22:18:07 +08:00
pht gost: bump x to v0.13.9, relay to v0.6.2; add PHT e2e tests 2026-07-06 22:10:15 +08:00
shadowsocks Add e2e test cases for shadowsocks 2026-05-22 14:28:17 +08:00
utls test(e2e): add utls dialer regression suite (#888) 2026-07-11 15:46:39 +08:00