Commit graph

2373 commits

Author SHA1 Message Date
gVisor bot
ab245c0476 chore: better TunnelStatus define 2023-03-15 00:11:31 +08:00
gVisor bot
8774a57b38 fix: The default interface is actually configured incorrectly 2023-03-14 23:52:27 +08:00
gVisor bot
931dd615e3 chore: disconnect when suspended 2023-03-14 22:57:43 +08:00
gVisor bot
d2b5e19b68 fix: ensure restart api return ok 2023-03-14 22:38:59 +08:00
gVisor bot
ce14c86e4c chore: Chore: adjust the loading order, and then load the resource at last 2023-03-14 22:37:07 +08:00
gVisor bot
7811bb31a8 chore: add /restart to restful api 2023-03-14 22:19:12 +08:00
gVisor bot
8b46b13595 fix: optimize health check 2023-03-14 20:10:52 +08:00
gVisor bot
dddad46ae2 chore: cleanup code 2023-03-14 17:45:37 +08:00
gVisor bot
f8c1d4d4c7 chore: better restls 2023-03-14 16:50:27 +08:00
gVisor bot
a2e1f0d956 chore: clean up code 2023-03-14 14:23:10 +08:00
gVisor bot
492a334eed Support Restls-V1 in Clash.Meta (#441)
* feat: impl restls

* fix: don't break shadowtls' working

* chores: correct restls-client-go version

* feat: bump restls-client-go version

* fix: consistent naming `client-fingerprint`

* docs: update example config

* chore: adjust client-fingerprint's snippet

---------

Co-authored-by: wwqgtxx <wwqgtxx@gmail.com>
Co-authored-by: Larvan2 <78135608+Larvan2@users.noreply.github.com>
2023-03-14 13:33:24 +08:00
gVisor bot
f9be12aa93 chore: fix issues #440 2023-03-13 21:19:39 +08:00
gVisor bot
6a2ac83da1 fix: SA4001 for net.UDPAddr copy 2023-03-12 23:37:45 +08:00
gVisor bot
dcccdaddaf fix: tuic relay tuic 2023-03-12 19:03:18 +08:00
gVisor bot
020ed8bc96 fix: rand ip error and clash remove loopback ip 2023-03-12 18:44:30 +08:00
gVisor bot
4f23cda7c8 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
gVisor bot
05f59ea57f chore: add comment 2023-03-12 15:05:28 +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
e7ce046d0b fix: global-client-fingerprint is now work 2023-03-12 13:35:59 +08:00
gVisor bot
cb6f0675f6 chore: Remove useless mutex in Vision 2023-03-12 10:13:23 +08:00
gVisor bot
8df8bf1930 chore: update quic-go 2023-03-12 09:39:13 +08:00
gVisor bot
d0a530088b chore: Cleanup REALITY code 2023-03-11 12:23:27 +08:00
gVisor bot
7ef83f5131 chore: exposure ipv6 wait time 2023-03-10 23:38:16 +08:00
gVisor bot
905b396f73 fix: dial panic 2023-03-10 22:08:01 +08:00
gVisor bot
adce5f1be9 fix: ALPN not applied in uTLS/REALITY 2023-03-10 20:53:39 +08:00
gVisor bot
302ef3c6f7 chore: adjust log 2023-03-10 20:48:18 +08:00
gVisor bot
cbacbd7407 fix: dialer dual stack panic 2023-03-10 20:16:14 +08:00
gVisor bot
3d83eeba87 fix: ensure wireguard inner use dialer with DefaultResolver 2023-03-10 17:00:39 +08:00
gVisor bot
e5a3c4dced fix: SA4001 for netDialer copy 2023-03-10 16:17:54 +08:00
gVisor bot
de80454195 chore: adjust error log 2023-03-10 14:12:18 +08:00
gVisor bot
d7f42a40a9 chore: add reality-grpc 2023-03-10 14:10:28 +08:00
gVisor bot
f17b0b09d1 fix: add xtls-rprx-vision server version warning to user 2023-03-10 12:54:43 +08:00
gVisor bot
5ea4f0ed0b fix: strategyRoundRobin not begin with zero 2023-03-10 12:47:01 +08:00
gVisor bot
8521485872 fix: tuic server set authentication timeout after quic handshake complete 2023-03-10 12:26:17 +08:00
gVisor bot
e23fc76653 fix: don't return a non-nil interface containing nil pointer 2023-03-10 12:06:53 +08:00
gVisor bot
89ab6271d8 fix: REALITY with gRPC transport 2023-03-10 10:01:05 +08:00
gVisor bot
e15f92a1b6 fix: unmap 4in6 address in dialer and wireguard 2023-03-10 00:25:22 +08:00
gVisor bot
2e65b87a2b chore: update utls library 2023-03-09 12:33:29 +08:00
gVisor bot
b820804343 fix: load-balance's touch not effected 2023-03-09 11:09:36 +08:00
gVisor bot
89a070ea42 fix: tuic server close with error message 2023-03-09 10:41:24 +08:00
gVisor bot
48f50b722c chore: parse the allowInsecure field for the trojan uri scheme 2023-03-09 01:31:43 +08:00
gVisor bot
4134f7a5bd feat: REALITY use proxy servername 2023-03-08 20:28:12 +08:00
gVisor bot
b9e5b164f0 Update config.yaml 2023-03-08 19:12:51 +08:00
gVisor bot
68a2b8a9d2 feat: Support REALITY protocol 2023-03-08 17:18:46 +08:00
gVisor bot
ec50d65e22 chore: change default geo* url 2023-03-08 00:19:20 +08:00
gVisor bot
e7a8b23efa chore: do not apply padding for nonTLS packet with contentLen over 900 2023-03-07 16:35:19 +08:00
gVisor bot
a0760ece28 chore: try to fix slice out of bound. 2023-03-07 15:52:50 +08:00
gVisor bot
7d27018b17 fix: sing-vmess listener‘s "cipher: message authentication failed" 2023-03-07 14:11:38 +08:00
gVisor bot
a2f7fb4a0b chore: wireguard using internal dialer 2023-03-07 09:30:51 +08:00
gVisor bot
08c113b079 chore: cleanup dialer's code 2023-03-06 23:23:05 +08:00