Commit Graph

51 Commits

Author SHA1 Message Date
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
gVisor bot
b9dbd81038 Chore: skip cache acme challenge dns msg (#2469) 2022-12-22 13:30:23 +08:00
gVisor bot
ec0136af1b chore: rebuild relay 2022-12-19 21:34:07 +08:00
gVisor bot
f73cbb90a2 chore: split dns's dialContext and listenPacket 2022-12-13 12:38:46 +08:00
gVisor bot
52924804ef fix: fix bindIfaceToListenConfig() in windows force bind to an ipv4 address 2022-12-13 11:18:32 +08:00
gVisor bot
a6e88229d6 fix: let doh/dot server follow hosts and can remotely resolve itself ip 2022-12-07 20:01:44 +08:00
gVisor bot
5841fa51b0 fix: rollback batchExchange's code 2022-11-19 10:35:45 +08:00
gVisor bot
c57f091db5 fix: doh use NewRequestWithContext and batchExchange don't wait cancel finish 2022-11-19 09:43:31 +08:00
gVisor bot
722e8a6c27 Merge branch 'dev' of https://github.com/Dreamacro/clash into Alpha 2022-11-12 20:43:48 +08:00
gVisor bot
70c6e586ca Merge pull request #256 from Skimmle/Alpha
featrue: DoH and DoQ are implemented using AdGuardTeam/dnsProxy
2022-11-12 11:19:04 +08:00
gVisor bot
34ec07f589 featrue: DoH and DoQ are implemented using AdGuardTeam/dnsProxy, DoH support perfer and force http3 2022-11-12 11:14:51 +08:00
gVisor bot
d5d5dc2303 chore: remove AddrType on Metadata 2022-11-11 09:19:50 +08:00
gVisor bot
81dd0ed2db Chore: reduce dhcp dns client cost 2022-08-24 21:36:19 +08:00
gVisor bot
44a1ae08ef Fix: ALPN should on DoH instead of DoT (#2232) 2022-07-25 12:41:22 +08:00
gVisor bot
21d44fa391 refactor: DoH use fragment setting params 2022-07-21 21:40:28 +08:00
gVisor bot
91af078580 fix: DoT-ALPN error 2022-07-21 13:57:06 +08:00
gVisor bot
12338f285b feat: try h3 connect DOH, failed will fall back h2; turn on with dns.prefer-h3: true 2022-07-03 21:59:47 +08:00
gVisor bot
bb2b64ba42 chore: dns interface name 2022-06-25 09:16:51 +08:00
gVisor bot
0fcb82af0e fix: doq maybe crash when use adapter 2022-06-06 21:45:08 +08:00
gVisor bot
cc41c30b09 chore: 调整dns interface与adapter部分 2022-06-05 13:37:00 +08:00
gVisor bot
7b40a2bd06 chore: mix the proxy adapter and interface to dns client 2022-06-04 21:18:49 +08:00
gVisor bot
bbf0f1af4b Feature: can set custom interface for dns nameserver (#2126) 2022-06-01 10:50:54 +08:00
gVisor bot
02d30883b6 feat: "!"(not) support for geosite
eg. GEOSITE,!CN,Proxy & dns.fallback-filter.geosite: ['!CN']
2022-05-15 13:16:45 +08:00
gVisor bot
fe1099b0c5 refactor: doq dialer 2022-04-28 22:21:48 +08:00
gVisor bot
e2dbbb7cfe Refactor: metadata use netip.Addr 2022-04-20 22:52:05 +08:00
gVisor bot
915f40e71b Chore: IpToAddr 2022-04-20 22:09:16 +08:00
gVisor bot
bc33cd5630 Refactor: fakeip pool use netip.Prefix, supports ipv6 range 2022-04-12 20:32:08 +08:00
gVisor bot
b1cf4dc1a2 Refactor: lrucache use generics 2022-04-12 18:44:07 +08:00
gVisor bot
095a65abd9 [Feat]
1.Add DNS over QUIC support
2.Replace Country.mmdb with GeoIP.dat
3.build with Alpha tag
2022-01-27 12:25:53 +08:00
gVisor bot
e69c54cfcd [test] 2021-11-17 16:03:47 +08:00
gVisor bot
a40706ba21 Fix: unexpected proxy dial behavior on mapping mode 2021-10-18 21:08:27 +08:00
gVisor bot
653f2de2c0 Style: use gofumpt for fmt 2021-10-10 23:44:09 +08:00
gVisor bot
a50a642f01 Fix: dhcp client should request special interface 2021-10-05 13:31:19 +08:00
gVisor bot
da551ac737 Feature: add dhcp type dns client (#1509) 2021-09-06 23:07:34 +08:00
gVisor bot
089faa30a5 Fix: remove ClientSessionCache and add NextProtos for vmess to fix #1468 2021-07-03 20:34:44 +08:00
gVisor bot
be5a2a9adf Refactor: make inbound request contextual 2021-01-23 14:58:09 +08:00
gVisor bot
1752566405 Chore: return empty record in SVCB/HTTPSSVC on fake-ip mode 2020-10-13 00:15:49 +08:00
gVisor bot
c6e82884b4 Change: local resolve DNS in UDP request due to TURN failed 2020-06-12 23:39:03 +08:00
gVisor bot
7e5a24ebd2 Feature: implemented a strategy similar to optimistic DNS (#647) 2020-05-07 15:10:14 +08:00
gVisor bot
f965118386 Fix: dns tcp-tls X509.HostnameError (#638) 2020-04-17 11:29:59 +08:00
gVisor bot
bf90c7e9bb Chore: support MarshalYAML to some config filed (#581) 2020-03-15 19:40:39 +08:00
gVisor bot
c808d8a84f Fix: domain dns crash 2020-02-17 22:13:15 +08:00
gVisor bot
38e0b9da50 Feature: add default-nameserver and outbound interface 2020-02-15 21:42:46 +08:00
gVisor bot
713c8a2c40 Fix: upstream dns ExchangeContext workaround (#468) 2020-01-10 14:13:44 +08:00
gVisor bot
f7f76fb8b6 Chore: code style improvements (#361) 2019-10-14 17:13:23 +08:00
gVisor bot
be170308c2 Feature: support DoH 2019-06-28 12:29:08 +08:00
gVisor bot
9c315339fd Feature: support fakeip 2019-05-03 00:05:14 +08:00
gVisor bot
b674db947b Fix: dns cache behavior 2019-02-23 20:31:59 +08:00
gVisor bot
794bbb87da Fix: crash when dns not set 2018-12-05 21:52:31 +08:00