A rule-based tunnel in Go.
Go to file
Dreamacro 499beb7344 Fix: bind iface should throw control error 2021-11-10 22:19:11 +08:00
.github Chore: actions split lint and release 2021-10-11 20:08:18 +08:00
adapter Feature: mark on socket (#1705) 2021-11-08 16:59:48 +08:00
common Fix: parse dial interface option 2021-11-08 13:31:08 +08:00
component Fix: bind iface should throw control error 2021-11-10 22:19:11 +08:00
config Chore: update dependencies and rename profile props 2021-11-08 20:48:29 +08:00
constant Fix: codeql alerts 2021-11-08 00:32:21 +08:00
context Refactor: plain http proxy (#1443) 2021-06-15 17:13:40 +08:00
dns Fix: unexpected proxy dial behavior on mapping mode 2021-10-18 21:08:27 +08:00
docs
hub Feature: dial different NIC for all proxies (#1714) 2021-11-07 16:48:51 +08:00
listener Chore: adjust all udp alloc size 2021-11-03 22:29:24 +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: update dependencies and rename profile props 2021-11-08 20:48:29 +08:00
transport Chore: use alpn http 1.1 only on trojan websocket by default 2021-10-19 22:34:18 +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
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 and rename profile props 2021-11-08 20:48:29 +08:00
go.sum Chore: update dependencies and rename profile props 2021-11-08 20:48:29 +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