wwqgtxx
efa224373f
fix: shut it down more aggressively in grpc transport closing
2025-04-04 11:54:19 +08:00
wwqgtxx
7de24e26b4
fix: StreamGunWithConn not synchronously close the incoming net.Conn
2025-04-03 23:41:24 +08:00
wwqgtxx
7f1225b0c4
fix: grpc transport can't be closed
2025-04-03 22:41:05 +08:00
wwqgtxx
23ffe451f4
chore: using http/httptrace to get local/remoteAddr for grpc client
2025-04-03 19:47:49 +08:00
anytls
f61534602b
chore: anytls protocol version 2 ( #1936 )
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
2025-03-27 20:25:31 +08:00
Cesaryuan
dee5898e36
fix: memory leak due to unclosed session ( #1908 )
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
2025-03-15 13:27:29 +08:00
Cesaryuan
ff89bf0ea0
feat: add gost-plugin in which only ws and mws are currently supported. ( #1896 )
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
2025-03-13 13:28:40 +08:00
wwqgtxx
4bd3ae52bd
chore: dialer will consider the routing of the local interface when auto-detect-interface in tun is enabled
...
for #1881 #1819
2025-03-10 10:45:31 +08:00
anytls
a7e56f1c43
fix: anytls client close ( #1871 )
...
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
Co-authored-by: anytls <anytls>
2025-03-02 10:47:10 +08:00
wwqgtxx
d81c19a7c8
fix: grpc server panic
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
2025-02-26 13:17:26 +08:00
anytls
e2140e62ca
chore: update anytls ( #1863 )
...
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 0s
Co-authored-by: anytls <anytls>
2025-02-26 11:17:12 +08:00
wwqgtxx
8d783c65c1
feat: inbound support grpc(lite)
2025-02-26 11:00:11 +08:00
wwqgtxx
91324b76d2
feat: inbound support trojan
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
2025-02-25 10:30:27 +08:00
Larvan2
5830afcbde
chore: add MinIdleSession option to AnyTLS configuration
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
2025-02-21 13:30:24 +08:00
anytls
e2b75b35bb
chore: update anytls ( #1851 )
...
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
* Implement deadline for `Stream`
* chore: code cleanup
* fix: buffer release
* fix: do not use buffer for `cmdUpdatePaddingScheme`
---------
Co-authored-by: anytls <anytls>
2025-02-19 15:54:56 +08:00
anytls
dc1145a484
fix: anytls padding send ( #1848 )
...
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
Co-authored-by: anytls <anytls>
2025-02-17 21:18:40 +08:00
wwqgtxx
b151e7d69c
chore: support fingerprint for anytls
2025-02-17 20:14:54 +08:00
wwqgtxx
808fdcf624
chore: code cleanup
2025-02-17 19:43:58 +08:00
anytls
9962a0d091
feat: implement anytls client and server ( #1844 )
2025-02-17 18:51:11 +08:00
wwqgtxx
08dcef80bf
fix: mistaken using net.Dialer
...
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 14s
https://github.com/MetaCubeX/mihomo/issues/1572
2024-10-09 12:04:56 +08:00
wwqgtxx
9cf3eb39f5
fix: hysteria1 outbound should be closed when proxy removed
2024-08-26 18:47:54 +08:00
wwqgtxx
345061a7cc
chore: support some chacha8 method
2024-07-19 22:08:05 +08:00
wwqgtxx
063836fe5d
chore: sync hysteria2 bbr changes
...
e0e75c4630
2024-06-05 11:56:27 +08:00
wwqgtxx
39eda257a7
chore: replace zhangyunhao116/fastrand to our metacubex/randv2
2024-05-31 13:07:48 +08:00
wwqgtxx
3195c678c7
chore: update quic-go to 0.44.0
2024-05-21 08:45:36 +08:00
wwqgtxx
df69a31e62
chore: stop using go:linkname for crypto/tls.aesgcmPreferred and update utls to 1.6.6
2024-05-19 11:32:22 +08:00
wwqgtxx
87877d1b80
fix: don't ignore http.NewRequest's error
2024-05-15 13:53:18 +08:00
wwqgtxx
7df1c26942
fix: fingerprint passing
2024-05-12 19:34:25 +08:00
wwqgtxx
89a097faa8
chore: update quic-go to 0.43.0
2024-04-28 13:24:33 +08:00
xishang0128
8ff56b5bb8
chore: Add InUser for http/socks/mixed
2024-04-25 11:48:53 +08:00
落心
0b4662e4b7
fixed: invalid argument to Intn ( #1133 )
2024-03-26 14:19:33 +08:00
Skyxim
0619c75276
fix: url format error when host is IPv6
...
[Bug] 使用IPV6地址+vmess+http伪装的配置引起内核panic MetaCubeX/mihomo#1063
2024-02-26 06:05:06 +00:00
wwqgtxx
5c1404f78e
chore: hysteria2 add udp-mtu option
...
default value is `1200-3` to match old version quic-go's capability
2024-01-22 20:56:28 +08:00
wwqgtxx
90ea6ab278
chore: update quic-go to 0.41.0
2024-01-20 09:48:20 +08:00
wwqgtxx
33bc7914e9
chore: read waiter for pipe
2024-01-02 18:34:34 +08:00
wwqgtxx
f16ebf9bfe
chore: add leading slash to ws-path
2023-12-18 23:22:50 +08:00
wwqgtxx
cbec564af9
chore: adapt new ReadWait interfaces
2023-12-07 23:32:37 +08:00
wwqgtxx
f572e7fba8
fix: avoid gobwas/ws pbytes.GetLen panic
2023-12-06 12:02:50 +08:00
wwqgtxx
ed210ee403
fix: only using xsync with pointer to avoid unaligned 64-bit atomic operation
...
closed #783
2023-12-06 11:01:03 +08:00
Larvan2
1a0932c210
feat: support ARC for DNS cache
2023-12-03 08:37:05 +08:00
wwqgtxx
d773d335a2
chore: Update quic-go to v0.40.0
2023-11-30 22:22:45 +08:00
wwqgtxx
599ce784d2
chore: simplify fast open code
2023-11-30 20:16:55 +08:00
H1JK
5f7053c519
feat: Add v2ray httpupgrade fast open support
2023-11-24 13:02:00 +08:00
wwqgtxx
37791acb59
chore: upgrade xsync to v3
2023-11-23 10:24:01 +08:00
wwqgtxx
832dae3421
chore: direct append data to bufio.Reader's internal buffer as much as possible
2023-11-09 22:19:29 +08:00
wwqgtxx
fe7c1a2cdb
chore: using wk8/go-ordered-map/v2 replace internal StringMapSlice
2023-11-09 08:47:44 +08:00
wwqgtxx
17c9d507be
chore: hello mihomo
2023-11-03 21:58:21 +08:00
wwqgtxx
8c3557e96b
chore: support v2ray http upgrade server too
2023-11-03 13:58:53 +08:00
wwqgtxx
228990472d
fix: avoid tls panic
2023-11-03 12:04:22 +08:00
wwqgtxx
665ba7f9f1
chore: do websocket client upgrade directly instead of gobwas/ws
2023-11-03 11:50:25 +08:00
wwqgtxx
885ee7a820
fix: v2ray http upgrade Hosts header not working
2023-11-03 11:50:25 +08:00
wwqgtxx
5bfe7ba169
chore: better tls handshake
2023-11-02 11:22:01 +08:00
wwqgtxx
ceac5bfaa4
feat: add v2ray-http-upgrade support
2023-11-02 11:11:35 +08:00
wwqgtxx
b0638cfc49
chore: better bufio.Reader warp
2023-11-02 11:11:35 +08:00
wwqgtxx
6cd0e58fd0
fix: ssr panic
2023-10-23 15:39:56 +08:00
wwqgtxx
11ed4a56bd
chore: code cleanup
2023-10-17 12:46:41 +08:00
sduoduo233
9f530525d7
fix: method in vmess http-opts is not used
2023-10-16 09:16:36 +08:00
wwqgtxx
9a16eb2895
fix: BBR memory leak
...
from: 7c46e845a6
2023-10-11 11:01:17 +08:00
wwqgtxx
7ed25ddc74
chore: better atomic using
2023-10-10 21:28:46 +08:00
wwqgtxx
ae557c30d3
fix: quic-go min MTU
2023-10-08 13:15:17 +08:00
wwqgtxx
5a1800d642
fix: BBR bandwidth estimation edge case
...
from 89429598bf
2023-10-08 07:26:28 +08:00
wwqgtxx
791ecfbb32
feat: add ws-path to vmess listener
2023-10-08 07:26:28 +08:00
wwqgtxx
5ff4473083
chore: migrate from gorilla/websocket to gobwas/ws
2023-10-06 17:44:36 +08:00
wwqgtxx
4e3cd01aad
chore: merge some quic-go fix
2023-10-01 13:44:56 +08:00
wwqgtxx
828b5ad8bb
chore: add new bbr implementation
2023-10-01 00:01:32 +08:00
wwqgtxx
a526bb70ea
chore: fix bbr bugs
2023-09-30 13:40:07 +08:00
Kiva
265a6b9b68
chore: reduce string split immediately after string concat ( #773 )
2023-09-29 08:51:13 +08:00
wwqgtxx
fb99412193
chore: update quic-go to 0.39.0
2023-09-26 08:51:25 +08:00
wwqgtxx
d48f9c2a6c
chore: rebuild ca parsing
2023-09-22 14:45:34 +08:00
wwqgtxx
4fe7a463c5
chore: limit tuicv5's maxUdpRelayPacketSize up to 1200-PacketOverHead
2023-09-21 23:49:45 +08:00
wwqgtxx
da24810da2
chore: support set cwnd for hy2 too
2023-09-21 16:41:31 +08:00
wwqgtxx
ee3213c28f
fix: tuicv5 panic in ReadFrom
2023-09-21 15:10:35 +08:00
wwqgtxx
62266010ac
Revert "migration: go 1.21"
...
This reverts commit 33d41338ef .
2023-09-21 08:29:28 +08:00
Larvan2
33d41338ef
migration: go 1.21
2023-09-17 17:05:13 +08:00
Larvan2
fa49fd7ba2
chore: use cmp in go 1.21
...
Co-authored-by: H1JK <hell0jack@protonmail.com>
2023-09-16 12:06:58 +08:00
wwqgtxx
1cad615b25
chore: using xsync.MapOf replace sync.Map
2023-09-02 16:54:48 +08:00
H1JK
ed09df4e13
fix: TLS ALPN support
2023-08-14 15:48:13 +08:00
wwqgtxx
e2e0fd4eba
chore: using uint16 for ports in Metadata
2023-08-09 13:51:02 +08:00
wwqgtxx
191243a1d2
chore: better tuicV5 deFragger
2023-08-03 23:07:30 +08:00
wwqgtxx
f125e1ce9e
chore: Update dependencies
2023-08-01 13:54:22 +08:00
Hellojack
a82745f544
chore: Remove legacy XTLS support ( #645 )
...
* chore: Remove legacy XTLS support
* chore: Rename function
2023-07-16 23:26:07 +08:00
H1JK
5dd57bab67
chore: Update dependencies
2023-07-14 11:37:15 +08:00
wwqgtxx
8f1475d5d0
chore: update to go1.21rc2, drop support for go1.19
2023-07-02 09:59:18 +08:00
wwqgtxx
2284acce94
chore: update quic-go to 0.36.0
2023-06-26 12:08:38 +08:00
wwqgtxx
6d824c8745
chore: tuic server can handle V4 and V5 in same port
2023-06-21 13:53:37 +08:00
Larvan2
6c8631d5cc
chore: adjustable cwnd for cc in quic
2023-06-18 00:47:26 +08:00
wwqgtxx
644abcf071
fix: tuicV5's heartbeat should be a datagram packet
2023-06-13 17:50:10 +08:00
wwqgtxx
e914317bef
feat: support tuicV5
2023-06-12 18:42:46 +08:00
wwqgtxx
766d08a8eb
chore: init gopacket only when dial fake-tcp to decrease memory using
2023-06-08 11:58:51 +08:00
H1JK
c3ef05b257
feat: Add XUDP migration support
2023-06-07 23:03:36 +08:00
wwqgtxx
03d0c8620e
fix: hysteria faketcp loopback in tun mode
2023-06-03 22:15:09 +08:00
wwqgtxx
2c44b4e170
chore: update quic-go to 0.35.1
2023-06-03 16:45:35 +08:00
wwqgtxx
9b6e56a65e
chore: update quic-go to 0.34.0
2023-06-01 16:25:02 +08:00
wwqgtxx
8e88e0b9f5
chore: add WaitReadFrom support in ssr
2023-05-28 22:51:44 +08:00
Larvan2
097f3e250c
chore: slightly improve quic-bbr performance
2023-05-28 20:15:11 +08:00
wwqgtxx
7aae781569
chore: add WaitReadFrom support in quicStreamPacketConn
2023-05-28 15:22:08 +08:00
H1JK
4971b9d804
chore: Add vision splice support
2023-05-27 11:26:13 +08:00
H1JK
654e76d91e
refactor: Move vision implementation to a new package
2023-05-26 20:11:06 +08:00
wwqgtxx
984bf27d9b
chore: using internal socks5.ReadAddr0 in trojan
2023-05-20 18:35:04 +08:00
H1JK
546b2bc24b
chore: Decrease UoT read memory
2023-05-20 17:01:52 +08:00
wwqgtxx
033f902ace
chore: more context passing in outbounds
2023-05-18 13:15:08 +08:00
H1JK
ed17478961
feat: Support insecure gRPC
2023-05-13 09:38:14 +08:00
wwqgtxx
f1be9b3f4a
fix: tuic server return error udp address
2023-05-11 22:45:27 +08:00
wwqgtxx
15a8d7c473
chore: better tuic earlyConn impl
2023-05-10 09:36:06 +08:00
H1JK
bd431fbf49
fix: Update unsafe pointer add usage
2023-05-06 15:49:10 +08:00
Skyxim
6ecd1c31e5
fix: tuic connection error using fast_open
2023-04-29 15:44:07 +00:00
wwqgtxx
40da1911d9
chore: using sync/atomic replace uber/atomic
2023-04-22 15:37:57 +08:00
wwqgtxx
47df97322d
fix: h2 close panic
2023-04-17 23:42:15 +08:00
wwqgtxx
4a0d097fe9
fix: ensure StreamWebsocketConn call N.NewDeadlineConn
2023-04-17 00:23:12 +08:00
wwqgtxx
20eb168315
fix: proxyDialer panic when domain name was not resolved
2023-04-12 12:49:53 +08:00
wwqgtxx
4d12ed491c
fix: tuic pool client should only cache the system's UDPConn
2023-04-10 12:22:12 +08:00
wwqgtxx
8e8cddf462
chore: Update dependencies
2023-04-09 15:40:17 +08:00
包布丁
f92f34bb20
Fix: return pooled buffer when simple-obfs tls read error ( #2643 )
2023-04-06 09:32:27 +08:00
H1JK
ae722bb1a0
chore: Add early bounds checks
2023-04-05 13:51:50 +08:00
wwqgtxx
ee5c4cb83b
fix: tuic fast-open not work
2023-04-03 21:08:12 +08:00
wwqgtxx
99f84b8a66
chore: make all net.Conn wrapper can pass through N.ExtendedConn
2023-04-02 22:24:46 +08:00
Hellojack
4af4935e7e
fix: Vision slice out of bounds error
2023-04-01 20:08:49 +08:00
Skyxim
cfd03a99c2
feat: nameserver-policy support use rule-providers and reduce domain-set memory
2023-04-01 11:53:39 +08:00
wwqgtxx
3ae4285702
fix: tuic udp native mode can't relay packetSize>1200
2023-03-16 21:09:44 +08:00
wwqgtxx
f7610ce2ad
chore: better uuid using
2023-03-15 10:10:03 +08:00
wwqgtxx
516c219580
fix: let quic-go works on outbound's packetConn
2023-03-15 09:56:00 +08:00
wwqgtxx
5816dc2955
chore: better restls
2023-03-14 16:50:27 +08:00
3andne
2fef00d2a8
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
wwqgtxx
5de043acc6
fix: tuic relay tuic
2023-03-12 19:03:18 +08:00
H1JK
09b4a7ff15
chore: Remove useless mutex in Vision
2023-03-12 10:13:23 +08:00
H1JK
913ed62095
fix: ALPN not applied in uTLS/REALITY
2023-03-10 20:53:39 +08:00
wwqgtxx
6fe7f4641e
fix: tuic server set authentication timeout after quic handshake complete
2023-03-10 12:26:17 +08:00
H1JK
dca98b7aa1
fix: REALITY with gRPC transport
2023-03-10 10:01:05 +08:00
wwqgtxx
bae61a8152
fix: tuic server close with error message
2023-03-09 10:41:24 +08:00
H1JK
76a8fe3839
feat: Support REALITY protocol
2023-03-08 17:18:46 +08:00
Larvan2
6040803b60
chore: do not apply padding for nonTLS packet with contentLen over 900
2023-03-07 16:35:19 +08:00
Larvan2
04ae812a11
chore: try to fix slice out of bound.
2023-03-07 15:52:50 +08:00
wwqgtxx
6a97ab9ecb
chore: use fastrand to replace math/rand
2023-03-06 18:10:14 +08:00
H1JK
ae966833a4
chore: Generate UUID from fastrand
2023-03-05 11:00:14 +08:00
H1JK
8771fa5c17
chore: Vision padding upgrade
2023-03-04 21:47:42 +08:00
Hellojack
ecb2a5f3c6
adjust: Simplify VLESS handshake lock
2023-02-27 12:02:44 +08:00
wwqgtxx
78100aa963
fix: vless NeedHandshake mistake
2023-02-27 09:46:00 +08:00
wwqgtxx
0b56fc7598
fix: Vision filter TLS 1.2
...
Add magic from sing-box. 5ce3ddee9b/transport/vless/vision.go (L199)
2023-02-27 01:24:36 +08:00
wwqgtxx
c1199f1a8a
chore: add early conn interface to decrease unneeded write
2023-02-27 00:26:49 +08:00
Hellojack
2cbfac2c89
fix: Filter slice index out of bounds
2023-02-26 13:04:12 +08:00
Hellojack
40ae019e1d
fix: Vision filter TLS 1.2
2023-02-26 11:13:47 +08:00
Hellojack
de92bc0234
fix: Vision filter Client Hello
2023-02-25 19:11:23 +08:00
Hellojack
bce3aeb218
fix: Vision disable filter for non-TLS connections
2023-02-25 15:00:21 +08:00
Hellojack
81722610d5
feat: Support VLESS XTLS Vision ( #406 )
2023-02-25 14:01:59 +08:00
wwqgtxx
75680c5866
chore: use early conn to support real ws 0-rtt
2023-02-24 09:54:54 +08:00
wwqgtxx
baaf509637
chore: using sing-shadowtls to support shadowtls v1/2/3
2023-02-21 21:58:37 +08:00
wwqgtxx
b9e63d3f7d
fix: ensure return a nil interface not an interface with nil value
2023-02-18 14:16:03 +08:00
wwqgtxx
cc3a9dd553
fix: websocket headroom
2023-02-18 13:58:08 +08:00
wwqgtxx
fc50392ec7
chore: cleanup natTable's api
2023-02-18 13:16:07 +08:00
Ovear
8e4dfbd10d
feat: introduce a new robust approach to handle tproxy udp. ( #389 )
2023-02-17 16:31:15 +08:00