No description
Find a file
白日梦主义 8e78342c2b
fix(http): decode proxy Basic auth with standard base64 (#1596)
The HTTP proxy server's dispatch method decodes the Proxy-Authorization
Basic credential using base64.URLEncoding, but RFC 7617 specifies that
Basic authentication uses standard Base64 encoding (base64.StdEncoding).
The two encodings differ in their use of +/ vs -_ characters, so any
credential containing 0xff or other bytes that encode to / or + in
standard Base64 will fail to decode with URLEncoding, causing valid
authentication attempts to always be rejected with 407.

Additionally, the "Basic " scheme prefix check was case-sensitive, but
RFC 7235 section 2.1 specifies that auth-scheme is case-insensitive.

Fix both issues by switching to base64.StdEncoding and using
strings.ToLower for the scheme comparison.
2026-06-04 15:14:58 -07:00
.github ci: bump action versions 2026-05-05 17:08:54 -07:00
app fix(http): decode proxy Basic auth with standard base64 (#1596) 2026-06-04 15:14:58 -07:00
core Merge commit from fork 2026-05-21 14:09:41 -07:00
extras fix(outbounds): use hostname for HTTPS proxy SNI (#1597) 2026-06-04 15:08:18 -07:00
media-kit chore: media kit 2023-09-01 18:09:56 -07:00
scripts chore(scripts): detect arch for loong64 2025-01-08 14:57:02 +09:00
.gitignore feat: quic-go v0.54.0 2025-09-13 16:17:59 -07:00
CHANGELOG.md chore: update README 2023-09-01 17:51:44 -07:00
Dockerfile Add nftables to Dockerfile for firewall rules (#1543) 2026-04-02 12:44:13 -07:00
go.work chore: bump cobra & viper versions 2026-02-21 17:03:34 -08:00
go.work.sum feat: omit datagram TP 2026-04-25 17:07:05 -07:00
hyperbole.py fix(hyperbole): android build 2026-05-08 16:26:15 -07:00
LICENSE.md chore: add license 2023-09-01 13:44:12 -07:00
logo.svg chore: update README 2023-09-01 17:51:44 -07:00
platforms.txt ci: add linux/loong64 to platforms.txt 2025-01-08 14:56:15 +09:00
PROTOCOL.md fix: typo in PROTOCOL.md 2024-03-13 19:39:55 -07:00
README.md docs: hyphenate compound modifiers in tagline (#1578) 2026-05-20 17:35:33 -07:00
requirements.txt fix: update requirements.txt 2 2026-03-29 15:03:43 -07:00

Hysteria 2

License Release Telegram Discussions

Hysteria is a powerful, lightning-fast, and censorship-resistant proxy.

Get Started

中文文档

Hysteria 1.x (legacy)


🛠️ Jack of all trades

Wide range of modes including SOCKS5, HTTP Proxy, TCP/UDP Forwarding, Linux TProxy, TUN - with more features being added constantly.

Blazing fast

Powered by a customized QUIC protocol, Hysteria is designed to deliver unparalleled performance over unreliable and lossy networks.

Censorship resistant

The protocol masquerades as standard HTTP/3 traffic, making it very difficult for censors to detect and block without widespread collateral damage.

💻 Cross-platform

We have builds for every major platform and architecture. Deploy anywhere & use everywhere. Not to mention the long list of 3rd party apps.

🔗 Easy integration

With built-in support for custom authentication, traffic statistics & access control, Hysteria is easy to integrate into your infrastructure.

🤗 Chill and supportive

We have well-documented specifications and code for developers to contribute and/or build their own apps. And a helpful community, too.


If you find Hysteria useful, consider giving it a !

Star History Chart