A rule-based tunnel in Go.
Go to file
Junjie Yuan 35925cb3da
Chore: standardized Dockerfile label (#1191)
Signed-off-by: Junjie Yuan <yuan@junjie.pro>
2021-01-20 16:08:24 +08:00
.github Chore: push image to github docker registry 2020-11-10 15:19:12 +08:00
adapters Fix: unnecessary write operation on provider (#1170) 2021-01-06 14:20:15 +08:00
common Fix: tunnel manager & tracker race condition (#1048) 2020-10-29 17:51:14 +08:00
component Fix: connectivity of ssr auth_chain_(ab) protocol (#1180) 2021-01-13 23:35:41 +08:00
config Fix: get general should return correct result (#1172) 2021-01-07 13:59:39 +08:00
constant Feature: add TCP TPROXY support (#1049) 2020-11-09 10:46:10 +08:00
dns Fix: dns client should not bind local address 2021-01-04 00:51:53 +08:00
docs Update: README.md logo and badges 2018-06-23 00:44:28 +08:00
hub Fix: get general should return correct result (#1172) 2021-01-07 13:59:39 +08:00
log Chore: pass staticcheck 2020-08-25 22:19:59 +08:00
proxy Fix: handle keep alive on http connect proxy 2020-12-24 14:55:11 +08:00
rules Chore: move find process name to a single part 2020-12-17 22:17:27 +08:00
tunnel Fix: close http Response body on provider (#1154) 2020-12-29 11:28:22 +08:00
.gitignore Optimization: socks UDP & fix typo (#261) 2019-08-12 14:01:32 +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: make builds reproducible (#1006) 2020-10-08 17:54:38 +08:00
README.md Chore: update premium README 2020-12-27 00:14:24 +08:00
go.mod Chore: update dependencies 2020-12-27 18:59:59 +08:00
go.sum Chore: update dependencies 2020-12-27 18:59:59 +08:00
main.go Chore: pass staticcheck 2020-08-25 22:19:59 +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, IP CIDR or ports 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

Credits

License

This software is released under the GPL-3.0 license.

FOSSA Status

TODO

  • Complementing the necessary rule operators
  • Redir proxy
  • UDP support
  • Connection manager
  • Event API