๐ v10.1.0 โ Hysteria2, smarter testing, and a fresh xray-core
This release makes the http tester a lot smarter and faster, adds the
Hysteria2 protocol, and catches up to the latest xray-core. ๐
โ
Nothing breaks. Every new option is optional โ if you don't touch the
new flags, everything works exactly like before.
๐ New protocol: Hysteria2
You can now parse, test, and run Hysteria2 configs! ๐ฅ
- Works with both
hysteria2://and the shorterhy2://links. - Supported everywhere:
parse,http(testing),proxy, and the web UI. - Understands SNI,
insecure, and Salamander obfuscation
(obfs/obfs-password), and handles IPv6 addresses correctly.
xray-knife http -c "hy2://..."๐ฏ Smarter testing: don't trust just one website
Before, a config was judged by reaching a single site (Cloudflare). The
problem? Some proxies can reach Cloudflare but nothing else โ and they'd
still show as "working." ๐
Now you can test each config against a panel of different websites and
grade it by how many it can actually reach. ๐
| Flag | What it does |
|---|---|
--check-preset
| Test against a ready-made set of sites. Choose: cloudflare, gstatic, global, google, streaming.
|
--test-urls
| Your own comma-separated list of URLs to test. |
--url-success-threshold
| How many must succeed to "pass" (e.g. 0.75 = 75%). Below that but above zero = semi-passed โ ๏ธ.
|
# Grade each config against a global mix of sites
xray-knife http -f configs.txt --check-preset global- ๐ฌ Great for checking if a config really works for YouTube / Google /
streaming, not just a generic CDN. - ๐ต๏ธ Fake "captive portal" pages that pretend to work are now correctly
rejected. - ๐ You get a clear per-website breakdown (which site failed and why) โ
in the terminal, in CSV, in JSON, and in the web dashboard.
โก Test big lists way faster
Testing thousands of configs? These options make it dramatically quicker:
| Flag | What it does |
|---|---|
--prescan
| ๐ฉบ A quick health check that instantly skips dead servers before the slow full test. |
--prescan-timeout
| Timeout for the quick check in ms (default 2000).
|
--prescan-workers
| How many quick checks run at once (default 512).
|
--max-passed
| ๐ Stop as soon as N configs pass โ no need to wait for the rest. |
--dedup-semantic
| ๐งน Remove hidden duplicates โ configs that are really the same server but look different (e.g. renamed or reordered). |
# Quickly find the first 20 working configs from a huge list
xray-knife http -f configs.txt --prescan --max-passed 20- ๐ก๏ธ UDP-based configs (Hysteria2, WireGuard, QUIC, mKCP) are never
wrongly dropped by the quick check โ they're always kept and tested.
๐ Protocol improvements
- ๐ REALITY post-quantum keys โ VLESS and Trojan now support the new
ML-DSA-65 verification key (thepqvparameter), ready for
quantum-resistant setups. - ๐ก WireGuard โ added support for
keepalive,allowedips, and
reserved(works with Cloudflare WARP-style values, comma or base64). - ๐งฉ Shadowsocks โ modern SS-2022 links (from sing-box /
shadowsocks-rust) now parse correctly, alongside the classic format. - ๐งฆ SOCKS โ more robust login parsing; links without a password no
longer cause crashes.
๐ Fresh xray-core (important compatibility work)
We upgraded to the latest xray-core and its dependencies. Upstream
removed a couple of old settings โ we handle them automatically so your
existing links keep working: โจ
allowInsecurewas removed upstream โ we now use the sanctioned
verifyPeerCertByNamereplacement for VLESS, Trojan, and VMess.- mKCP
header/seedwere removed upstream โ configs now build cleanly
with defaults. - ๐ Fixed a VMess default-network bug, gRPC mode handling, and ALPN
parsing. - ๐ Fixed a VLESS XHTTP bug where the
extrafield could get corrupted.
๐งฐ Proxy fixes
- ๐ฏ When you pass a custom inbound (
-I/--inbound-config), the proxy
now listens on the address/port from that link โ so the health check,
TUN, and system proxy all point to the right place. - โฑ๏ธ Fixed an "instant timeout" bug in chain rotation when the delay setting
was left empty (now defaults to a sensible5s). - ๐ Rotation now resets the failure counter for each fresh connection, so a
new proxy doesn't inherit the last one's bad luck.
๐งช Under the hood
Added lots of new automated tests covering the multi-website grading,
presets, deduplication, the quick pre-scan, Hysteria2 parsing, and the
SOCKS/Shadowsocks fixes โ so all of this stays reliable. โ
Full details & downloads below. Happy testing! ๐