A rule-based tunnel in Go.
Go to file
Dreamacro f6c7281bb7 Chore: update github action workflow 2022-03-06 21:48:37 +08:00
.github Chore: update github action workflow 2022-03-06 21:48:37 +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: should split linux process name with space (#2008) 2022-03-05 18:25:16 +08:00
config Fix: `routing-mark` should effect on root 2022-02-17 14:23:47 +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 Fix: `routing-mark` should effect on root 2022-02-17 14:23:47 +08:00
listener Fix: listener tcp keepalive & reuse net.BufferedConn (#1987) 2022-02-23 11:22:46 +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 Chore: vmess test remove all alterid 2022-02-27 18:00:04 +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
.golangci.yaml Chore: use golangci-lint config file 2022-02-19 00:08:51 +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 Chore: use golangci-lint config file 2022-02-19 00:08:51 +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