Commit Graph

918 Commits

Author SHA1 Message Date
Dreamacro d006b0f2b4 Chore: update dependencies 2023-05-19 21:55:04 +08:00
Birkhoff Lee d9753efe23
Docs: link logo to public directory (#2748)
Signed-off-by: Birkhoff Lee <git@birkhoff.me>
2023-05-19 21:14:03 +08:00
Birkhoff Lee 6ecd96e5ac
Docs: fix logo url and update README (#2747)
Signed-off-by: Birkhoff Lee <git@birkhoff.me>
2023-05-17 21:07:23 +08:00
Dreamacro fdb1456c69 Fix: docs build path 2023-05-15 22:35:03 +08:00
Dreamacro 7d9723662c Chore: upgrade actions/deploy-pages version 2023-05-15 21:55:52 +08:00
Birkhoff Lee ca42ca2ca8
Docs: new documentation site (#2723)
This commit adds a VitePress build to the main repository,
aiming to ditch GitHub Wiki. Moving further, we're going to
host our own documentation site eithor on GitHub Pages or
something alike.
2023-05-15 21:47:01 +08:00
江湖风轻 10dcb7a3ad
Fix: PacketConn's internal remote address is overwritten (#2727)
When using vmess + fake-ip, after receiving the first UDP response,
PacketConn's internal address will be rewritten to fake-ip, causing all
subsequent sending operations to return "ErrUDPRemoteAddrMismatch".

Signed-off-by: Hackerl <490021209@qq.com>
2023-05-11 18:42:24 +08:00
Dreamacro 4c3c64a34a Fix: potential token time attack 2023-05-06 14:51:28 +08:00
KaitoHH 257fcef0b8
Fix: adjust DNS TTL values based on minimum value (#2706)
This commit adds an updated function that adjusts
the TTL values of DNS records are based on the minimum TTL
the value found in the records list so that all records share the
same TTL value. This ensures consistency in the cache
expiry time for all records to prevent caching issues.
2023-04-30 12:18:20 +08:00
Georeth Chow 7f1b50f4a7
Chore: Fix ISSUE_TEMPLATE (DEBUG -> debug) (#2711) 2023-04-28 17:23:00 +08:00
Birkhoff Lee 4f5e74dad9
Chore: update bug_report.yml (#2708)
Signed-off-by: Birkhoff Lee <git@birkhoff.me>
2023-04-27 18:19:31 +08:00
yaling888 48b77b2847
Fix: socks4 server handshake (#2700) 2023-04-25 20:16:11 +08:00
major1201 6eee226965
Feature: support IPSET rule (#2693) 2023-04-22 20:07:47 +08:00
Dreamacro 765982e86a Chore: add new `lint-fix` for Makefile 2023-04-22 20:03:57 +08:00
yaling888 c5fe5235f7
Feature: add provider proxies API (#2668) 2023-04-22 19:16:51 +08:00
Dreamacro 63770b328f Fix: direct require protobytes 2023-04-21 21:13:13 +08:00
Dreamacro 85f4cb23fc Fix: put correctly pool 2023-04-20 11:07:21 +08:00
Xiaochao Dong d71324069d
Feature: support basic authentication for DoH (#2684) 2023-04-19 11:30:57 +08:00
Dreamacro b7aade5e11 Chore: use protobytes replace most of bytes.Buffer 2023-04-17 14:08:39 +08:00
M4rtin Hsu df61a586c9
Fix: potential vulnerability in http provider (#2680) 2023-04-16 20:14:36 +08:00
Dreamacro 8e05fbfd6d Chore: update dependencies 2023-04-13 20:51:13 +08:00
yaling888 9b2b7c662d
Feature: add `filter` option to proxy group (#2518) 2023-04-08 19:23:19 +08:00
yaling888 20a521f02d
Feature: bind socket to interface by native API on Windows (#2662) 2023-04-08 19:20:14 +08:00
yaling888 95bbfe3945
Fix: should always drop packet when handle UDP packet (#2659) 2023-04-05 14:05:23 +08:00
Dreamacro 4cd4912749 Chore: more parse proxy group error detail 2023-04-04 16:50:41 +08:00
Dreamacro 5045ca4574 Chore: add some linters and clean up the code 2023-04-04 14:53:59 +08:00
RommHui a7252a1576
Feature: allow http outbound to set custom headers (#2647) 2023-03-31 20:33:41 +08:00
包布丁 7e2974f02f
Fix: return pooled buffer when simple-obfs tls read error (#2643) 2023-03-26 16:22:23 +08:00
Jiahao Lu 8f9b39c62e
Fix: potential panic in putMsgToCache (#2634)
When the upstream DNS server returns a message that contains no
questions (i.e. QDCOUNT == 0), `putMsgToCache` will trigger an
out-of-range panic.

Issue: #2524
Comment: https://github.com/Dreamacro/clash/issues/2524#issuecomment-1477477601
2023-03-21 19:36:49 +08:00
Dreamacro d808576f98 Chore: use the number of cpus in parallel make 2023-03-18 20:19:34 +08:00
Dreamacro fcbe2f06cc Chore: update docker workflow 2023-03-18 19:57:31 +08:00
Dreamacro 148ebccb60 Fix: ignore meanDelay error 2023-03-17 16:35:50 +08:00
Jeff An 3b1d319820
Feature: add support for dns search domains (#2597) 2023-03-17 15:53:06 +08:00
Dreamacro ff2f2b667b Chore: make test linter happy 2023-03-14 21:24:15 +08:00
Dreamacro e5a2dbd9b5 Chore: update uuid to v5 2023-03-14 21:18:09 +08:00
Dreamacro 4d14dd65fa Chore: update dependencies 2023-03-14 21:08:09 +08:00
Dave Yu 4ffc999617
Fix: modify local ip to pass all test (#2595) 2023-03-09 10:44:36 +08:00
Dreamacro 71f8f0667f Fix: fakeip 4in 6 unmap 2023-03-04 16:27:36 +08:00
Dreamacro f78a7cb2cb Feature: add meanDelay on URLTest 2023-02-28 13:28:42 +08:00
Dreamacro 8173d6681b Migration: go1.20 2023-02-16 21:43:40 +08:00
Dreamacro fbf2f26516 Chore: update bug report template 2023-02-03 21:19:06 +08:00
Dreamacro 9af6d498e7 Change: remove `redir-host` as config 2023-02-01 15:19:36 +08:00
bobo liu 81b1e9f931
Feature: support vmess 'zero' security (#2513) 2023-01-30 14:14:42 +08:00
Dreamacro 58732ee8b1 Chore: update dependencies 2023-01-29 18:46:47 +08:00
yaling888 d16727e2bd
Fix: dns api panic on disable dns section (#2498) 2023-01-18 16:58:03 +08:00
Dreamacro 876653ebc8 Feature: add riscv64 build 2023-01-18 12:06:06 +08:00
Dreamacro a26b670420 Feature: add dns query json api 2023-01-16 15:25:34 +08:00
Dreamacro 0489a7391b Chore: update test dependencies 2023-01-11 14:44:38 +08:00
Dreamacro 0c0d18a01c Chore: update dependencies 2023-01-11 14:43:34 +08:00
Dreamacro e1fa343088 Change: set false as `udp-fallback-match` default value 2023-01-04 17:43:14 +08:00