Commit graph

346 commits

Author SHA1 Message Date
gVisor bot
50fef8e201 fix: sing inbound should check needAdditionReadDeadline on udp too 2023-05-10 16:03:28 +08:00
gVisor bot
a48d1f0948 fixes #512: geo download failed when startup (#538)
* fixes #512: geo download failed when startup

- 启动阶段,executor还未初始化tunnel,tcpIn==nil导致geo下载失败,阻塞在
  tcpIn <- context

* chore: handled by the upper layer

* chore: remove useless parameters

---------

Co-authored-by: Skyxim <noreply@skyxim.dev>
2023-05-01 21:27:55 +08:00
gVisor bot
bbfdbae3a6 feat: add proxy and sing-based listener support sing-mux 2023-04-23 19:57:54 +08:00
gVisor bot
1248ba250e chore: update wireguard-go 2023-04-20 13:46:21 +08:00
gVisor bot
1e4778d69e chore: Adopt sing-tun's update 2023-04-17 20:38:37 +08:00
gVisor bot
7867b7ea2d chore: using new chan based deadline reader 2023-04-17 19:29:07 +08:00
gVisor bot
a0ddce0c6f chore: better error ignore 2023-04-09 23:06:56 +08:00
gVisor bot
c305ea2b7a chore: Add read deadline implementation 2023-04-09 22:58:05 +08:00
gVisor bot
81a996ec1d fix: tun warn timeout 2023-04-09 19:00:45 +08:00
gVisor bot
ae5fafa885 chore: make all net.Conn wrapper can pass through N.ExtendedConn 2023-04-02 22:24:46 +08:00
gVisor bot
96461ab557 feat: nameserver-policy support use rule-providers and reduce domain-set memory 2023-04-01 11:53:39 +08:00
gVisor bot
8143d28502 fix: tproxy listener cannot listen udp 2023-03-27 22:18:54 +08:00
gVisor bot
b49bb0b2bf chore: move sing-tun's udpTimeout fix to there lib 2023-03-23 19:53:28 +08:00
gVisor bot
e36bb24b43 fix: sing_tun apply udpTimeout when using gvisor stack 2023-03-23 14:05:31 +08:00
gVisor bot
ad9a2365e5 chore: shadowsocks listener support the "udp" setting 2023-03-21 12:40:36 +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
4b6bbef697 Update UoT protocol 2023-03-15 14:46:35 +08:00
gVisor bot
30fe29bea1 chore: Update dependencies 2023-03-04 23:41:56 +08:00
gVisor bot
e45b8dc404 chore: add early conn interface to decrease unneeded write 2023-02-27 00:26:49 +08:00
gVisor bot
32978a6459 fix: checkTunName mistake 2023-02-24 14:58:01 +08:00
gVisor bot
df28a353b9 fix: tunnel's inboundTFO missing 2023-02-24 14:19:50 +08:00
gVisor bot
a694155b20 chore: using sing-shadowtls to support shadowtls v1/2/3 2023-02-21 21:58:37 +08:00
gVisor bot
5b22884f6d chore: reset tunName in macos when it isn't startWith "utun" 2023-02-19 10:10:27 +08:00
gVisor bot
2a259ef8e7 fix: disable header protection in vmess server 2023-02-18 16:42:54 +08:00
gVisor bot
71a8982768 chore: Considering remove GOAMD64=v2 of linux-amd64-compatible
close https://github.com/MetaCubeX/Clash.Meta/issues/391
2023-02-18 13:32:26 +08:00
gVisor bot
aa9da5dcb0 chore: cleanup natTable's api 2023-02-18 13:16:07 +08:00
gVisor bot
e23763c71a feat: introduce a new robust approach to handle tproxy udp. (#389) 2023-02-17 16:31:15 +08:00
gVisor bot
7d50bea4d2 chore: Allow 0-RTT in Tuic server
refers to: https://github.com/quic-go/quic-go/pull/3635
2023-02-13 23:52:15 +08:00
gVisor bot
41e1506153 fix: tuic listener config name 2023-02-02 21:48:20 +08:00
gVisor bot
abdc12aed1 fix: Parse CC fail in tuic. 2023-02-02 21:29:12 +08:00
gVisor bot
6776ec538f fix: tuic server's MaxIncomingStreams 2023-01-17 14:25:19 +08:00
gVisor bot
82ab43c7ba fix: Add CC for TUIC server 2023-01-17 01:08:30 +08:00
gVisor bot
5fd6a3f18f fix: add Upstream to refconn 2023-01-16 13:26:30 +08:00
gVisor bot
2678489d32 fix: addr panic 2023-01-16 12:47:22 +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
deeba61c54 Feature: REDIRECT support IPv6 (#2473) 2022-12-22 19:25:30 +08:00
gVisor bot
635cb4d491 Chore: improve redir getorigdst 2022-12-22 12:00:56 +08:00
gVisor bot
fcd5580875 chore: linux ipv6 REDIRECT (#311) 2022-12-22 08:45:11 +08:00
gVisor bot
459166668c fix: tunnel panic 2022-12-11 08:59:57 +08:00
gVisor bot
f8b117007b fix: tun create panic 2022-12-08 11:29:39 +08:00
gVisor bot
d6a20af8b7 fix: config code merge 2022-12-06 10:13:05 +08:00
gVisor bot
2df61cdaa0 fix: config crash 2022-12-06 09:04:30 +08:00
gVisor bot
d26ea2b963 fix: inbound nil pointer 2022-12-05 23:10:47 +08:00
gVisor bot
46147944f3 chore: all listeners support specialProxy 2022-12-05 17:53:54 +08:00
gVisor bot
cfce7d4838 chore: listeners support tun 2022-12-05 17:43:50 +08:00
gVisor bot
9b5e35c96c chore: listeners support tunnel 2022-12-05 17:03:12 +08:00
gVisor bot
a6303be23b fix: remove unneed listener's start 2022-12-05 16:29:50 +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
b764d344fe chore: listeners support tuic 2022-12-04 23:05:13 +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
e01cfc5627 chore: support skip the same config Listeners' Close and Listen 2022-12-04 17:20:24 +08:00
gVisor bot
1bcd6cac83 fix: close linstener 2022-12-04 15:15:23 +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
cc1f051d99 Chore: allow tunnels don't set special proxy 2022-11-28 20:31:32 +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
fa1200dffb chore: tuic-server support restful api patch 2022-11-28 18:53:09 +08:00
gVisor bot
81e03ec904 chore: tuic-server support disassociate command 2022-11-28 18:18:51 +08:00
gVisor bot
dbe9c4ba47 chore: add tuic-server listener 2022-11-28 17:09:25 +08:00
gVisor bot
09ef083107 Fix: lint warning 2022-11-22 21:01:51 +08:00
gVisor bot
44e8aad7eb Feature: add tunnels 2022-11-20 21:30:55 +08:00
gVisor bot
24cfa48eef chore: better tfo inbound code 2022-11-16 10:43:16 +08:00
gVisor bot
d7d8037c1d ss and vmess inbound add tfo 2022-11-16 10:18:10 +08:00
gVisor bot
6e720744a7 update tfo to v2 2022-11-16 10:18:10 +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
ee63d0f05d code cleanup 2022-11-11 22:48:44 +08:00
gVisor bot
e4d211d0df chore: shadowsocks listener support old cipher 2022-11-11 22:44:44 +08:00
gVisor bot
4abbe8ce65 chore: add vmess, shadowsocks, tcptun and udptun listener 2022-11-11 20:56:08 +08:00
gVisor bot
8ce75d0eaa fix: avoid choose ZeroTier's tap to defaultInterface 2022-11-05 20:51:28 +08:00
gVisor bot
2d7f4a52af chore: try to let tun's restful patch api work 2022-11-04 08:52:30 +08:00
gVisor bot
5ca76bc941 chore: better tun config passing 2022-11-03 18:56:03 +08:00
gVisor bot
54434df43f fix: RESTful API empty tun device name 2022-11-03 18:04:37 +08:00
gVisor bot
0fdcd0f5d4 fix: try to support android hotspot when using tun 2022-11-03 12:58:21 +08:00
gVisor bot
9f2fb858c3 chore: netlink duplicate contains 2022-11-02 23:58:51 +08:00
gVisor bot
846c2978fd chore: retrying for "Cannot create a file when that file already exists." 2022-10-14 08:27:34 +08:00
gVisor bot
5aea89f2fd chore: add sing-tun's custom route support 2022-10-13 19:26:14 +08:00
gVisor bot
53afe73875 fix: set default tun udp timeout to 5 minutes 2022-10-10 22:10:36 +08:00
gVisor bot
5574d8e688 fix: tun stack shown 2022-10-10 19:02:57 +08:00
gVisor bot
9ca325bc13 fix: flush default interface when tun config hasn't change 2022-10-10 09:32:42 +08:00
gVisor bot
339176b4dc fix: correct sing-tun's rAddr 2022-10-09 13:16:13 +08:00
gVisor bot
a73f1f0b37 fix: don't set auto detect interface with tun name 2022-10-07 16:54:08 +08:00
gVisor bot
1bd6a4c4c2 fix: macos's tunName 2022-10-07 06:57:03 +08:00
gVisor bot
110e0014d1 chore: fix sing-tun's BuildAndroidRules 2022-10-06 22:18: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
7e67fb2f58 fix: dns tcp hijack not working 2022-10-05 13:29:10 +08:00
gVisor bot
86b86c69d0 adjust: routes for windows 2022-10-01 23:30:41 +08:00
gVisor bot
48f30b01ef fix: ebpf support 2022-08-22 23:17:41 +08:00
gVisor bot
08f414e9c7 Chore: remove old cache implementation 2022-08-17 11:43:20 +08:00
gVisor bot
42c3611715 Fix: no_gviosr tags 2022-08-12 12:53:11 +08:00
gVisor bot
40cab0094e Merge remote-tracking branch 'origin/Alpha' into Alpha 2022-08-12 03:36:15 +08:00
gVisor bot
8f690aef03 Chore: clean code 2022-08-12 03:35:49 +08:00
gVisor bot
3de41fb309 Fixed: gViosr func 2022-08-12 03:34:59 +08:00