A rule-based tunnel in Go.
Go to file
Dreamacro 68dd0622b8 Chore: code style 2020-09-20 15:53:27 +08:00
.github Chore: update actions version 2020-08-30 23:06:21 +08:00
adapters Feature: vmess network http support TLS (https) 2020-09-04 21:27:19 +08:00
common Feature: reuse dns resolver cache when hot reload 2020-08-31 00:32:18 +08:00
component Chore: code style 2020-09-20 15:53:27 +08:00
config Chore: code style 2020-09-20 15:53:27 +08:00
constant Chore: rename NoResolveIP to ShouldResolveIP 2020-07-27 11:57:55 +08:00
dns Chore: split enhanced mode instance (#936) 2020-09-17 10:48:42 +08:00
docs Update: README.md logo and badges 2018-06-23 00:44:28 +08:00
hub Chore: split enhanced mode instance (#936) 2020-09-17 10:48:42 +08:00
log Chore: pass staticcheck 2020-08-25 22:19:59 +08:00
proxy Chore: pass staticcheck 2020-08-25 22:19:59 +08:00
rules Fix: PROCESS-NAME on FreeBSD 11.x (#947) 2020-09-07 17:43:34 +08:00
tunnel Chore: split enhanced mode instance (#936) 2020-09-17 10:48:42 +08:00
.gitignore Optimization: socks UDP & fix typo (#261) 2019-08-12 14:01:32 +08:00
Dockerfile Fix: docker multiplatform build 2020-06-21 12:38:14 +08:00
LICENSE License: use GPL 3.0 2019-10-18 11:12:35 +08:00
Makefile Feature: add Windows ARM32 build (#902) 2020-08-16 13:50:56 +08:00
README.md Chore: README.md style fixed (#825) 2020-07-22 21:34:37 +08:00
go.mod Chore: update dependencies 2020-08-16 11:32:51 +08:00
go.sum Chore: update dependencies 2020-08-16 11:32:51 +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

Getting Started

Documentations are now moved to GitHub Wiki.

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