A rule-based tunnel in Go.
Go to file
Kr328 6a92c6af4e
Fix: http proxy Upgrade behavior (#2097)
2022-04-25 19:50:20 +08:00
.github Chore: add more github action cache 2022-04-14 23:37:41 +08:00
adapter Chore: add `none` alias to `dummy` on ShadowsocksR (#2056) 2022-04-13 10:06:06 +08:00
common Fix: http proxy Upgrade behavior (#2097) 2022-04-25 19:50:20 +08:00
component Improve: replace bootstrap dns (#2080) 2022-04-16 15:31:26 +08:00
config Migration: go 1.18 2022-03-16 12:10:13 +08:00
constant Migration: go 1.18 2022-03-16 12:10:13 +08:00
context Refactor: plain http proxy (#1443) 2021-06-15 17:13:40 +08:00
dns Migration: go 1.18 2022-03-16 12:10:13 +08:00
docs Update: README.md logo and badges 2018-06-23 00:44:28 +08:00
hub Migration: go 1.18 2022-03-16 12:10:13 +08:00
listener Fix: http proxy Upgrade behavior (#2097) 2022-04-25 19:50:20 +08:00
log Migration: go 1.18 2022-03-16 12:10:13 +08:00
rule Chore: move find connection process to tunnel (#2016) 2022-03-12 19:07:53 +08:00
test Migration: go 1.18 2022-03-16 12:10:13 +08:00
transport Migration: go 1.18 2022-03-16 12:10:13 +08:00
tunnel Fix: http proxy Upgrade behavior (#2097) 2022-04-25 19:50:20 +08:00
.gitignore Chore: contexify ProxyAdapter ListenPacket 2021-10-15 21:44:53 +08:00
.golangci.yaml Migration: go 1.18 2022-03-16 12:10:13 +08:00
Dockerfile Feature: add tzdata to Dockerfile (#2027) 2022-03-15 11:30:52 +08:00
LICENSE License: use GPL 3.0 2019-10-18 11:12:35 +08:00
Makefile Fix: make golangci lint support multi GOOS 2022-04-13 17:51:21 +08:00
README.md Chore: update README.md 2021-09-20 17:22:40 +08:00
go.mod Migration: go 1.18 2022-03-16 12:10:13 +08:00
go.sum Migration: go 1.18 2022-03-16 12:10:13 +08:00
main.go Migration: go 1.18 2022-03-16 12:10:13 +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