A rule-based tunnel in Go.
Go to file
Dreamacro b398f1e6f3 Chore: force set latest go version to action 2021-09-18 00:18:47 +08:00
.github Chore: force set latest go version to action 2021-09-18 00:18:47 +08:00
adapter Fix: should not trust address of http.Client (#1616) 2021-09-13 23:46:39 +08:00
common Migration: go 1.17 2021-08-18 13:26:23 +08:00
component Feature: add dhcp type dns client (#1509) 2021-09-06 23:07:34 +08:00
config Fix: should not unmarshal to pointer (#1615) 2021-09-13 23:43:28 +08:00
constant Fix: listener patch diff 2021-08-01 00:35:37 +08:00
context Refactor: plain http proxy (#1443) 2021-06-15 17:13:40 +08:00
dns Fix: potential pitfalls 2021-09-13 23:58:48 +08:00
docs Update: README.md logo and badges 2018-06-23 00:44:28 +08:00
hub Feature: add dhcp type dns client (#1509) 2021-09-06 23:07:34 +08:00
listener Fix: http/https proxy authentication (#1613) 2021-09-14 00:08:23 +08:00
log Chore: pass staticcheck 2020-08-25 22:19:59 +08:00
rule Chore: make geoip match case-insensitive (#1574) 2021-08-29 22:19:22 +08:00
test Chore: update dependencies 2021-09-07 20:16:07 +08:00
transport Fix: socks4 request continues after authentication failed (#1624) 2021-09-15 16:45:57 +08:00
tunnel Chore: logging remote port on request (#1494) 2021-07-19 15:31:38 +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 Migration: go 1.17 2021-08-18 13:26:23 +08:00
README.md Chore: update development wiki to README.md 2021-06-13 23:11:49 +08:00
go.mod Chore: update dependencies 2021-09-07 20:16:07 +08:00
go.sum Chore: update dependencies 2021-09-07 20:16:07 +08:00
main.go Chore: -v add golang version 2021-04-04 17:36:22 +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

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

TODO

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