Go to file
2021-05-16 20:05:41 +08:00
.github Feature: add CodeQL security checks (#1349) 2021-04-13 21:25:55 +08:00
adapters Chore: split component to transport 2021-05-13 22:19:34 +08:00
common Fix: wrap net.Conn to avoid using *net.TCPConn.(ReadFrom) (#1209) 2021-02-01 20:06:45 +08:00
component Chore: split component to transport 2021-05-13 22:19:34 +08:00
config Chore: use mixed-port instead of port when initial config (#1319) 2021-04-01 15:35:33 +08:00
constant Chore: Clarify the definition of StreamConn and DialContext 2021-03-22 23:26:20 +08:00
context Refactor: make inbound request contextual 2021-01-23 14:58:09 +08:00
dns Fix: domain dns should follow hosts config, close #1318 2021-04-01 21:20:44 +08:00
docs Update: README.md logo and badges 2018-06-23 00:44:28 +08:00
hub Chore: refine go import 2021-04-05 13:00:49 +08:00
log Chore: pass staticcheck 2020-08-25 22:19:59 +08:00
proxy Fix: build broken 2021-05-13 22:39:33 +08:00
rules Style: cleanup code 2021-03-24 01:00:21 +08:00
transport Fix: vmess http should use Host header on request 2021-05-16 20:05:41 +08:00
tunnel Fix: reuse http connection broken on previous commit 2021-05-07 11:08:46 +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
go.mod Chore: update dependencies 2021-05-08 19:29:12 +08:00
go.sum Chore: update dependencies 2021-05-08 19:29:12 +08:00
LICENSE License: use GPL 3.0 2019-10-18 11:12:35 +08:00
main.go Chore: -v add golang version 2021-04-04 17:36:22 +08:00
Makefile Style: code style 2021-04-26 20:42:17 +08:00
README.md Chore: some chores 2021-04-05 13:31:10 +08:00

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