Commit graph

2436 commits

Author SHA1 Message Date
gVisor bot
97f3524eb9 fix: ToLower first 2023-03-18 22:20:31 +08:00
gVisor bot
6cc12551da Update flake.nix (#452) 2023-03-18 19:55:29 +08:00
gVisor bot
9f10df457b chore: do not modify ALPN in utls 2023-03-17 14:49:42 +08:00
gVisor bot
832ebb4050 Update UoT protocol 2023-03-17 13:23:45 +08:00
gVisor bot
2be8768bc7 fix: tuic udp native mode can't relay packetSize>1200 2023-03-16 21:09:44 +08:00
gVisor bot
9c0870106d Feat: support set tun file-descriptor in config file
Co-authored-by: DuFoxit <DuFoxit@users.noreply.github.com>
2023-03-15 23:43:58 +08:00
gVisor bot
38d5c0284e chore: Update dependencies 2023-03-15 18:58:59 +08:00
gVisor bot
856d49d027 chore: Improve REALITY handshake 2023-03-15 15:55:18 +08:00
gVisor bot
4b6bbef697 Update UoT protocol 2023-03-15 14:46:35 +08:00
gVisor bot
3001df622f chore: better uuid using 2023-03-15 10:10:03 +08:00
gVisor bot
dea929bdae fix: let quic-go works on outbound's packetConn 2023-03-15 09:56:00 +08:00
gVisor bot
b641024d1f chore: keep existing connections 2023-03-15 09:18:03 +08:00
gVisor bot
3c527f8535 fix: Adjust the timing of subscription information acquisition 2023-03-15 09:05:16 +08:00
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