1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-19 18:36:10 -04:00
Commit Graph

1106 Commits

Author SHA1 Message Date
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
Shelikhoo
efdc05f04c
Add fullcone packet filtering to tun app 2023-10-23 01:13:01 +01:00
Shelikhoo
99c9beac4e
remove unused member of struct from http roundtripper 2023-09-24 22:39:17 +01:00
Tim Xylon
e102d52e7c
Migrate to quic-go v0.36.0 (#2561) 2023-07-01 15:31:19 +08:00
Shelikhoo
1f8e71fe5c
apply styles 2023-05-30 17:49:28 +01:00
Shelikhoo
b7e8554ee3
http request decide protocol based on ALPN 2023-05-30 17:48:55 +01:00
Shelikhoo
94639807ad
add meek request stereotype 2023-05-29 23:55:45 +01:00
Shelikhoo
f68115c37e
add request transport base 2023-05-29 23:55:45 +01:00
Shelikhoo
c055a08b2c
Refine header based websocket earlydata fix 2023-02-19 14:41:28 +00:00
dyhkwong
dca2f2bd83
fix header-based websocket earlydata compat 2023-02-19 14:34:22 +00:00
Vigilans
b1d38db30a
Support using custom resolver when dialing domain address 2023-02-19 13:34:15 +00:00
Cubarco
c5386b88ad
Fix sockopt.TcpKeepAliveInterval
The Keep-Alive configs may be overridden with golang default settings when `tcpKeepAliveInterval` is set without `tcpKeepAliveIdle`.
Adopt: https://github.com/XTLS/Xray-core/pull/1328
2023-02-19 12:24:24 +00:00
heimoshuiyu
b8ab91b0d3
Skip validating on empty http host config 2023-02-18 14:39:33 +00:00
Shelikhoo
a090b7849d
Add uTLS ALPN Control: auto generated 2023-02-06 20:33:25 +00:00
Shelikhoo
7b434ced58
Add uTLS ALPN Control 2023-02-06 20:33:25 +00:00
秋のかえで
07ed4e0d29
Chore: use Go 1.20 (#2297) 2023-02-03 17:08:53 +08:00
Shelikhoo
001aace748
Fix Server Name not Supplied to Security Engine for TCP Transport 2023-01-14 15:27:16 +00:00
Shelikhoo
3631053c2b Crash process when encountered when unknown security settings type was supplied 2022-12-24 21:52:23 +00:00
Shelikhoo
e4188c8604 Add uTLS support for Security Engine 2022-12-24 21:52:23 +00:00
Shelikhoo
4a887e3b77 Use security engine for (tls like) security client in websocket transport 2022-12-24 21:52:23 +00:00
Shelikhoo
de55f3a675 Use security engine for (tls like) security client without transport 2022-12-24 21:52:23 +00:00
_ksco
d5b5d60956
Fix(freebsd): ReadUDPMsg nil pointer
Co-authored-by: ksco.he <ksco.he@ponyft.com>
Co-authored-by: 秋のかえで <autmaple@protonmail.com>
2022-10-09 10:15:16 +08:00
秋のかえで
b9a8a7e237
Feat: add transport original name to listen unix (#2048) 2022-10-08 09:04:05 +08:00
秋のかえで
5593fdee09
Feat: add bind to device to Windows and Darwin (#1972) 2022-10-08 09:03:51 +08:00