ClashRS

Watfaq Technologies Pty Ltd·Watfaq.ClashRS

A custom protocol, rule based network proxy software.

winget install --id Watfaq.ClashRS --exact --source winget

Latest 0.10.8·July 23, 2026

Release Notes

πŸš€ Features

  • Auto-reload local file rule/proxy-providers on change (#1465) by @Copilot
  • (tun) Add FreeBSD tun support via FIB multi-table routing (#1475) by @lakako πŸ› Bug Fixes
  • (config) Ignore unknown fields for forward-compatible parsing (#1471) by @Copilot
  • (hysteria2) Refresh the UDP poller after port hops (#1482) by @cedar-otter-47
  • (ws) Percent-encode spaces in WebSocket paths (#1480) by @cedar-otter-47
  • (urltest) Honor tolerance and skip unavailable proxies (#1481) by @cedar-otter-47 🚜 Refactor
  • (dispatcher,transport) Dedup tracked streams + TransportLayer enum (#1477) by @ibigbug πŸ› οΈ Builds
  • (deps) Bump the npm-dependencies group in /clash-dashboard with 17 updates (#1462) by @dependabot[bot]
  • (deps) Bump the actions-dependencies group with 6 updates (#1461) by @dependabot[bot]
  • (deps) Bump the rust-dependencies group with 32 updates (#1463) by @dependabot[bot]
  • (deps) Bump cmov from 0.5.3 to 0.5.4 (#1469) by @dependabot[bot]
  • (deps) Bump body-parser from 2.2.2 to 2.3.0 in /clash-dashboard (#1479) by @dependabot[bot]
  • (deps) Bump brace-expansion from 5.0.6 to 5.0.7 in /clash-dashboard (#1478) by @dependabot[bot]
  • (deps) Bump serde_with from 3.20.0 to 3.21.0 (#1474) by @dependabot[bot] βš™οΈ Miscellaneous Tasks
  • Bump shadowquic version (#1476) by @spongebob888
  • Bump version to v0.10.8 by @github-actions[bot] Other
  • Add Hysteria2 inbound listener (#1466)
  • Initial plan
  • Add Hysteria2 inbound listener (issue #1460)
  • Fix UdpPacket src_addr/inbound_user in Hysteria2InboundDatagram
  • Refactor user watch-channel creation to use match with OR patterns
  • fix(hysteria2 inbound): keep connection alive after auth; harden UDP/TCP paths Address review findings on the Hysteria2 inbound listener.
  • Keep the h3 server connection alive for the QUIC connection's lifetime. authenticate() previously dropped it on return, and h3's Drop closes the underlying QUIC connection β€” so every proxy stream/datagram failed immediately after a successful auth, making the inbound non-functional.
  • Bounds-check the UDP packet decoder before split_to(addr_len); a malformed datagram with an oversized address length previously panicked the datagram task (a remote DoS under panic = "abort").
  • Send the correct address in UDP reply datagrams: use the upstream source (src_addr), not the client's own address (dst_addr), so clients can correlate replies (e.g. DNS-over-Hysteria2).
  • Evict per-session Defraggers: move fragment state into the session map so it is dropped when the session ends, instead of a separate map that grew unbounded per distinct session id.
  • Use try_send on the per-session datagram channel so one stalled UDP destination cannot head-of-line-block every other session on the connection.
  • Preserve payload bytes pipelined into the request frame via into_parts() instead of discarding the read buffer with into_inner().
  • Reject empty auth passwords so a blank password cannot become an open relay.
  • Guard Fragments against underflow/divide-by-zero when the advertised max datagram size is smaller than the frame header.
  • Treat a request frame split across QUIC reads as "need more bytes" instead of a fatal decode error.
  • Canonicalize the client address before the allow_lan check (dual-stack IPv4-mapped IPv6), matching the other inbounds.
  • Remove a duplicate address parser; add regression tests for the UDP decode bounds check and partial-frame handling.
  • style: fix typos spellcheck (avoid 'mis' fragment in comment)
  • refactor(hysteria2): split inbound/outbound and share stream/codec/TLS helpers Reorganize the hysteria2 module to match the shadowsocks layout and remove duplication between the client and server sides:
  • Move the outbound client implementation from mod.rs into outbound/mod.rs; mod.rs is now a thin module root that declares submodules and re-exports the outbound surface (Handler, HystOption, Obfs, SalamanderObfs).
  • Add a shared stream.rs unifying the outbound HystStream and inbound HystServerStream into one HystStream (with an optional read prefix for the server's pipelined-bytes case).
  • Merge the duplicate Hy2TcpRespMsg into Hy2TcpResp (Hy2TcpResp::ok()).
  • Extract resolve_server_cert_and_key into common/tls.rs and use it from both the anytls and hysteria2 inbounds instead of copy-pasted load-or-generate cert logic.
  • fix(hysteria2): correct test_utils path after outbound module move
  • fix(hysteria2 inbound): bound request lengths, validate auth request Address review feedback:
  • Cap the client-supplied address and padding lengths in Hy2TcpReqCodec (MAX_ADDR_LEN / MAX_PADDING_LEN) so a bogus varint length can't force unbounded buffering (memory DoS).
  • Validate the auth handshake is POST /auth and 404 anything else, so an unrelated first request isn't treated as authentication.
  • Add codec unit tests: full-frame decode, oversized-length rejection, and response encode/decode round-trip.
  • style: nightly rustfmt for test imports

Co-authored-by: copilot-swe-agent[bot] 198982749+Copilot@users.noreply.github.com Co-authored-by: Yuwei B contact@yba.dev by @Copilot New Contributors ❀️

Installer type: portable

x86β€”347BE3D6934DF23A01CD8F344983DE6253C4565EE2EC8CA45E18D85E0699C3DE
x64β€”894063ED649DAF8E52551BAB27EF73E8D6016E6E4AFA77182FF02CC22241CDE6
arm64β€”1703B13C491ED44678AFFD91943ED9F6C53033F49D1028C7B69DBF2C2E4F1569

Details

Homepage
https://github.com/Watfaq/clash-rs
License
Apache-2.0
Publisher
Watfaq Technologies Pty Ltd
Support
https://github.com/Watfaq/clash-rs/issues
Moniker
clash-rs

Tags

clashnetworkproxyvpn

Older versions (23)

0.10.7
x86β€”C951827D5F992FE423062DCD2AB3283294860A1E8C5D9D0B25E289DC5C6A91EE
x64β€”CAD5E08CE7A9468B1DAE8B1C588199CD8C3064E48584A05959F5BE094100169D
arm64β€”F8486A0305F54ED1A4B0D1009D5E10E6CFF635B380A6240A3A3F952600119F45
0.10.6
x86β€”ABCA6415E0ABD907EDC56BED6F0CE1C5DFFE3CF8DF4C42E4C3326FEEBD9901FC
x64β€”DC60002383EBBA06AD99183F58C14F304EA385E4D222A9D5570D103F48E56ECB
arm64β€”ACABCCC98A6E168AD73AE8AF63D8AEC907B0143D22B89668495279037D28E814
0.10.5
x86β€”83DB6F24E8CF8252218DC81FDB0CE2B6E3D2693269E1CAF1AC0899D98DFAD794
x64β€”E33867A0CF2500AFC80557120FD74F8951101BC8159452E76A73685C192FC14D
arm64β€”D7C34164FFC62274D42D9A57FA37402AFE9CA952C2EC3AA0904186A8B89BC39E
0.10.4
x86β€”05DA779D1B9A4CD4D9D547FCA3F3F46BEF9FDB504124B86EA1B6BCB0E6482661
x64β€”F1A5D893F96950CF6810D7D25991A3367358967C413F4D032C9D28CCA02153F1
arm64β€”0A79336C5ECB7F24E853D67C06861ADEBD88A03EB3BB94009F2BB1475B765A7C
0.10.3
x86β€”6DD2930753E182849E1A255DC9965D479399304F1727D77155D3DE02CF0125B3
x64β€”6C10F5073A592714A9B925D334E4864796483137450B5C326170208449679586
arm64β€”4D4850FE00F4E30A6D0ED05193770E32CC2B5DF3777CCD010227E582EA71B819
0.10.2
x86β€”990BDDA201B5193B0D24BC829D384082B2E2FE304395AE4319C56AEC87011F49
x64β€”8645FB680C61CDA22A99D9E84DB790E69DB5483FAE4F530DB79C6E2A053FBFF5
arm64β€”063BEDA1D11291854DC0BE82499D64AB0A17BCE3B642DF953D5F272B5F013E85
0.10.1
x86β€”1CD1395DF45C227B4C22EF91FAF9ECFEE2C2A369860A233DF60B787CA8165277
x64β€”E950CC9FA9BB2E65C08876C1F4F167A27F07B2E6FE5D4677D56D4ABB9630CC0A
arm64β€”ACD2F4189DED74D81AC266D3D981942E520FBCE5056FA0C2D7A6BCD9F5D2DAA3
0.10.0
x86β€”05A89CED9F1BB7FE4F7CECD41186A8C9A108AB5319AC1364C29C32E441D56C26
x64β€”0EC7BDC077033CBCBA27E24C42D05F6BC09A9F4D8CF0FCE83E68D66456856C85
arm64β€”CB94E56CC768EDDB0AE19624FB025D1184AE2B58B3122C95BFE1EEF7927CCC7E
0.9.7
x86β€”EDC579A1824BD238278E382865BED63E0EB7C48C7423C551A3D5FAFC70AB2E14
x64β€”4F8264E25C0B29BB451641E9D13F7386ECF098556C35477A5D2AC228726EC7D3
arm64β€”9E53E19762B567A9EB39958DE14810B927A72F078BC62A8DF121554C59AA80C3
0.9.6
x86β€”6A67852C23E650B54874D7B0853467A583EFCEE1F8B9BE1905C336B9B231AE00
x64β€”86402E5FF48063F55202C7802D5EAB76B6EBF97A4B1A16473E9D6104533749CC
arm64β€”30F356079FF9D9E866A80BCD79A0790781A3E818A5C18B5267550781C03D76F1
0.9.4
x86β€”B1E451931FFB8CB17A7F54F69ADE108F6B94B3EDAAB11B4D6B2EDA268C3D8C99
x64β€”0494A172A1FAFC6BE2DC8419CCE34F097EC3EFCB44FA7B9DF216C76F6702E09F
arm64β€”05B75C5C1E20A6576BD645E89B1574E03C7EA208D4CD97EEE86B23628DB6542B
0.9.3
x86β€”F66A330EC6AB114111D483F584B04D6619AC9C860619E441B729F5B645A8F7B7
x64β€”2D0B13337AB772C33842EA4CB56E6FD0EE0224D431A8FB2203D8240AC9933AC0
arm64β€”0EE076EBDA6651A0775D455436064E2CD7B3EAA17A9034222F368A35FA0BF1CB
0.9.2
x86β€”C050A9CEB930371ED947F973025E2011AA21CA37D71735C6E456C78C3CEDA82D
x64β€”DC5B4DEBCFFF56C44E1F6182C133BDD8D857D28EA72911C23E26E3E01B7C7ABA
arm64β€”E4331F681076388ED69D8C15F0463C705631CDC80A34425CF72BD6F7814ACE3E
0.9.1
x86β€”D62F037287D031C24CD6FA4E73121FA46428DC63FC23026F057E9C427C347AE0
x64β€”73AA7EC216255FC6B51E2A61EC5AB61E7AB084F5EDB3621B25F07F8421E4AB9C
arm64β€”EB8E3303002FB3E18618D17008A821627A728BAD31DC4134738B618F61CEA8FB
0.9.0
x86β€”C4C9E8519FF949FA931EE9158DA68C8FFEF2813DDC0D048F3796321FBBA1FB3A
x64β€”557FB36C05EC58CBCADFA9EE16B69D1ACFDF8F74926FFD2A548859249E071701
arm64β€”717930DAD1314927DCA387F0473CB86315303E88BA2F57CFF6A67CAB3F9AAEB2
0.8.2
x86β€”3CF44431FC45766A8830405B08B5760F1E165593D9FD779C4E44F8FDC3BCAEE0
x64β€”4DA72017D36290F8623CF73A6FACD9E51014F41134BF29F5D6CFD7B80E841920
arm64β€”6798AFF8A1BDFCFDC6B25B73C93F041D6472A6C4AE49619F4B49C167BA119A6D
0.8.1
x86β€”939AB74AEC77191EE7B8B56A1528A36CED1A7881B144905D85C65525A9666D45
x64β€”CAFB40A2C68B42100A0CB1B3394DC40C0C39E24CB634F79755CCB3E849694F9D
arm64β€”951AACD260BF8083337F35341A8CC6E10E2A82C5DA609A0B6F46091305134F35
0.8.0
x86β€”4620DE13D6919593645A5BC5B625B8F2995BDD49B6D1026503B99BB20C1718C8
x64β€”21ADDE743EF813FB96A3E1236624AB63C73A74ADEDF0D9AD4B21AB1138B3B663
arm64β€”B60083B944E334017883CA94D97D00000DE43F0762CBC9AA8B9D0EDA16833EB1
0.7.8
x86β€”72911189BF7EEE65B36D282C860793900E808C5EF7DABF28C3B42002C39E35E1
x64β€”5D48300A3B285649D37C1864CF7786ABE900451676476D2279F90B12957C0DC3
arm64β€”D1D83B9693B56F5EE32D4BA20AE7A6ACEC431CD66BFB203B86BE19A79C1AD3BA
0.7.7
x86β€”56E79C86F032D33B10AB1E442A153A918B6B4499F804EDBC32E01FC26D208AFF
x64β€”47BDA46B6AF5941348EA4454BC9BBB5EE16CA7AF60AADE300930DF524CFE2BE8
arm64β€”BA0DC79192FE67469FFAA5A28AB569933D825EEDD226E54A4CFBA140C5F8161A
0.7.6
x86β€”A672760D0EAC1629860D16E5199E7D40D23DE39FFF84D25A23B18792284CD80F
x64β€”D76D922013A453525A57248DE39B99B835EFC70B38163217B4F83D356D32866A
arm64β€”CEB716F7D95C0B5C95B10A589E5F5BFDE4D6BDCB8E17FA27E7C8A3857835C665
0.7.5
x86β€”EA9EF77C91A430B3748A7D39367D159AA715CBBE22AD78720CA644985790E79E
x64β€”2E839ACD3C76B72D4082E9169168EBDCB31C193FF2D7A919CB605DB6695F9ECA
arm64β€”E71FB7644BBA661C1C2B8239F11471085ED127F4F32F5B103D17B9D29CDDA336
0.7.4
x86β€”632321FB148DB3FB2CE1CE598F179770904E516C06B763B7BF15EBDE10DB8387
x64β€”61EC5DDA60E288C103EBEE30B1DD72144323AECD4B000CBBEA34592CC3CDF042
arm64β€”D3AA14A44FDC629438077B881C4831F0B651AFB89D90510D3C445A51135E8061