Commit graph

361 commits

Author SHA1 Message Date
gVisor bot
e4916d52d4 Fix: TLS defaults to true for h2/grpc networks 2023-01-14 16:20:58 +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
0467b2a68d feat: VLESS support packet encodings (#334)
* adjust: Do not use XTLS on H2 connections

* feat: VLESS support XUDP fullcone NAT

* fix: VLESS with PacketAddr does not work

* fix: VLESS XUDP crash
2023-01-11 22:01:15 +08:00
gVisor bot
bbe0932e19 chore: shadowtls don't depend on trojan's code 2023-01-11 10:19:30 +08:00
gVisor bot
bb84e427a0 feat: Support ShadowTLS v2 as Shadowsocks plugin (#330) 2023-01-11 00:13:48 +08:00
gVisor bot
f7d2e12ed5 chore: clean code 2023-01-11 00:01:28 +08:00
gVisor bot
6cd66b6372 fix: vmess udp 2023-01-10 13:21:32 +08:00
gVisor bot
f28a57b665 fix: vless RoutingMark bind 2023-01-09 23:15:17 +08:00
gVisor bot
7bd6c1c874 chore: Fix fmt in #321
Replace all double spaces to tabs due to Go fmt proposal.
2023-01-07 12:24:28 +08:00
gVisor bot
87d9698ac3 proxy-groups support exclude node by node type 2023-01-03 21:47:57 +08:00
gVisor bot
f9ad33a874 proxy-provider support exclude node by node type 2023-01-03 21:27:07 +08:00
gVisor bot
a0d15df880 fix: trying to let hysteria's port hopping work 2022-12-23 11:00:55 +08:00
gVisor bot
2e02b5c389 fix: some safeConnClose forget using original 2022-12-22 12:31:45 +08:00
gVisor bot
57cd902214 chore: cleanup code 2022-12-22 09:53:25 +08:00
gVisor bot
861357234f chore: relay support tuic 2022-12-20 00:11:02 +08:00
gVisor bot
ec0136af1b chore: rebuild relay 2022-12-19 21:34:07 +08:00
gVisor bot
f09afc8d8a chore: support relay native udp when using ss and ssr protocol 2022-12-19 17:02:04 +08:00
gVisor bot
78a2dbd9d8 chore: better safeConnClose 2022-12-16 22:16:02 +08:00
gVisor bot
50550d3997 chore: wireguard's reserved support base64 input 2022-12-13 20:40:07 +08:00
gVisor bot
317fb07e25 fix: check conn is nil in safeConnClose 2022-12-13 18:09:19 +08:00
gVisor bot
9978adc996 fix: safeConnClose not working 2022-12-13 13:20:40 +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
bd7dd813c0 chore: add persistent-keepalive for wireguard 2022-12-13 08:35:01 +08:00
gVisor bot
1c86a0f3b7 fix: fix wireguard outbound not work with ipv6 server 2022-12-13 08:23:17 +08:00
gVisor bot
122a151ec6 fix: fix wireguard outbound not work with the sniffer 2022-12-11 23:53:53 +08:00
gVisor bot
524b82734a fix: add an unmap before is6 2022-12-11 15:48:37 +08:00
gVisor bot
3d79bf1072 fix: hysteria ipv6 outbound 2022-12-11 13:41:44 +08:00
gVisor bot
0e654753c2 fix: issue #292 2022-12-11 09:25:46 +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
46147944f3 chore: all listeners support specialProxy 2022-12-05 17:53:54 +08:00
gVisor bot
6b0057a413 chore: update dependencies 2022-12-05 11:03:28 +08:00
gVisor bot
6885d8593c chore: listeners support shadowsocks/vmess 2022-12-05 10:12:53 +08:00
gVisor bot
37703c5e8f chore: rebuild add adapter/inbound.Addition to simply Listener.New apis 2022-12-05 00:20:50 +08:00
gVisor bot
75af900fc5 fix: correct C.Metadata 2022-12-04 22:08:20 +08:00
gVisor bot
3b1b077f80 chore: rebuild InboundListener 2022-12-04 21:53:13 +08:00
gVisor bot
9c9ff4dc5e chore: change C.PacketAdapter from a struct to an interface 2022-12-04 14:37:52 +08:00
gVisor bot
ae17141588 feat: add linsters 2022-12-04 13:37:14 +08:00
gVisor bot
3ed496ac65 fix: remove cyclic dependent to make tuic's Finalizer work 2022-12-02 16:56:17 +08:00
gVisor bot
4f1c2dfbaa chore: restful api display fast-open for tuic and hysteria 2022-11-29 00:56:27 +08:00
gVisor bot
c24bb51cc1 Merge branch 'dev' of https://github.com/Dreamacro/clash into Alpha 2022-11-28 20:04:56 +08:00
gVisor bot
b646df14c2 fix: structure decode first do strict match 2022-11-28 19:11:55 +08:00
gVisor bot
dbe9c4ba47 chore: add tuic-server listener 2022-11-28 17:09:25 +08:00
gVisor bot
4171855c77 chore: support KeyReplacer in Structure Decoder 2022-11-27 13:44:38 +08:00
gVisor bot
262797c5a4 fix: hop-interval of tysteria is optional too 2022-11-27 13:07:27 +08:00
gVisor bot
c1189015ad fix: ports of hysteria is optional 2022-11-27 12:52:14 +08:00
gVisor bot
295cc3af92 add support for hysteria udp port hopping (#269)
* add support for hysteria udp port hopping

* add ports field for hysteria

* change method for udp connection

Co-authored-by: geoleonsh <geoleonsh@live.com>
2022-11-27 11:09:56 +08:00
gVisor bot
81f5305705 chore: allow to set max-open-streams for tuic 2022-11-27 09:38:20 +08:00
gVisor bot
d3bfbe06dc chore: rebuild tuic client's code 2022-11-26 23:53:59 +08:00
gVisor bot
3afe8226e3 chore: clear config field name (be compatible with old field name) 2022-11-26 21:35:47 +08:00
gVisor bot
c3d449af71 chore: tuic add fast-open support 2022-11-26 21:14:56 +08:00
gVisor bot
7fde98c9df feat: support fast_open for hysteria, and unified parameter naming 2022-11-26 19:37:32 +08:00
gVisor bot
ee13bbd9cf Fix: drop UDP packet which mismatched destination for VMess (#2410)
Co-authored-by: SUN Sizhe <sunsizhe@cmi.chinamobile.com>
2022-11-26 11:27:24 +08:00
gVisor bot
5e6b33327b chore: tuic use a udp pool too and auto close when outbound is garbage collected 2022-11-25 22:42:28 +08:00
gVisor bot
fd80dbfdf3 chroe: wrong variable 2022-11-25 20:53:08 +08:00
gVisor bot
69b223041c chore: tuic use a simple client pool 2022-11-25 20:14:05 +08:00
gVisor bot
10e194a238 fix: tuic set MaxOpenStreams 2022-11-25 18:32:30 +08:00
gVisor bot
947f029a4a chore: split tuic's tcp and udp client 2022-11-25 17:15:45 +08:00
gVisor bot
71c8ef54e6 chore: tuic add max_udp_relay_packet_size 2022-11-25 12:43:23 +08:00
gVisor bot
25540e6c96 chore: better tuic conn close 2022-11-25 11:32:52 +08:00
gVisor bot
b2939ad863 fix: prefer ipv6 not working 2022-11-25 11:12:22 +08:00
gVisor bot
d9157e77db fix: tuic typo 2022-11-25 10:45:06 +08:00
gVisor bot
65b60a3468 chore: tuic add cubic,new_reno,bbr congestion_controller 2022-11-25 10:33:37 +08:00
gVisor bot
0f4a0a7275 chore: add tuic outbound
close #133
2022-11-25 08:08:14 +08:00
gVisor bot
538743555e fix: better wireguard error handle 2022-11-18 19:40:39 +08:00
gVisor bot
e9333f4586 fix: wireguard handle conn is nil 2022-11-18 19:32:12 +08:00
gVisor bot
24cfa48eef chore: better tfo inbound code 2022-11-16 10:43:16 +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
71ab8298a2 chore: always pass context when resolve dns 2022-11-12 13:18:36 +08:00
gVisor bot
a6e05e040b chore: support IN-PORT rule 2022-11-11 23:36:06 +08:00
gVisor bot
d5d5dc2303 chore: remove AddrType on Metadata 2022-11-11 09:19:50 +08:00
gVisor bot
6737f32ea6 fix: small-case import name 2022-11-09 19:42:56 +08:00
gVisor bot
f33ad58ff5 fix: wireguard's dns resolve 2022-11-09 19:35:03 +08:00
gVisor bot
fb54c3b589 chore: support wireguard outbound 2022-11-09 18:44:06 +08:00
gVisor bot
b1802da5ea fix: exclude-filter not work when filter is empty 2022-11-09 08:41:30 +08:00
gVisor bot
a3d4385a90 chore: add exclude-filter to ProxyGroup 2022-11-09 08:06:37 +08:00
gVisor bot
2f6171aecc fix: subscriptionInfo api 2022-11-08 22:30:50 +08:00
gVisor bot
1dbd0cbf06 fix: subscriptionInfo api
fix: subscriptionInfo api

fix: subscriptionInfo api
2022-11-08 07:59:08 +08:00
gVisor bot
6a631ed31d fix: context import 2022-11-06 08:43:39 +08:00
gVisor bot
60311dc74e feat: subscriptionInfo 2022-11-05 19:39:17 +08:00
gVisor bot
350fe79865 Fix: a shared fastSingle.Do() may cause providers untouched (#2378) 2022-11-04 13:11:01 +08:00
gVisor bot
dd7e2237e9 fix: group filter add not matched proxies at the end 2022-10-31 21:50:30 +08:00
gVisor bot
f42e2ea890 chore: better UrlTest's torch 2022-10-31 16:58:29 +08:00
gVisor bot
a07205739f fix: UrlTest's torch not work
close #232
2022-10-31 16:45:14 +08:00
gVisor bot
4e32764c87 adjust: add some log for healthcheck debug 2022-10-31 16:04:50 +08:00
gVisor bot
744c058932 fix: lazy check 2022-10-30 23:08:18 +08:00
gVisor bot
9f75ad7278 chore: support multi filter in GroupBase too 2022-10-30 22:30:54 +08:00
gVisor bot
68014c786d chore: support multi filter like subconverter in ProxyProvider and add exclude-filter to ProxyProvider 2022-10-30 21:04:33 +08:00
gVisor bot
3a750588b8 fix: when connection refused active health test 2022-10-16 13:12:49 +08:00
gVisor bot
afd5e48adc chore: use sing-tun to replace old tun_adapter 2022-10-06 19:23:38 +08:00
gVisor bot
acd541b7ea feat: Add VMess global padding support 2022-10-02 22:42:33 +08:00
gVisor bot
a0cf44947a chore: Unify config field name style 2022-10-02 21:46:01 +08:00
gVisor bot
a692e3b2c7 Chore: compatible with Stash hysteria config 2022-09-21 23:42:33 +08:00
gVisor bot
fe21e4873e chore: add xudp support for vmess 2022-09-19 18:26:43 +08:00
gVisor bot
27be7b300d fix: wrong host shown when using uot 2022-09-19 17:37:16 +08:00
gVisor bot
843e1c0f27 fix: resolve ip of udp proxy error 2022-08-29 13:04:48 +08:00
gVisor bot
c7c80cf90e fix: hysteria udp crash 2022-08-29 12:10:46 +08:00
gVisor bot
eeac5354a1 fix: udp default resolve ip 2022-08-28 15:57:10 +08:00
gVisor bot
2022605546 feat: add ip-version param 2022-08-28 13:41:43 +08:00
gVisor bot
545af5d11c fix: Temporarily delete marking node alive as false when error occurs 2022-08-13 18:25:28 +08:00
gVisor bot
20b9406df2 Chore: http2 should use DialTLSContext and some tls handshake should with context 2022-08-13 12:35:39 +08:00