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
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
b531a40791
chore: cleanup doh/doq's code
2022-12-13 11:23:34 +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
b48387d9f4
chore: optimize DomainTrie for only one child
2022-11-30 19:42:05 +08:00
gVisor bot
537035ffa8
chore: decrease DomainTrie's memory use
2022-11-30 18:50:46 +08:00
gVisor bot
65b60a3468
chore: tuic add cubic,new_reno,bbr congestion_controller
2022-11-25 10:33:37 +08:00
gVisor bot
271ae04f1e
fix: catch context.DeadlineExceeded too
2022-11-19 23:16:20 +08:00
gVisor bot
cc32f639ed
fix: adjust log
2022-11-19 23:07:49 +08:00
gVisor bot
e3c162d833
fix: better error return
2022-11-19 23:06:27 +08:00
gVisor bot
60b6d68339
fix: better error check
2022-11-19 23:03:14 +08:00
gVisor bot
f26bc212e1
fix: DoH recreate the connection multiple times
2022-11-19 22:48:04 +08:00
gVisor bot
5841fa51b0
fix: rollback batchExchange's code
2022-11-19 10:35:45 +08:00
gVisor bot
28c2ae75e0
fix: DoH/DoQ doesn't use context
2022-11-19 10:31:50 +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
5fd2771740
fix: auto retry in exchangeWithoutCache
2022-11-19 08:51:00 +08:00
gVisor bot
d57e07d611
fix: reset timeout in exchangeWithoutCache's singleflight
2022-11-18 18:02:46 +08:00
gVisor bot
459d0ef522
fix: resolver's defer
2022-11-16 17:53:52 +08:00
gVisor bot
3e862bfe99
Merge commit '2a8e1778ad1d7b507e432f659407d76dffcaacb8' into Alpha
2022-11-14 20:17:52 +08:00
gVisor bot
d9f848ec02
fix: DoQ and HTTP/3 over proxy
2022-11-14 20:17:12 +08:00
gVisor bot
d955c2e016
chore: sync dns code
2022-11-12 21:31:07 +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
821e908e48
chore: better dns background fetch retrying
2022-11-12 18:29:19 +08:00
gVisor bot
71ab8298a2
chore: always pass context when resolve dns
2022-11-12 13:18:36 +08:00
gVisor bot
a6b0e094ee
fix: cleanup import
2022-11-12 12:31:44 +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
99a1561cd4
chore: trie.DomainTrie will not depend on zero value
2022-11-02 22:28:18 +08:00
gVisor bot
2022605546
feat: add ip-version param
2022-08-28 13:41:43 +08:00
gVisor bot
81dd0ed2db
Chore: reduce dhcp dns client cost
2022-08-24 21:36:19 +08:00
gVisor bot
08f414e9c7
Chore: remove old cache implementation
2022-08-17 11:43:20 +08:00