1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-26 17:35:23 +00:00
Commit Graph

1247 Commits

Author SHA1 Message Date
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
Shelikhoo
137cd7093c
chore: regenerate protobuf file 2022-09-06 20:36:27 +01:00
秋のかえで
05df03edc0
Feat: increase idle timeout to 300s for udp split (#1903) 2022-08-19 20:12:30 +08:00
秋のかえで
3dd347f9d2
Chore: bump github.com/lucas-clemente/quic-go from 0.27.0 to 0.28.0 2022-07-15 11:13:44 +08:00
世界
fc6ae4d4e7
Fix lint 2022-06-28 21:36:12 +08:00
Huang-Huang Bao
02c8b04230 Fix: correct TCP keepalive sockopt names for darwin
Fixes: a0eb84dbff
2022-06-25 19:45:18 +01:00
Shelikhoo
4e24784082
Add JsonV5 support for QUIC: auto generated 2022-05-12 23:05:08 +01:00
Shelikhoo
7deca02977
Add JsonV5 support for QUIC 2022-05-12 23:05:07 +01:00
Shelikhoo
52ea2b0146
Fix TLS Client Certificate Verify Not Applied 2022-05-03 15:23:33 +01:00
Loyalsoldier
d9125f91af
Fix: gci command for formatting code (#1757)
* Fix: gci command for formatting code
* Chore: format code
2022-05-01 00:47:14 +08:00
秋のかえで
552936674c
Style: formart code by gofumpt 2022-04-07 00:06:46 +08:00
秋のかえで
2332513471
Chore: fix gofumpt lint (#1719) 2022-04-06 23:48:16 +08:00
1ocalhost
64a780bba6
Fix: net.Address type checking (#1629)
Allow zero port for listening port, namely random port.
2022-04-06 13:42:25 +08:00
yuhan6665
7bcb3c901b
Fix client dialer log (#1568)
* Fix client dialer log

Log such as:
tunneling request to tcp:www.google.com:80 via tcp:x.x.x.x:443
the second "tcp" is misleading when using mKcp or quic transport

Remove the second "tcp" and add the correct logging for transport dialer:
- transport/internet/tcp: dialing TCP to tcp:x.x.x.x:443
- transport/internet/quic: dialing quic to udp:x.x.x.x:443

* Update transport/internet/quic/dialer.go

Co-authored-by: 秋のかえで <autmaple@protonmail.com>

Co-authored-by: 秋のかえで <autmaple@protonmail.com>
Co-authored-by: Kslr <kslrwang@gmail.com>
2022-04-06 13:24:43 +08:00
秋のかえで
84c31ba87f
Chore: bump github.com/lucas-clemente/quic-go from 0.26.0 to 0.27.0 (#1716) 2022-04-06 12:59:25 +08:00