A rule-based tunnel in Go.
Go to file
Dreamacro c231fd1466 Chore: update dependencies 2022-06-19 13:01:43 +08:00
.github Chore: add more github action cache 2022-04-14 23:37:41 +08:00
adapter Chore: embed shadowsocks2 2022-06-01 21:43:20 +08:00
common Chore: adjust Relay copy memory alloc logic 2022-06-11 20:38:16 +08:00
component Improve: replace bootstrap dns (#2080) 2022-04-16 15:31:26 +08:00
config Feature: can set custom interface for dns nameserver (#2126) 2022-06-01 10:50:54 +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 Feature: can set custom interface for dns nameserver (#2126) 2022-06-01 10:50:54 +08:00
docs Update: README.md logo and badges 2018-06-23 00:44:28 +08:00
hub Chore: add redir-host deprecated warnning 2022-06-14 11:26:04 +08:00
listener Chore: update tproxy udp packet read logic 2022-06-12 19:37:51 +08:00
log Fix: make log api unblocked 2022-04-26 22:36:10 +08:00
rule Chore: move find connection process to tunnel (#2016) 2022-03-12 19:07:53 +08:00
test Chore: update dependencies 2022-06-19 13:01:43 +08:00
transport Fix: missing import 2022-06-12 21:22:02 +08:00
tunnel Chore: make CodeQL happy 2022-06-01 21:38:05 +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 Chore: update dependencies 2022-06-19 13:01:43 +08:00
go.sum Chore: update dependencies 2022-06-19 13:01:43 +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