1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-10 06:16:53 -05:00
Commit Graph

1392 Commits

Author SHA1 Message Date
秋のかえで
8f883040ab
Lint: add nolint flags to avoid SA1029 2022-08-19 20:09:39 +08:00
秋のかえで
a788be738e
Lint: add nolint flags to avoid lint 2022-08-19 20:05:50 +08:00
世界
fc6ae4d4e7
Fix lint 2022-06-28 21:36:12 +08:00
yuhan6665
9484390b18 Fix TestUserValidator 2022-06-25 19:39:21 +01:00
lrh2000
396ee770b7
proxy: Unify timeouts of different protocols for reading the first payload 2022-06-25 19:34:32 +01:00
lrh2000
17d85263e2
proxy/http: Avoid getting stuck when using server-first protocols
PR #99 reduces an extra RTT when setting up the CONNECT tunnel
via http proxy, however, server-first protocols (such as MySQL)
will be unusable as v2ray keeps to wait for the client request.
This commit solves the problem by limiting the maximum waiting
time to 50 ms.
2022-06-25 19:26:33 +01:00
Shelikhoo
5eff77c48a
Fix DoS attack vulnerability in VMess Option Processing 2022-06-12 23:29:09 +01:00
dyhkwong
703b2da5a7 Fix "disable quit on connection interrupt" 2022-05-02 15:50:35 +01:00
Shelikhoo
f4b0241b4f
disable quit on connection interrupt 2022-05-01 16:05:00 +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
Shelikhoo
d7ad10ff14
fix coding style issue 2022-04-29 21:36:26 +01:00
Shelikhoo
8a3e90c11f Fix bug incorrect config parse in VLite inbound 2022-04-28 19:32:55 +01:00
Shelikhoo
87090bf408 Add VLite inbound auto generated files 2022-04-28 19:32:55 +01:00
Shelikhoo
e6e5aa6ffc Add Support for VLite UDP Server: auto generated 2022-04-28 19:32:55 +01:00
Shelikhoo
4c79629c69 Add Support for VLite UDP Server 2022-04-28 19:32:55 +01:00
Shelikhoo
7b1203ca96 Add Packet Scramble Support for VLite UDP Client 2022-04-28 19:32:55 +01:00
Shelikhoo
4016e0e961 Add VLite Server Support Definition: auto generated 2022-04-28 19:32:55 +01:00
Shelikhoo
c009faa7c7 Add VLite Server Support Definition 2022-04-28 19:32:55 +01:00
Shelikhoo
11362acc79 Add VLite Client Support for Packet Armor: auto generated 2022-04-28 19:32:55 +01:00
Shelikhoo
322c8cc663 Add VLite Client Support for Packet Armor 2022-04-28 19:32:55 +01:00
Shelikhoo
010aa3a103 Fix VLite UDP Outbound bugs 2022-04-28 19:32:55 +01:00
Shelikhoo
0dea56fc63 Add UDP VLite Outbound Support: auto generated 2022-04-28 19:32:55 +01:00
Shelikhoo
f25530717b Add UDP VLite Outbound Support 2022-04-28 19:32:55 +01:00
Shelikhoo
86f64c031a Add UDP VLite protobuf config 2022-04-28 19:32:55 +01:00
秋のかえで
552936674c
Style: formart code by gofumpt 2022-04-07 00:06:46 +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
Shelikhoo
ca5695244c add reduced iv head entropy to simplified config processor(fix) 2022-01-15 20:47:20 +00:00
Shelikhoo
d7eb207c12 add reduced iv head entropy to simplified config processor 2022-01-15 20:47:20 +00:00
Shelikhoo
3fb2852201 add reduced iv head entropy to simplified config: auto generated 2022-01-15 20:47:20 +00:00
Shelikhoo
d8f36941a8 add reduced iv head entropy to simplified config 2022-01-15 20:47:20 +00:00
Shelikhoo
0746740b10 add reduced entropy experiment to shadowsocks 2022-01-15 20:47:20 +00:00
Shelikhoo
eced27b48b config for reduced initial iv head entropy: auto generated 2022-01-15 20:47:20 +00:00
Shelikhoo
dbacf9a6c5 config for reduced initial iv head entropy 2022-01-15 20:47:20 +00:00
Shelikhoo
a9bf783ad7 fix lint 2022-01-03 15:55:18 +00:00
Shelikhoo
0b8eeb0f98 fix error introduced by rebase: auto generated 2022-01-03 15:55:18 +00:00
Shelikhoo
1e98e0ae92 fix error introduced by rebase 2022-01-03 15:55:18 +00:00
Shelikhoo
0f2da63f0c fix lint warnings in packetaddr 2022-01-03 15:55:18 +00:00
Shelikhoo
dc5cffc8b0 socks5 UDP outbound packet addr support 2022-01-03 15:55:18 +00:00
Shelikhoo
5b20d960f1 socks5 UDP outbound reader writer 2022-01-03 15:55:18 +00:00
Shelikhoo
91ca22f44e shadowsockets fullcone inbound support: fix apply simplified config 2022-01-03 15:55:18 +00:00
Shelikhoo
f48f61bb25 shadowsockets fullcone inbound support: auto generated 2022-01-03 15:55:18 +00:00
Shelikhoo
e28ef6a47d shadowsockets fullcone inbound support 2022-01-03 15:55:18 +00:00
Shelikhoo
d068b60791 shadowsockets fullcone outbound support 2022-01-03 15:55:18 +00:00
Shelikhoo
c4f850f1a9 fullcone bug fixes 2022-01-03 15:55:18 +00:00
Shelikhoo
35db419556 fix packetaddr inline init in proxy/socks 2022-01-03 15:55:18 +00:00
Shelikhoo
690b4924ae add packetaddr support for socks 2022-01-03 15:55:18 +00:00
Shelikhoo
79726111e3 add packet encoding support in simplified socks5 server config: auto generated 2022-01-03 15:55:18 +00:00
Shelikhoo
e7ffcfd4f6 add packet encoding support in simplified socks5 server config 2022-01-03 15:55:18 +00:00
Shelikhoo
8bf3da7c7f add socks packetaddr config 2022-01-03 15:55:18 +00:00
Shelikhoo
ac65036808 refactor UDP dispatcher to support fullcone dispatcher 2022-01-03 15:55:18 +00:00