A rule-based tunnel in Go.
Go to file
Jiahao Lu e1ec0d25a6
Fix: DNS cache max-age (#2850)
Regarding DNS cache, it's advisable to not rely on the TTL values
mentioned in the Ns and Extra sections. Otherwise, any DNS queries
that do not yield any results (such as for non-existent.example.com)
will be accidentally cached.

The need for the ACME challenge hack has been eliminated and as
such, it has been removed.
2023-07-29 13:18:12 +08:00
.github Docs(locales): add chinese locale support (#2772) 2023-07-14 22:20:15 +08:00
adapter Change: replace std regex with regexp2 (#2802) 2023-06-21 17:06:29 +08:00
common Improve: alloc using make if alloc size > 65536 (#2796) 2023-06-18 11:19:35 +08:00
component Fix: process resolving for udp (#2806) 2023-06-25 09:19:06 +08:00
config Chore: global ipv6 could affect dns ipv6 2023-07-22 17:35:30 +08:00
constant Refactor: refactor find process (#2781) 2023-06-13 23:25:32 +08:00
context Chore: update uuid to v5 2023-03-14 21:18:09 +08:00
dns Fix: DNS cache max-age (#2850) 2023-07-29 13:18:12 +08:00
docs Docs(locales): add chinese locale support (#2772) 2023-07-14 22:20:15 +08:00
hub Fix: potential token time attack 2023-05-06 14:51:28 +08:00
listener Refactor: refactor find process (#2781) 2023-06-13 23:25:32 +08:00
log Fix: make log api unblocked 2022-04-26 22:36:10 +08:00
rule Feature: support IPSET rule (#2693) 2023-04-22 20:07:47 +08:00
test Chore: update dependencies 2023-06-30 21:03:58 +08:00
transport Fix: method in vmess http-opts is not used (#2846) 2023-07-25 19:45:29 +08:00
tunnel Refactor: refactor find process (#2781) 2023-06-13 23:25:32 +08:00
.gitignore Docs: new documentation site (#2723) 2023-05-15 21:47:01 +08:00
.golangci.yaml Chore: add some linters and clean up the code 2023-04-04 14:53:59 +08:00
Dockerfile Refactor: improve Dockerfile (#2246) 2022-09-21 21:09:11 +08:00
LICENSE License: use GPL 3.0 2019-10-18 11:12:35 +08:00
Makefile Feature: add loong64 build (#2762) 2023-05-24 09:44:43 +08:00
README.md Docs: fix logo url and update README (#2747) 2023-05-17 21:07:23 +08:00
go.mod Chore: update dependencies 2023-06-30 21:03:58 +08:00
go.sum Chore: update dependencies 2023-06-30 21:03:58 +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

This is a general overview of the features that comes with Clash.

  • Inbound: HTTP, HTTPS, SOCKS5 server, TUN device
  • Outbound: Shadowsocks(R), VMess, Trojan, Snell, SOCKS5, HTTP(S), Wireguard
  • Rule-based Routing: dynamic scripting, domain, IP addresses, process name and more
  • Fake-IP DNS: minimises impact on DNS pollution and improves network performance
  • Transparent Proxy: Redirect TCP and TProxy TCP/UDP with automatic route table/rule management
  • Proxy Groups: automatic fallback, load balancing or latency testing
  • Remote Providers: load remote proxy lists dynamically
  • RESTful API: update configuration in-place via a comprehensive API

Some of the features may only be available in the Premium core.

Documentation

You can find the latest documentation at https://dreamacro.github.io/clash/.

Credits

License

This software is released under the GPL-3.0 license.

FOSSA Status