Commit Graph

267 Commits

Author SHA1 Message Date
gVisor bot
494093ca99 chore: code cleanup 2023-10-25 18:07:45 +08:00
gVisor bot
98be07c40f chore: share some code 2023-10-23 16:45:22 +08:00
gVisor bot
bf2c62958e fix: DNS NCACHE TTL and OPT RRs (#2900)
* Fix: DNS NCACHE TTL and OPT RRs

1. DNS NCACHE was not correctly implemented.
2. OPT RRs must not be cached or forwarded.

Closes #2889.
2023-10-16 09:21:06 +08:00
gVisor bot
fbce316b14 chore: better atomic using 2023-10-10 21:28:46 +08:00
gVisor bot
df57d49d8d Fix: should check all ips need to fallback (#2915) 2023-09-29 13:42:22 +08:00
gVisor bot
9a957501b2 fix: socks5 udp not working on loopback 2023-09-22 23:33:24 +08:00
gVisor bot
7de04cd5cf chore: rebuild ca parsing 2023-09-22 14:45:34 +08:00
gVisor bot
2e60b9a81c chore: Restore go1.20 support 2023-09-21 08:29:28 +08:00
gVisor bot
4407cc44f4 chore: DNS cache policy follow upstream 2023-09-17 17:18:35 +08:00
gVisor bot
8a3231205a fix: caceh dns result 2023-09-16 12:30:11 +08:00
gVisor bot
fd9aca5f39 chore: using uint16 for ports in Metadata 2023-08-09 13:51:02 +08:00
gVisor bot
c61e93e817 Fix: mapping dns should not stale (#675)
* Fix: mapping dns should not stale

* Update enhancer.go
2023-08-01 17:30:57 +08:00
gVisor bot
1908d02db0 feat: Add Meta-geoip V0 database support 2023-07-17 10:33:20 +08:00
gVisor bot
ce8cac3bea feat: Add sing-geoip database support 2023-07-14 22:28:24 +08:00
gVisor bot
77d099e66c fix: DNS cache 2023-07-14 09:55:43 +08:00
gVisor bot
903c77d806 chore: update to go1.21rc2, drop support for go1.19 2023-07-02 09:59:18 +08:00
gVisor bot
d0c0924e6c chore: better resolv.conf parsing 2023-06-28 09:17:54 +08:00
gVisor bot
381600bfd9 fix: dns concurrent not work 2023-06-12 18:42:46 +08:00
gVisor bot
07d75d52e6 chore: Disable cache for RCode client 2023-06-11 23:01:51 +08:00
gVisor bot
1f49fa0c5d feat: Add RCode DNS client 2023-06-11 23:01:45 +08:00
gVisor bot
ea5a231145 chore: Something update from clash :) (#606) 2023-06-06 09:45:05 +08:00
gVisor bot
9e6aaea7e0 chore: update quic-go to 0.35.1 2023-06-03 16:45:35 +08:00
gVisor bot
002f05e6e9 chore: cleanup system dns code 2023-06-01 12:36:53 +08:00
gVisor bot
e4a0b3b2f1 chore: Remove default DNS in system resolver 2023-05-01 12:41:36 +08:00
gVisor bot
3fd1d92966 feat: support system dns for windows 2023-05-01 00:46:57 +08:00
gVisor bot
c556482ab7 feat: support system dns 2023-04-30 23:59:54 +08:00
gVisor bot
190014aa1d chore: using sync/atomic replace uber/atomic 2023-04-22 15:37:57 +08:00
gVisor bot
e88a77202d chore: resolver priority return TypeA in ResolveIP (not effected LookupIP) 2023-04-12 22:06:21 +08:00
gVisor bot
3defc3fc77 chore: proxyDialer first using old function to let mux work 2023-04-12 11:09:31 +08:00
gVisor bot
e604ec6bf8 chore: wireguard dns can work with domain-based server 2023-04-11 14:10:57 +08:00
gVisor bot
72447a529d feat: wireguard add remote-dns-resolve and dns settings 2023-04-11 10:29:55 +08:00
gVisor bot
96461ab557 feat: nameserver-policy support use rule-providers and reduce domain-set memory 2023-04-01 11:53:39 +08:00
gVisor bot
ef31e42456 chore: share the same geodata in different rule 2023-03-23 18:35:37 +08:00
gVisor bot
26ed6eaf69 chore: proxy-server-nameserver does not follow the nameserver-policy 2023-03-23 12:58:59 +08:00
gVisor bot
7673f52431 fix: geosite of nameserver-policy cannot be loaded correctly 2023-03-18 22:33:39 +08:00
gVisor bot
e5eab112d0 feta: add hosts support domain and mulitple ip (#439)
* feat: host support domain and multiple ips

* chore: append local address via `clash`

* chore: update hosts demo

* chore: unified parse mixed string and array

* fix: flatten cname

* chore: adjust logic

* chore: reuse code

* chore: use cname in tunnel

* chore: try use domain mapping when normal dns

* chore: format code
2023-03-12 15:00:59 +08:00
gVisor bot
7ef83f5131 chore: exposure ipv6 wait time 2023-03-10 23:38:16 +08:00
gVisor bot
a5cf2ce0df chore: use fastrand to replace math/rand 2023-03-06 18:10:14 +08:00
gVisor bot
c75d75c982 chore: combine workflows 2023-02-19 01:23:06 +08:00
gVisor bot
22d25db573 style: run go fmt on every .go file (#392) 2023-02-17 16:31:37 +08:00
gVisor bot
b4862b7124 fix: avoid modifying the request message id 2023-02-14 21:09:37 +08:00
gVisor bot
4055f72f48 feat: nameserver policy support multiple server 2023-02-03 21:40:05 +08:00
gVisor bot
6ee45630ba chore: dns log error 2023-01-29 11:03:39 +08:00
gVisor bot
c348b6ae70 chore: better dns log 2023-01-28 22:33:03 +08:00
gVisor bot
5715ae8c5f chore: adjust keyword for geosite-based nameserver policy 2023-01-28 00:19:58 +08:00
gVisor bot
0bf0750d50 feature: geosite-based nameserver policy 2023-01-27 23:40:53 +08:00
gVisor bot
8ec6c87a2b refactor: replace experimental.fingerprints with custom-certificates and Change the fingerprint verification logic to SSL pinning 2023-01-14 21:08:06 +08:00
gVisor bot
419982688f fix: skip-cert-verify is true by default (#333)
* fix: skip-cert-verify is true by default

* fix: format

* fix: typo

Co-authored-by: 3andero <3andero@github.com>
Co-authored-by: Hellojack <106379370+H1JK@users.noreply.github.com>
2023-01-13 09:55:01 +08:00
gVisor bot
79bd67a6c4 fix: dns cache index out of range 2023-01-11 09:54:07 +08:00
gVisor bot
ae5e4559dc Merge branch 'dev' of https://github.com/Dreamacro/clash into Alpha 2023-01-01 13:03:30 +08:00