A rule-based tunnel in Go.
Go to file
Dreamacro a794819869 Chore: upgrade actions and fixed golangci-lint version 2022-07-21 15:15:14 +08:00
.github Chore: upgrade actions and fixed golangci-lint version 2022-07-21 15:15:14 +08:00
adapter Change: remove AddrType on Metadata (#2199) 2022-07-05 20:26:43 +08:00
common Chore: adjust Relay copy memory alloc logic 2022-06-11 20:38:16 +08:00
component Fix: macOS udp find process should use unspecified fallback 2022-07-15 17:00:41 +08:00
config Feature: can set custom interface for dns nameserver (#2126) 2022-06-01 10:50:54 +08:00
constant Change: remove AddrType on Metadata (#2199) 2022-07-05 20:26:43 +08:00
context Refactor: plain http proxy (#1443) 2021-06-15 17:13:40 +08:00
dns Feature: can set custom interface for dns nameserver (#2126) 2022-06-01 10:50:54 +08:00
docs Update: README.md logo and badges 2018-06-23 00:44:28 +08:00
hub Chore: add redir-host deprecated warnning 2022-06-14 11:26:04 +08:00
listener Fix: try to unmap lAddr on tproxy udp listener 2022-06-29 23:36:45 +08:00
log Fix: make log api unblocked 2022-04-26 22:36:10 +08:00
rule Fix: process rule type (#2206) 2022-07-06 13:44:04 +08:00
test Chore: update test dependencies 2022-07-15 16:07:18 +08:00
transport Fix: query string parse on `ws-opts` (#2213) 2022-07-10 14:56:34 +08:00
tunnel Fix: fakeip udp should not replace with another ip 2022-07-05 21:09:29 +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 Fix: make golangci lint support multi GOOS 2022-04-13 17:51:21 +08:00
README.md Chore: update README.md 2021-09-20 17:22:40 +08:00
go.mod Chore: update dependencies 2022-07-07 22:15:50 +08:00
go.sum Chore: update dependencies 2022-07-07 22:15:50 +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