Skip to content

AWH v4.4.7

Choose a tag to compare

@anyks anyks released this 18 Nov 18:59
· 26 commits to main since this release

Changes in the project:

A-NTS

  • Migrated to the updated A-NTS: new install layout include/anyks/nts and lib/anyks, __NTS_* macros, dedicated MSVC x64 and ARM64 flags.
  • Dependency builders (Unix and Windows) switched to the new layout, stale paths cleaned up.

TLS and networking

  • Fixed TLS setup: a server without a certificate accepts plain connections again (A-NTS migration regression).
  • The client requests encryption before wrapping the link: the proxy phase and plain TCP stay clear-text, direct TLS is unaffected.
  • Fixed switching the channel to the server after a proxy reply (CONNECT/200 → TLS over the tunnel).

Proxy and SOCKS5

  • On CONNECT the HTTP proxy opens a direct connection to the target and tunnels bytes instead of re-sending the request.
  • End-to-end HTTPS through the HTTP proxy (with and without Digest authentication) and through SOCKS5.

Build

  • Per-toolchain dependency prefix via AWH_THIRD_PARTY: MSVC uses third_party-msvc, CLANGARM64 uses third_party-clangarm64.
  • Static library merge: dependency directory and AR/RANLIB are taken from the environment; libdependence.a fallback for the GNU toolchain on Windows.
  • Windows detection for any MSYS2 environment; robust \r stripping when parsing archive member names (no external tr).

Verified

  • TLS 1.3, TLS 1.2 (ECDHE and DHE), HTTP/2, WebSocket: macOS, Fedora 44, Windows x64 (MSVC, MinGW), Windows ARM64 (MSVC, CLANGARM64).
  • Proxy and SOCKS5: both the AWH client (HTTP/2 and HTTP/1.1) and curl receive 401 from an HTTPS target through the proxies, including cross-stand runs.