A rule-based tunnel in Go.
Go to file
Dreamacro b1a639feae Fix: domain trie search 2022-01-26 22:28:13 +08:00
.github Feature: add linux/arm/v6 for the container image (#1771) 2021-12-02 21:12:45 +08:00
adapter Improve: change provider file modify time when updated (#1918) 2022-01-18 13:32:47 +08:00
common Fix: parse dial interface option 2021-11-08 13:31:08 +08:00
component Fix: domain trie search 2022-01-26 22:28:13 +08:00
config Chore: update dependencies and rename profile props 2021-11-08 20:48:29 +08:00
constant Fix: tls handshake requires a timeout (#1893) 2022-01-15 19:33:21 +08:00
context Refactor: plain http proxy (#1443) 2021-06-15 17:13:40 +08:00
dns Fix: ignore empty dns server error 2022-01-05 11:41:31 +08:00
docs Update: README.md logo and badges 2018-06-23 00:44:28 +08:00
hub Chore: ReCreate* do side effect job (#1849) 2021-12-26 22:08:53 +08:00
listener Chore: ReCreate* do side effect job (#1849) 2021-12-26 22:08:53 +08:00
log Style: use gofumpt for fmt 2021-10-10 23:44:09 +08:00
rule Fix: codeql alerts 2021-11-08 00:32:21 +08:00
test Feature: support snell v3 (#1884) 2022-01-10 20:24:20 +08:00
transport Fix: tls handshake requires a timeout (#1893) 2022-01-15 19:33:21 +08:00
tunnel Chore: adjust all udp alloc size 2021-11-03 22:29:24 +08:00
.gitignore Chore: contexify ProxyAdapter ListenPacket 2021-10-15 21:44:53 +08:00
Dockerfile Chore: standardized Dockerfile label (#1191) 2021-01-20 16:08:24 +08:00
LICENSE License: use GPL 3.0 2019-10-18 11:12:35 +08:00
Makefile Style: use gofumpt for fmt 2021-10-10 23:44:09 +08:00
README.md Chore: update README.md 2021-09-20 17:22:40 +08:00
go.mod Chore: update dependencies 2022-01-02 01:15:49 +08:00
go.sum Chore: update dependencies 2022-01-02 01:15:49 +08:00
main.go Chore: use uber max procs 2021-10-27 21:27:19 +08:00

README.md

Clash
Clash

A rule-based tunnel in Go.

Github Actions

Features

  • Local HTTP/HTTPS/SOCKS server with authentication support
  • VMess, Shadowsocks, Trojan, Snell protocol support for remote connections
  • Built-in DNS server that aims to minimize DNS pollution attack impact, supports DoH/DoT upstream and fake IP.
  • Rules based off domains, GEOIP, IPCIDR or Process to forward packets to different nodes
  • Remote groups allow users to implement powerful rules. Supports automatic fallback, load balancing or auto select node based off latency
  • Remote providers, allowing users to get node lists remotely instead of hardcoding in config
  • Netfilter TCP redirecting. Deploy Clash on your Internet gateway with iptables.
  • Comprehensive HTTP RESTful API controller

Premium Features

Getting Started

Documentations are now moved to GitHub Wiki.

Premium Release

Release

Development

If you want to build an application that uses clash as a library, check out the the GitHub Wiki

Credits

License

This software is released under the GPL-3.0 license.

FOSSA Status