Skyxim
7d230139a0
fix: rand ip error and clash
remove loopback ip
2023-03-12 18:44:30 +08:00
Larvan2
0a6c848c9e
feat: nameserver-policy support multiple keys
...
e.g.,
nameserver-policy: # 'www.baidu.com': '114.114.114.114'
# '+.internal.crop.com': '10.0.0.1'
"geosite:cn,private,apple":
- https://doh.pub/dns-query
- https://dns.alidns.com/dns-query
"www.baidu.com,+.google.cn":
- 223.5.5.5
- 1.1.1.1
2023-03-12 16:56:29 +08:00
Skyxim
7f588935ea
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
Larvan2
4b72ae7aab
fix: global-client-fingerprint is now work
2023-03-12 13:35:59 +08:00
Skyxim
07f3cd2ae5
chore: exposure ipv6 wait time
2023-03-10 23:38:16 +08:00
Skyxim
8c135e4a91
chore: adjust log
2023-03-10 20:48:18 +08:00
Larvan2
1e6f0f28f6
chore: change default geo* url
2023-03-08 00:19:20 +08:00
Skyxim
f565edd76d
chore: add custom ca trust
2023-02-25 22:01:20 +08:00
Skyxim
f586f22ce3
fix: incorrect time to set interface name
2023-02-22 21:08:08 +08:00
Skyxim
59cd89a9c9
fix: parsing ipv6 doh error
2023-02-17 23:30:38 +08:00
Skyxim
6fe1766c83
chore: add log
2023-02-17 13:48:29 +08:00
Larvan2
967254d9ca
chore: move global-utls-client snippets to components\tls
2023-02-07 17:24:14 +08:00
Larvan2
05ca819823
feat: add global-client-fingerprint.
...
* Available: "chrome","firefox","safari","ios","random","none".
* global-client-fingerprint will NOT overwrite the proxy's client-fingerprint setting when "client-fingerprint: none".
2023-02-07 01:26:56 +08:00
Skyxim
c8b8b60b93
chore: override-destination default value is true
2023-02-06 17:48:49 +08:00
Skyxim
e1e1984d3e
feat: nameserver policy support multiple server
2023-02-03 21:40:05 +08:00
Skyxim
2cf66f41cb
fix: parse error
2023-01-28 16:09:14 +08:00
Skyxim
1924b308fd
chore: clear code
2023-01-27 17:10:15 +08:00
Skyxim
0d62e42c50
chore: better parsing pure UDP DNS
2023-01-27 17:02:58 +08:00
Larvan2
d3193cf8b7
Chore: Better parsing pure IPv6 UDP DNS
2023-01-27 15:08:05 +08:00
Skyxim
5bcea37d59
chore: better parse udp dns
2023-01-27 13:07:52 +08:00
Skyxim
096bb8d439
feat: add override-destination for sniffer
2023-01-23 14:08:11 +08:00
Skyxim
df1f6e2b99
feat: better config for sniffer
2023-01-23 13:16:25 +08:00
Larvan2
8a7027e8d6
Fix: Remove EnableProcess from config.go and enable-process from config.yaml.
...
Fix: FindProcess is now enabled by default when the rule set contains process-name rules.
2023-01-20 16:29:08 +08:00
Skyxim
8a9b3b3d59
fix: config parse error
2023-01-14 22:34:54 +08:00
Skyxim
b6b6413d04
refactor: replace experimental.fingerprints with custom-certificates and Change the fingerprint verification logic to SSL pinning
2023-01-14 21:08:06 +08:00
chain710
b4503908df
fix #322 : add option general.find-process-mode, user can turn off findProcess feature in router
...
findProcess slow down connection due to repeat call to FindProcessName in router environment
this option has 3 values: always, strict, off
- always, equal to enable-process: true. Just try to merge all process related option into one
- strict, as default value, behavior remains unchanged
- off, turn off findProcess, useful in router environment
2023-01-09 19:48:39 +08:00
Skyxim
910e7fed97
fix: parse DoH url
2022-12-08 12:46:46 +08:00
wwqgtxx
e03fcd24dd
fix: let any type of dns server can use remote proxy
2022-12-07 13:00:45 +08:00
wwqgtxx
cd99b2e795
fix: config code merge
2022-12-06 10:13:05 +08:00
wwqgtxx
b5b06ea49c
fix: config crash
2022-12-06 09:04:30 +08:00
wwqgtxx
1c65a2c1b4
chore: cleanup rule parse code
2022-12-05 22:29:52 +08:00
wwqgtxx
fd9c4cbfa5
chore: listeners support tun
2022-12-05 17:43:50 +08:00
wwqgtxx
62226e8b3d
chore: rebuild InboundListener
2022-12-04 21:53:13 +08:00
wwqgtxx
6fc62da7ae
chore: change C.PacketAdapter from a struct to an interface
2022-12-04 14:37:52 +08:00
Skyxim
4f75201a98
feat: add linsters
2022-12-04 13:37:14 +08:00
Skyxim
ba884c29bd
refactor: adjust config
2022-12-03 14:14:15 +08:00
Skyxim
2fe271f19f
feat: add tls port for RESTful api and external controller
2022-12-03 12:25:10 +08:00
metacubex
cf5709aab1
fix: a temporary solution for error reporting when enabling tun for devices that do not have an ipv6 environment.
2022-12-03 00:10:50 +08:00
wwqgtxx
df8e129fc6
chore: optimize DomainTrie for only one child
2022-11-30 19:42:05 +08:00
wwqgtxx
84caee94af
chore: decrease DomainTrie's memory use
2022-11-30 18:50:46 +08:00
wwqgtxx
db81db5363
Chore: allow tunnels don't set special proxy
2022-11-28 20:31:32 +08:00
wwqgtxx
b4b9ef2362
Merge branch 'dev' of https://github.com/Dreamacro/clash into Alpha
2022-11-28 20:04:56 +08:00
wwqgtxx
551283c16e
chore: add tuic-server listener
2022-11-28 17:09:25 +08:00
Dreamacro
5b07d7b776
Feature: add tunnels
2022-11-20 21:30:55 +08:00
cubemaze
d78b2b1cfb
Merge pull request #256 from Skimmle/Alpha
...
featrue: DoH and DoQ are implemented using AdGuardTeam/dnsProxy
2022-11-12 11:19:04 +08:00
Skimmle
3e20912339
featrue: DoH and DoQ are implemented using AdGuardTeam/dnsProxy, DoH support perfer and force http3
2022-11-12 11:14:51 +08:00
wwqgtxx
3eacce9a66
chore: add vmess, shadowsocks, tcptun and udptun listener
2022-11-11 20:56:08 +08:00
wwqgtxx
64552fbd00
fix: when host's ip in fakeip's range, don't send to remote server
2022-11-10 21:08:06 +08:00
wwqgtxx
90f6cc233c
fix: correct yaml config name
2022-11-04 17:38:24 +08:00
wwqgtxx
e20d01a679
chore: try to let tun's restful patch api work
2022-11-04 08:52:30 +08:00