Commit graph

489 commits

Author SHA1 Message Date
gVisor bot
89450664c1 feat: add mptcp for all proxy 2023-08-09 16:57:39 +08:00
gVisor bot
fd9aca5f39 chore: using uint16 for ports in Metadata 2023-08-09 13:51:02 +08:00
gVisor bot
1323773a23 chore: Remove legacy XTLS support (#645)
* chore: Remove legacy XTLS support

* chore: Rename function
2023-07-16 23:26:07 +08:00
gVisor bot
499b2babe5 feat: tuic outbound allow set an empty ALPN array 2023-07-16 10:29:43 +08:00
gVisor bot
903c77d806 chore: update to go1.21rc2, drop support for go1.19 2023-07-02 09:59:18 +08:00
gVisor bot
4840713221 Chore: Something update from clash (#639)
Chore: add alive for proxy api
Improve: alloc using make if alloc size > 65536
2023-06-30 17:36:43 +08:00
gVisor bot
ea6e63e94c chore: better close single connection in restful api 2023-06-26 18:25:36 +08:00
gVisor bot
679348d994 chore: avoid unneeded map copy when close connection in restful api 2023-06-26 17:46:14 +08:00
gVisor bot
496759ba7e chore: function rename 2023-06-19 08:32:11 +08:00
gVisor bot
c6db154046 chore: Update dependencies 2023-06-19 08:23:48 +08:00
gVisor bot
fee81c1962 chore: adjustable cwnd for cc in quic 2023-06-18 00:47:26 +08:00
gVisor bot
d558b31cf2 feat: optional provider path (#624) 2023-06-15 22:45:02 +08:00
gVisor bot
ea9a082c04 fix: singmux return wrong supportUDP value 2023-06-14 15:51:13 +08:00
gVisor bot
dd0c347c28 fix: tuicV5's heartbeat should be a datagram packet 2023-06-13 17:50:10 +08:00
gVisor bot
011cde328c feat: support tuicV5 2023-06-12 18:42:46 +08:00
gVisor bot
12c113d9cf chore: allow unsafe path for provider by environment variable 2023-06-11 01:55:49 +00:00
gVisor bot
5df878cb1f chore: Replace murmur3 with maphash 2023-06-10 17:35:19 +08:00
gVisor bot
b183183fbc fix: Disable XUDP global ID if source address invalid 2023-06-08 15:57:51 +08:00
gVisor bot
000197a706 feat: Add XUDP migration support 2023-06-07 23:03:36 +08:00
gVisor bot
ecd593bb97 When testing the delay through REST API, determine whether to store the delay data based on certain conditions instead of discarding it directly (#609) 2023-06-07 11:04:03 +08:00
gVisor bot
ea5a231145 chore: Something update from clash :) (#606) 2023-06-06 09:45:05 +08:00
gVisor bot
53be3f82cc fix: nil pointer in urltest (#603) 2023-06-05 12:40:46 +08:00
gVisor bot
da681299ab ProxyProvider health check also supports specifying expected status (#600)
Co-authored-by: wwqgtxx <wwqgtxx@gmail.com>
2023-06-04 14:00:24 +08:00
gVisor bot
dadd626f91 [Feature] Proxy stores delay data of different URLs. And supports specifying different test URLs and expected statue by group (#588)
Co-authored-by: Larvan2 <78135608+Larvan2@users.noreply.github.com>
Co-authored-by: wwqgtxx <wwqgtxx@gmail.com>
2023-06-04 11:51:30 +08:00
gVisor bot
9e6aaea7e0 chore: update quic-go to 0.35.1 2023-06-03 16:45:35 +08:00
gVisor bot
91b469afd0 chore: Reject packet conn implement wait read 2023-06-02 22:58:33 +08:00
gVisor bot
a9cb5342ee fix: handle manually select in url-test 2023-06-02 18:26:51 +08:00
gVisor bot
f65a16117e chore: Use API to create windows firewall rule 2023-05-31 15:54:36 +08:00
gVisor bot
755f7c27b8 chore: add WaitReadFrom support in ssr 2023-05-28 22:51:44 +08:00
gVisor bot
83f6d6f8f2 chore: add IN-USER and IN-NAME rules 2023-05-28 17:19:57 +08:00
gVisor bot
14c1918e6c chore: add WaitReadFrom support in quicStreamPacketConn 2023-05-28 15:22:08 +08:00
gVisor bot
3a2b819786 chore: add WaitReadFrom support in hyPacketConn 2023-05-28 09:33:42 +08:00
gVisor bot
35d15fe97c chore: switch ss uot default back to version 1 2023-05-28 08:50:02 +08:00
gVisor bot
51e3b27439 fix: ensure group not empty 2023-05-19 19:57:55 +08:00
gVisor bot
c71a4619b8 chore: more context passing in outbounds 2023-05-18 13:15:08 +08:00
gVisor bot
90bf28cb89 feat: Support insecure gRPC 2023-05-13 09:38:14 +08:00
gVisor bot
4c38b2f0bf fix: sing-based listener panic 2023-05-12 09:14:27 +08:00
gVisor bot
2f33ef8642 fix: Deadline not apply on EnhancePacketConn 2023-05-11 19:58:50 +08:00
gVisor bot
31b70b9fbd chore: decrease shadowsocks udp read memory used for no-windows platform 2023-05-11 19:01:41 +08:00
gVisor bot
0253db1a1a fix: mux's udp should add write lock 2023-05-11 15:34:28 +08:00
gVisor bot
82be6a68ad chore: decrease direct udp read memory used for no-windows platform 2023-05-11 13:47:51 +08:00
gVisor bot
b9faaa8143 chore: upgrade dependencies 2023-05-10 07:23:49 +08:00
gVisor bot
89488a4eb4 Feat: rewrite http outbound 2023-05-03 22:00:06 +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
fda4fdc6d5 refactor: Switch to sing-shadowsocks2 client 2023-04-30 18:57:16 +08:00
gVisor bot
249d871e60 fix: tunnel udp panic 2023-04-26 15:57:25 +08:00
gVisor bot
30c0359666 fix: wireguard auto close not working 2023-04-26 09:34:36 +08:00
gVisor bot
2bc88b1741 chore: support splice for direct outbound 2023-04-25 23:01:05 +08:00
gVisor bot
0f31336d93 chore: safe sing-mux close 2023-04-24 10:30:12 +08:00
gVisor bot
23a7aaeeed chore: force set SelectAble when start load cache 2023-04-24 08:07:17 +08:00
gVisor bot
c2af8cebf7 fix: smux should show its support udp and uot 2023-04-23 21:50:42 +08:00
gVisor bot
45b3f49942 feat: add statistic and only-tcp options for smux 2023-04-23 20:55:42 +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
190014aa1d chore: using sync/atomic replace uber/atomic 2023-04-22 15:37:57 +08:00
gVisor bot
d8ee1245f7 fix: vless udp not working 2023-04-20 09:38:08 +08:00
gVisor bot
7867b7ea2d chore: using new chan based deadline reader 2023-04-17 19:29:07 +08:00
gVisor bot
3267da1292 fix: wireguard reconnect failed 2023-04-13 17:01:01 +08:00
gVisor bot
316522de53 fix: vless tcp not working 2023-04-13 11:10:35 +08:00
gVisor bot
321ad945ba chore: udp always direct pass ip to remote without domain 2023-04-12 21:49:22 +08:00
gVisor bot
443583a116 chore: close all connections after proxySet initial 2023-04-12 18:50:51 +08:00
gVisor bot
4733356a76 fix: direct outbound not ensure ip was resolved 2023-04-12 12:57:59 +08:00
gVisor bot
d4b6acb212 fix: proxyDialer panic when domain name was not resolved 2023-04-12 12:49:53 +08:00
gVisor bot
e5158977b1 feat: proxy-provider can set dialer-proxy too
it will apply `dialer-proxy` to all proxy in this provider
2023-04-12 10:39:24 +08:00
gVisor bot
964a13ee55 chore: proxyDialer can add inner conn to statistic 2023-04-11 21:42:16 +08:00
gVisor bot
e604ec6bf8 chore: wireguard dns can work with domain-based server 2023-04-11 14:10:57 +08:00
gVisor bot
1151fc4e2f chore: proxyDialer can limited support old dial function 2023-04-11 12:51:24 +08:00
gVisor bot
72447a529d feat: wireguard add remote-dns-resolve and dns settings 2023-04-11 10:29:55 +08:00
gVisor bot
303690fd82 feat: support dialer-proxy config for all outbound 2023-04-10 11:20:28 +08:00
gVisor bot
d2c909dc57 chore: clarify the wireguard logging 2023-04-10 10:13:36 +08:00
gVisor bot
7536f23c1d feat: wireguard add dialer-proxy config to support chain forwarding 2023-04-10 08:54:10 +08:00
gVisor bot
c305ea2b7a chore: Add read deadline implementation 2023-04-09 22:58:05 +08:00
gVisor bot
74d96c67c2 chore: fix build 2023-04-09 19:17:44 +08:00
gVisor bot
f821549558 feat: urltest can be select by user 2023-04-08 02:04:16 +08:00
gVisor bot
2c83e7297c feat: Add multi-peer support for wireguard outbound 2023-04-03 16:14:07 +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
d7cd598e53 chore: sync sing-wireguard's update 2023-04-02 17:29:30 +08:00
gVisor bot
3980899f3b fix: firstWriteCallBackConn can pass N.ExtendedConn too 2023-04-01 20:56:49 +08:00
gVisor bot
72cac9b0de fix: inner http use host of address 2023-03-29 20:50:46 +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
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
3c527f8535 fix: Adjust the timing of subscription information acquisition 2023-03-15 09:05:16 +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
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
d0a530088b chore: Cleanup REALITY code 2023-03-11 12:23:27 +08:00
gVisor bot
3d83eeba87 fix: ensure wireguard inner use dialer with DefaultResolver 2023-03-10 17:00:39 +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
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
b820804343 fix: load-balance's touch not effected 2023-03-09 11:09:36 +08:00
gVisor bot
4134f7a5bd feat: REALITY use proxy servername 2023-03-08 20:28:12 +08:00
gVisor bot
68a2b8a9d2 feat: Support REALITY protocol 2023-03-08 17:18:46 +08:00
gVisor bot
a2f7fb4a0b chore: wireguard using internal dialer 2023-03-07 09:30:51 +08:00
gVisor bot
c6ec5c683b chore: Generate UUID from fastrand 2023-03-05 11:00:14 +08:00
gVisor bot
c1ca3d0d6f chore: Better REJECT conn 2023-03-04 18:33:05 +08:00