GeorgeXie2333/usque-app
Über uns
Unofficial Cloudflare WARP MASQUE Client for Windows, macOS, Linux and Android: system VPN, SOCKS5 and HTTP proxy over MASQUE, with chain proxy and routing rules.
Systeme und InfrastrukturGemessener Sternzuwachs
- in 24h
- +23
- in 7 days
- +196
- in 15 days
- +261
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
Original
English · 简体中文 · 繁體中文 · 日本語 · 한국어 · Русский · فارسی
An unofficial client compatible with Cloudflare® WARP® services for Windows, macOS, Linux and Android / Android TV,
with a native Flutter interface and a Rust MASQUE engine.
An independent project. Not affiliated with, sponsored by, or endorsed by Cloudflare, Inc.
|
Windows
|
Android
|
English interface previews rendered from the current source with sample data.
Overview
- Performance — a Rust MASQUE engine over HTTP/3 with automatic HTTP/2 fallback, batched UDP I/O on Android and Linux, a larger UDP receive buffer on Windows and Android, and selectable congestion control including BBRv2 and experimental BBRv3.
- VPN and local proxies — system VPN (TUN), SOCKS5 and HTTP proxy share one WARP connection and can run together.
- Chain proxy — leave WARP through OpenVPN, WireGuard, Proton VPN, VPN Gate, HTTP or SOCKS5.
- Routing and ad blocking — DIRECT / REJECT / PROXY rules for domains and CIDRs, Ads rules and country-based direct routing.
- Encrypted DNS — DoH or DoT for the WARP exit and for direct-rule queries.
- Network diagnostics — latency, packet loss and 60-second trends, with deep checks only after confirmation.
- Scenes — save common network setups in Profiles and switch between them.
- Privacy — a server-key check that cannot be skipped, system credential stores, redacted local diagnostics and no analytics.
- Platform integration — Windows tray, Android Quick Settings tile and TV navigation; 21 languages with light and dark themes.
Screens
Scenes Switch saved network setups |
Chain proxy OpenVPN, WireGuard and proxy exits |
Bypass settings Direct, block or proxy by rule |
Network quality Latency, loss and throughput |
How it works
Apps reach Usque through the VPN or proxies you turn on. Usque carries their traffic to WARP over MASQUE, where it leaves directly or through an optional chain exit. Explicit direct rules send matching traffic through your current network instead.
flowchart LR
apps["Apps and system traffic"]
usque(["Usque"])
warp["WARP"]
chain["Optional chain exit<br/>OpenVPN · WireGuard<br/>Proton VPN · VPN Gate<br/>HTTP · SOCKS5"]
local["Current network"]
net(("Internet"))
apps -->|"VPN/TUN<br/>SOCKS5 · HTTP"| usque
usque -->|"MASQUE<br/>HTTP/3 · HTTP/2"| warp
warp --> net
warp -.-> chain -.-> net
usque -.->|"DIRECT rules"| local -.-> net
classDef brand fill:#C2500C,stroke:#C2500C,color:#ffffff
class usque brand
Download
Version v0.3.5 adds macOS desktop support and configurable parallel connections, and makes scenes easier to switch. For an installed version, follow its release notes and the documentation at its tag.
| Platform | Minimum system | Package |
|---|---|---|
| Windows | Windows 10 2004, build 19041 | x64-v2 or ARM64 installer EXE |
| macOS | macOS 13 or later | DMGs for Apple Silicon (arm64) and Intel (x86_64) |
| Linux (since v0.3.3) | Ubuntu 22.04+, Debian 12+, supported Fedora; systemd | amd64 or arm64 AppImage, deb or rpm |
| Android / Android TV | Android 8.0, API 26 | arm64-v8a, x86_64 or armeabi-v7a APK, or the universal APK |
Windows x64 requires a CPU supporting x86-64-v2; ARM64 Windows uses the native ARM64 package. When the Android ABI is unknown, use the larger universal APK, which contains all three ABIs. Each release also includes two Windows MSI files reserved for in-app updates; install Windows manually with the EXE.
[!IMPORTANT] Download official packages only from GitHub Releases. Pull Request artifacts, local builds, and untagged binaries are not official.
Verify before installing. Compare the package SHA-256 with
SHA256SUMSand GitHub's asset digest, then verify the signer fingerprint published in the release notes. On Linux, also verify the Ed25519 manifest. Stop if any value differs.Never bypass a warning. Pre-1.0 Windows and Android packages use fixed, project-controlled self-signed certificates: Windows may show an unknown-publisher warning, and Android packages are installed outside Google Play. Do not disable antivirus or the firewall, or import certificates from unofficial packages, to bypass a warning.
- Upgrades migrate configuration one way. v0.3.2 and v0.3.3 use configuration schema 26; upgrading from v0.3.1 migrates schema 24 to 26, which v0.3.1 and older clients cannot read. v0.3.4 migrates schema 26 to 27, which v0.3.3 and older clients cannot read. Reinstalling an older package does not reverse the migration, so review configuration compatibility and any required pre-upgrade backup first. v0.3.5 migrates to schema 28, which v0.3.4 and older clients cannot read.
- Linux: the first AppImage VPN setup installs a background service with administrator authorization, and credentials require an unlocked Secret Service keyring. The Linux desktop guide covers GNOME/KDE, X11/Wayland, recovery and the tested coverage.
- Updates require confirmation before downloading and use the platform installer; there is no unattended installation.
- Installation and removal covers upgrades, uninstall, recovery and Android developer verification; Code signing lists the official identities.
Quick start
- Install a verified official package and open Usque.
- Complete the first-run permissions and terms steps, then register a Consumer WARP® account, optionally with a WARP License Key. If setup was interrupted, check the saved result before registering again. Usque does not accept new WARP Secret imports.
- Open Proxy. Turn on TUN (Windows/Linux) or VPN (Android) under Device traffic, and the SOCKS5 proxy or HTTP proxy switch at the top of its own section, then connect from Home.
Android setup requests only optional notifications. VPN authorization is requested when connecting with VPN output and may disconnect another VPN; proxy-only connections do not request it. These switches take effect immediately; listener address and port edits require Apply changes.
| Connection option | When to use it |
|---|---|
| VPN/TUN | Route system traffic through the tunnel, with your bypass and Android per-app rules. |
| SOCKS5 | Give compatible applications a local TCP/UDP proxy; remote DNS is the default. |
| HTTP proxy | Give compatible applications a local HTTP proxy, including HTTPS through CONNECT. |
| System proxy (Windows/Linux) | Point Windows or GNOME/KDE proxy settings at Usque's HTTP proxy; HTTP output must be enabled. |
VPN, SOCKS5 and HTTP are enabled by default; system proxy is off. They share one WARP connection and can run together. Turning off every output keeps the WARP connection open, but no app traffic uses it. Each account stores its own credentials; only one account connects at a time. Network settings are shared by all accounts.
Features
Performance and transport
- Throughput: the engine batches UDP sends and receives (
sendmmsg/recvmmsg) on Android and Linux, requests a larger UDP receive buffer on Windows and Android, and offers selectable HTTP/3 congestion control: Cubic by default, BBRv2, experimental BBRv3 and Reno. - Automatic transport: HTTP/3 with HTTP/2 fallback. IPv4 and IPv6 connection attempts help find a reachable endpoint, and supported H3 network changes can migrate the connection. See path behavior.
- Experimental L4 mode (opt-in) proxies TCP over HTTP/3. Without an OpenVPN TCP chain, it does not forward ordinary UDP, so applications that need UDP may not work. Auto does not select L4.
Scenes and accounts
- Local connection scenes in Profiles save account binding, chain proxy, endpoints, endpoint IP preference and transport. Review changes before use and restore the latest switch; the TUN/VPN and proxy switches, routing and DNS stay global. Saving a scene does not change the running connection, and saved and applied states remain distinct. Accounts are under Manage accounts → Accounts.
- WARP login information export: after confirmation, export your Consumer WARP login information (WARP Secret) to a file you choose. Usque cannot import that file to restore the account after reinstalling.
Chain proxy
- Open Proxy → Chain proxy to leave WARP through OpenVPN, WireGuard, WARP via WireGuard, Proton VPN, VPN Gate, HTTP or SOCKS5. Import a VPN configuration or add a proxy server, then select and apply one. Off by default; see the chain proxy guide.
- VPN, SOCKS5 and HTTP share the exit; explicit direct rules still apply.
- Native Proton setup is under validation; live sign-in, the human puzzle and the full tunnel remain untested.
Routing, blocking and DNS
- Full-tunnel VPN, tunneled DNS, Kill Switch, LAN access and DIRECT/REJECT/PROXY routing rules with Ads. Custom domains and CIDRs support more-specific exceptions; conflicts are checked before saving.
- Custom routing-rule edits apply to new flows during a stable connection without reconnecting. Existing TCP/CONNECT streams and active UDP targets retain their paths; check the apply result for pending or failed changes.
- Ads rules are prepared automatically when enabled and applied, checked every seven days while the app runs, and take effect on new requests without reconnecting. Rule details provides status, source and manual updates.
- Optional country-based direct routing downloads the selected countries' GeoIP data and the global GeoSite catalog separately. Usque uses domain rules when the name is visible, otherwise IP rules; unknown destinations stay in the tunnel.
- Custom WARP exit DNS: open Settings → Advanced network settings → WARP DNS, choose Plain DNS, DoH or DoT, and select Apply changes. Changing DNS reconnects an established session; the final chain exit keeps its own DNS policy.
Diagnostics
- Local network diagnostics and a Network Quality page showing latency, packet-loss readings and availability, queues and 60-second trends. Standard checks read local state; Deep checks send test requests only after confirmation.
Desktop and Android
- Windows: tray with a status badge and TUN and system-proxy switches; background notifications for a reconnect lasting five seconds, a connection error, and recovery after a reported interruption; single-instance activation, start on boot, close-to-tray and a remembered window position. Ctrl+1–4 selects pages, Ctrl+S applies changes, and F5 refreshes VPN Gate or diagnostics. See tray and keyboard controls.
- Android: Quick Settings tile, launcher shortcuts, boot recovery and TV navigation.
- Android per-app proxy applies to the whole app, across accounts. When off, all apps use the VPN. When on, only selected apps do; newly installed apps must be selected. With Android Block connections without VPN, unselected apps are blocked instead of bypassing the tunnel.
- Everywhere: twenty-one languages, with light and dark themes.
Privacy and security
- Verified server. Usque requires the WARP server's public key to match the registered key. There is no option to skip this check.
- Protected credentials. Credentials stay in Windows Credential Manager, the Linux Secret Service keyring or Android Keystore. Windows and Linux use a separate Agent for privileged network operations; Android runs the VPN in a dedicated process.
- Local proxies. Proxies listen on loopback by default. SOCKS5 and HTTP support optional username/password authentication; without configured credentials they require no authentication. Proxy-only mode does not provide a system-wide VPN Kill Switch.
- No analytics. Diagnostics are generated locally and redacted. There is no usage analytics or automatic upload, and quality history stays in memory. Logs default to INFO and are limited to 7 days or 20 MiB. Do not post credentials or raw diagnostic bundles in public Issues; report vulnerabilities through SECURITY.md.
Limits
- Android's in-app Kill Switch cannot protect traffic after the VPN process dies. VPN Gate terminal failures also end the connection. To keep apps blocked after the VPN ends, enable both system Always-on VPN and Block connections without VPN. See Android setup.
- Usque does not combine several paths for extra bandwidth. Some quality readings, including HTTP/2 packet loss and PMTU, are unavailable. Local diagnostics cannot detect traffic leaks.
DNS privacy
- Direct rules use your current network's DNS by default. Country-based and custom-domain direct rules use Current network DNS: matching domain queries go to the DNS servers on your current network, outside the VPN. You can instead choose DoH with a full HTTPS URL or DoT with a server name and port. New drafts prefill Cloudflare; saved custom settings are preserved. That resolver receives the queries; connection failures do not switch them to plaintext DNS. See configuration steps and examples.
- Other remote VPN queries use the WARP tunnel or the selected final chain exit. HTTP/SOCKS5 chain DNS defaults to verified Cloudflare® DoH through that proxy; custom or non-default inherited DNS retains TCP DNS. With these exits, application-selected UDP/53 queries use TCP to that resolver, with no physical DNS fallback. See the chain DNS choices.
- Apps that use their own encrypted DNS hide domain names from Usque, so direct routing uses IP rules.
- Rule downloads also respect Android Lockdown and any remaining Windows Kill Switch while disconnected.
Experimental and unsupported
Zero Trust enrollment is experimental. It uses an organization identity for the MASQUE Internet tunnel and does not provide full Cloudflare One™ Client compatibility. iOS, store distribution and a public CLI are outside this release's scope.
macOS in v0.3.5
The macOS version supports local HTTP and SOCKS5 proxies on macOS 13 and later. System-wide TUN remains disabled in release DMGs. See the macOS feature matrix and installation guide.
Historical unofficial v0.3.3 dev pre-release for macOS 13+: Apple Silicon (arm64) or Intel (x86_64). These ad-hoc signed packages are not notarized or production releases. Read the release notes, checksums and manifests before testing; system VPN activation remains disabled. The compact images reduce downloads by 46.6% / 43.2%; see the size explanation and validation. These older downloads include CEF verification and all application languages.
The historical downloads above predate current macOS scenes and recovery. macOS supports Proton account sign-in, but not guest registration or the embedded verification browser; import a Proton configuration when browser verification is required. Use official releases for current packages.
The macOS test checklist separates isolated tests from actual device acceptance. The following items remain open:
- System VPN/TUN: ordinary DMGs keep it disabled. The Agent still requires device acceptance for routing, DNS and Kill Switch protection. Proxy-only mode protects traffic that applications send to the proxy.
- System proxy and chain exits: isolated configuration, recovery and transport tests do not establish a successful live connection. Real authorization and each external exit still need device tests. Current macOS source reuses WARP or opens a temporary WARP connection for VPN Gate, retaining saved chain settings; direct physical-network catalogue fallback remains disabled.
- Zero Trust: callback validation and cancel/retry tests use synthetic data; an actual organization login and callback remain unverified.
- Proton accounts: macOS has no guest registration or embedded verification browser. Account sign-in, authenticator codes and saved-account management remain available; live sign-in and traffic still require device testing.
- Desktop and hardware: layout checks use headless Windows/macOS widget renders. Actual native-window interaction, Intel execution and macOS 13 hardware remain untested. The default Mac content area now matches Windows at 1040×760, fits the available screen, and preserves saved window geometry.
No application, browser, permission window or host network setting is opened or changed by this background validation. Development packages are not notarized.
Default network settings
| Setting | Default |
|---|---|
| Consumer endpoint selection | Automatic selection; existing configurations retain Custom |
| Saved custom endpoint IPv4 | 162.159.198.2 |
| Saved custom endpoint IPv6 | 2606:4700:103::2 |
| Port / SNI | 443 / speed.cloudflare.com |
| Transport | Auto: HTTP/3, then HTTP/2 |
| HTTP/3 congestion control | cubic; BBRv2, experimental BBRv3, and reno are selectable |
| MASQUE multiplexed connections | 1; manually configurable from 1 to 8 for HTTP/2 and HTTP/3 / L4 |
| QUIC UDP receive buffer | 2 MiB target on Windows/Android for H3 and L4; actual capacity is OS-dependent |
| TUN MTU | 1280 |
| Fallback DNS | 1.1.1.1, 2606:4700:4700::1111 |
| SOCKS5 | 127.0.0.1:1080, [::1]:1080 |
| HTTP proxy | 127.0.0.1:8080, [::1]:8080 |
How proxy, endpoint and congestion-control changes apply
Proxy address and port edits are drafts until applied. Proxy DNS uses the current exit by default: configure WARP DNS in Advanced settings or the final DNS in the chain configuration. The Proxy page has no DNS settings; a proxy DNS choice saved by an older version keeps working.
Advanced settings reset loads defaults into the draft; it does not apply them immediately.
In Advanced network settings → MASQUE multiplexed connections, enter 1–8 (default 1), then Apply changes. A changed count reconnects the session. Separate flows use different MASQUE connections; each flow stays on one connection. The setting applies to HTTP/2/HTTP/3 CONNECT-IP and L4 (HTTP/3 TCP CONNECT). See connection behavior.
In Advanced network settings, Automatic selection races eligible account endpoints; Custom keeps manual addresses. Port and SNI remain editable. See automatic endpoints.
Zero Trust endpoint addresses start with registered values. In Advanced network settings, choose Edit Zero Trust endpoints, read the red fullscreen warning and acknowledge the risks and your authorization before editing IPv4/IPv6; then Apply changes. Reset stages the registered addresses; signing in again restores them and removes custom addresses. Home keeps a risk notice visible while the selected account has custom Zero Trust addresses or a running ZT session still uses them; the notice cannot be dismissed.
Congestion-control changes are saved for the next manual connection or retry, not applied to the current session or its automatic reconnections. HTTP/2 uses system TCP. See HTTP/3 congestion control.
Documentation and development
Start with the Wiki for setup and practical tutorials. Use the documentation index for the complete reference; most technical documents are in English.
| Need | Read |
|---|---|
| Install, update, uninstall, or recover | Installation |
| Native Proton guest/account setup | Proton VPN guide and current limits |
| Connect to Proton VPN through the WARP tunnel | WireGuard over MASQUE tutorial |
| Understand local quality checks | Network Doctor |
| Build and test changes safely | Contributing |
| Understand implementation and verification status | Implementation |
| Maintain an official release | Release process |
Use the pinned toolchains and change-scoped checks in the contribution guide. Compile-only builds and deterministic tests are safe workstation checks; installing development packages or exercising VPN lifecycle requires the designated isolated environments.
Upstream and license
Protocol behavior follows Diniboy1123/usque. This repository keeps a snapshot of that client in oracle/go for interoperability tests. The Flutter UI and Rust engine are new code. Upstream copyright stays in the license.
First-party source is MIT. Third-party components keep their own licenses. The optional chain proxy embeds OpenVPN 3 Core under MPL-2.0 and Mbed TLS under Apache-2.0. Corresponding source, reviewed patches and license texts are included in third_party; the application exposes the notices from its VPN Gate page. WireGuard uses BoringTun 0.7.1 (BSD-3-Clause), and local SVG icons use flutter_svg 2.3.4 (MIT); their notices are in the app's license registry.
The independent Proton SRP implementation references Proton go-srp (MIT); its copyright and full license are retained in source, test vectors and the app license registry.
Usque is an independent project. It is not affiliated with, sponsored by, or endorsed by Cloudflare, Inc. Use of consumer WARP services remains subject to Cloudflare's terms and privacy policy. Cloudflare, WARP and Cloudflare One are trademarks and/or registered trademarks of Cloudflare, Inc. in the United States and other jurisdictions.
Ähnliche Projekte entdecken
Wird geladen…