A rule-based tunnel in Go.
Go to file
Guowei Zhao dd9bdf4e2f
Fix: convert size to unit32 in getoridst to solve some mips64 devices cannot get redirect origin dst (#2041)
Change-Id: I40aa73dcea692132e38db980320a8a07ed427fe6

Co-authored-by: Zhao Guowei <zhaoguowei@bytedance.com>
2022-03-28 14:48:51 +08:00
.github Migration: go 1.18 2022-03-16 12:10:13 +08:00
adapter Fix: routing-mark option doesn't work on proxies (#2028) 2022-03-19 13:29:30 +08:00
common Chore: structure support weakly type from float to int (#2042) 2022-03-25 15:22:31 +08:00
component Chore: fix typo (#2033) 2022-03-19 13:58:51 +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: convert size to unit32 in getoridst to solve some mips64 devices cannot get redirect origin dst (#2041) 2022-03-28 14:48:51 +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 Migration: go 1.18 2022-03-16 12:10:13 +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 Chore: use GOAMD64 v1 on build docker image 2022-03-20 11:32:18 +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