rhjdvsgsgks
704c0d2145
Add echQueryDomain option ( #3421 )
...
Co-authored-by: myself <mail@mail.mail>
2025-06-22 22:20:15 +01:00
yiitz
7c5e4c7a4b
Fix mkcp unreleased buffer ( #3411 )
...
* Fix buffer leak in mkcp transport protocol
* fix Write panic caused by concurrent state check
2025-05-26 23:15:48 +01:00
Shelikhoo
d565c48690
Revert "Fix buffer leak in mkcp transport protocol ( #3347 )"
...
This reverts commit d2b2f8c1f3d67134d78e79f1b82d7fd7a45cc0af.
2025-05-17 21:50:18 +01:00
yiitz
d2b2f8c1f3
Fix buffer leak in mkcp transport protocol ( #3347 )
2025-05-17 20:54:42 +01:00
alingse
21653e2ecf
fix wrong use a nil value error err
( #3365 )
...
the `err` has been check abrove, so it is nil value,
check the errWrite != nil, should return `.Base(errWrite)`
2025-04-05 15:50:30 +01:00
Xiaokang Wang (Shelikhoo)
78cd513b82
Add Persistent Storage Support to V2Ray ( #3300 )
...
* update protogen to strip unused part
* add persistent storage support
* fix coding style
* update linter setting
* update github integration
2025-02-05 20:36:40 +00:00
Shelikhoo
3ee9045697
chore: regenerate protos
2025-02-02 13:57:34 +00:00
Xiaokang Wang (Shelikhoo)
442581d897
Fixing all the lint errors ( #3288 )
...
* Fixing all the lint errors!
* update lint settings
2025-01-22 08:27:48 +00:00
Xiaokang Wang (Shelikhoo)
54fbeeba6d
Resync Hysteria2 Import ( #3280 )
...
* Revert "Remove hysteria2"
This reverts commit 1d21d7a07761af3b40ecfbf418b0849eb1c3918b.
* Update Hysteria2
* Rename hysteria2 module
* fix broken hy2 import version
---------
Co-authored-by: JimmyHuang454 <jimmyhuang454@gmail.com>
2025-01-14 10:06:08 +00:00
Xiaokang Wang (Shelikhoo)
4c1d94863b
Add Early Data and Custom Header Support to HTTPUpgrade Transport ( #3276 )
...
* Add early reply draining for httpupgrade
* Add early data config for httpupgrade
* Add early data implementation for httpupgrade
* Add send extra header for httpupgrade
2025-01-08 18:26:01 +00:00
世界
1d21d7a077
Remove hysteria2
...
The hysteria2 fork used "github.com/JimmyHuang454/hysteria" removed the original license of hysteria2 (which is not allowed) and replaced it with GPL which conflicts with v2ray's license.
Given that the quality of the related code is very poor and it is not synchronized with the upstream, I deleted it.
2024-12-27 09:50:22 +08:00
秋野かえで
9ccb080dcc
feat: copy some certificate related options for uTLS ( #3240 )
2024-12-08 21:44:37 +00:00
dyhkwong
13bad86c3b
Fix the use of ServerName in ECH config ( #3188 )
2024-10-12 19:59:43 +01:00
Xiaokang Wang (Shelikhoo)
229b30d877
drop unsupported domain address type in packet addr ( #3186 )
2024-10-12 19:25:59 +01:00
Xiaokang Wang (Shelikhoo)
05345cc4fd
Add Mekya Stereotype ( #3185 )
...
* Add mekya stereotype config
* Add mekya stereotype config: autogenerated
* add autogenerated files
* add mekya stereotype
* add mekya stereotype: fixup
* add mekya stereotype to default distro
* add mekya testing
2024-10-12 19:25:45 +01:00
dyhkwong
5ffbc0296c
Fix tls.WithDestination ignoring IP address ( #3177 )
2024-10-12 19:25:21 +01:00
dyhkwong
408e76f445
hysteria2, grpc: fix the use of GetTLSConfig ( #3176 )
2024-10-12 19:23:18 +01:00
Xiaokang Wang (Shelikhoo)
5ca0f36743
generate alert instead of panic when encountering incorrect listen on port 0 on IPv4 or v6 address ( #3172 )
2024-10-01 19:33:50 +01:00
风扇滑翔翼
5ff7c712f4
新增ECH客户端支持 ( #3162 )
...
* Add ECH support
* Use internet.DialSystem()
Why not
* Many fixes
2024-10-01 19:33:16 +01:00
dyhkwong
84adf2bdb2
Some fixes about Hysteria 2 ( #3147 )
...
* hysteria2: remove unused code
* hysteria2: don't ignore some errors
* hysteria2: properly implement TCP request padding
* hysteria2: fix dialer reuse
2024-09-08 17:39:40 +01:00
Shelikhoo
764fb2f7d8
removed unused hy2 config
2024-09-08 08:38:05 +01:00
Shelikhoo
3f419f93ec
update generated protocol for grpc transport
2024-09-08 08:38:05 +01:00
Jimmy Huang
2078480c4e
Add Add Hysteria2 Protocol
2024-09-08 08:38:05 +01:00
Shelikhoo
5961b2fd46
Add AllowInsecureIfPinnedPeerCertificate option to tls security
2024-09-06 14:39:53 +01:00
Misaki Kasumi
3d07f686a5
apply control func to activated sockets
2024-09-05 20:55:24 +01:00
Misaki Kasumi
9bee648078
add more checks
2024-09-05 20:55:24 +01:00
Misaki Kasumi
4efdc8016b
fix windows build
2024-09-05 20:55:24 +01:00
Misaki Kasumi
90edd2e9db
Feat: add special handling for /dev/fd address
...
to support socket activation
2024-09-05 20:55:24 +01:00
Shelikhoo
3e7dc35562
fix: use sync.Map in request to packet conn server
2024-08-24 18:32:38 +01:00
Shelikhoo
bd25f13997
fix packetconn assembler does not close incoming packet processor
2024-08-22 12:11:01 +01:00
Xiaokang Wang (Shelikhoo)
7db39fb566
Add (Experimental) Meyka Building Blocks to request Transport ( #3120 )
...
* add packetconn assembler
* let kcp use environment dependency injection
* Add destination override to simplified setting
* add dtls dialer
* add dtls listener
* add dtls to default
* fix bugs
* add debug options to freedom outbound
* fix kcp test failure for transport environment
2024-08-22 04:05:05 +01:00
Kaede Akino
11ef2b5d28
feat: check the network is TCP before set MPTCP
...
This actually won't have any impact
2024-08-19 21:40:11 +01:00
Kaede Akino
35b4ad44c0
feat: add MPTCP support
2024-08-19 21:40:11 +01:00
dyhkwong
66a81ecbf5
Fix transportcommon.ListenWithSecuritySettings
2024-08-19 21:32:28 +01:00
Shelikhoo
8b8a786c16
Add timeout for http request roundtripper
2024-05-05 11:26:21 +01:00
Shelikhoo
99f9030e4e
Fix tls maxmin version config
2024-03-16 20:23:45 +00:00
Shelikhoo
94fa391dfe
Add MaxMin TLS version support in TLS Setting
2024-03-15 20:19:09 +00:00
Shelikhoo
1fcaca7145
enable restricted mode load for some settings
2023-11-26 10:55:27 +00:00
ghosx
57d712a4d4
fix: unexpected path in httpugprade ( #2773 )
2023-11-24 00:51:49 +00:00
Shelikhoo
d8e32f17bd
add shadowsocks2022 udp client support
2023-11-19 13:16:28 +00:00
Shelikhoo
6cb780fea5
fix nil pointer deref at http upgrade transport hub
2023-10-28 03:45:39 +01:00
Shelikhoo
1eefcd31f7
add httpupgrade transport
2023-10-27 13:09:58 +01:00
Shelikhoo
cb84b28de4
Update generated protobuf files to v1.31.0
2023-10-24 19:50:30 +01:00
dyhkwong
761422c28d
fix http2 chain proxy
2023-10-24 16:23:15 +01:00
allo
edff5c8e2d
refactor: using callback instead of defer function
2023-10-23 20:38:07 +01:00
Allo
6593b88837
refactor: move unix domain socket filelocker to internal
2023-10-23 20:38:07 +01:00
Allo
79164496d0
feat(transport): allow to set permission for unix domain socket
2023-10-23 20:38:07 +01:00
pathC
21b7a0046b
feat: use security engine in h2 transport
...
This will enable uTLS support for h2 transport.
2023-10-23 20:26:09 +01:00
pathC
a98f468ac4
feat: add h2 as a stream protocol for jsonv5
2023-10-23 20:26:09 +01:00
Shelikhoo
263fbf5765
fix domain socket abstract name and add jsonv5 support
2023-10-23 01:13:01 +01:00