1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-14 00:07:09 -05:00
Commit Graph

171 Commits

Author SHA1 Message Date
NaLan ZeYu
a4a3f4deec
fix: Replace "math/rand" with "crypto/rand" in padding generation(#2032) 2022-10-06 18:21:09 +08:00
Shelikhoo
3ef7feaeaf
update version: auto replacement to v5 path 2022-01-02 15:16:23 +00:00
秋のかえで
423d566024
fix typo 2021-12-23 13:14:43 +08:00
Loyalsoldier
43447aa2e4
Chore: format code to fix lint (#1426) 2021-11-27 14:32:07 +08:00
Shelikhoo
718d6f32bf
update coding style 2021-09-04 11:12:04 +01:00
database64128
c78ee5aac7
🏡 Housekeeping: Update to Go 1.17 (#1215)
* ⬆ Update to Go 1.17

* 🏗 Update workflows and add windows-arm64

* 💾 Update generated files

* 📛 Update not-so-friendly filenames
2021-08-21 13:20:40 +08:00
Loyalsoldier
6f8979d017
Style: format code by gofumpt (#1022) 2021-05-20 05:28:52 +08:00
Loyalsoldier
f94dd11a8c
Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
Loyalsoldier
8cb2db5321
Fix: security issues & overflow potentiality (#465) 2020-11-28 21:56:20 +08:00
loyalsoldier
b181045b0c
Errorgen: support to run outside of GOPATH 2020-10-04 13:06:12 +08:00
RPRX
e425876afe
Fix totalSize 2020-08-04 03:50:22 +00:00
Roger Shimizu
90af5f19ba
Apply Debian's patch to upstream 2020-06-24 12:57:03 +08:00
Darien Raymond
95ed5a5ff8
comments 2019-02-23 00:01:23 +01:00
Darien Raymond
5e6d0f7c71
fix test break 2019-02-10 15:26:43 +01:00
Darien Raymond
98950d5ada
remove dep of assert lib 2019-02-10 15:02:28 +01:00
Darien Raymond
bdd71a44b4
remove dep on assert lib 2019-02-02 22:19:30 +01:00
Darien Raymond
d26700a2fe
remove common/compare package 2019-01-07 00:12:04 +01:00
Darien Raymond
5c4e33f759
rewrite SliceBySize 2018-11-18 20:16:14 +01:00
Darien Raymond
bcd5d026fe
rewrite SplitFirst 2018-11-18 19:57:29 +01:00
Darien Raymond
cb7646f682
remove unnecessary err object from SplitBytes 2018-11-18 19:44:32 +01:00
Darien Raymond
842a089dad
refactor multibuffer 2018-11-18 19:36:36 +01:00
Darien Raymond
0f324a613e
remove MultiBuffer.Release 2018-11-17 22:45:07 +01:00
Darien Raymond
27772a75a7
refactor MultiBuffer append 2018-11-17 09:12:20 +01:00
Darien Raymond
48cac1733f
remove NewMultiBufferCap 2018-11-16 11:29:16 +01:00
Darien Raymond
a01fdc29a6
remove NewMultiBufferValue 2018-11-16 11:08:12 +01:00
Darien Raymond
151f316c32
remove unnecessary buf allocation 2018-11-15 21:14:53 +01:00
Darien Raymond
6c7dcc35ab
remove buffer.WriteBytes 2018-11-14 22:55:20 +01:00
Darien Raymond
3f3d00298a
share rand reader across auth readers 2018-11-11 16:34:58 +01:00
Darien Raymond
f7b96507f9
simplify buffer extension 2018-11-02 21:34:04 +01:00
Darien Raymond
35ccc3a49c
cleanup unnecessary method in serial. 2018-11-02 18:20:02 +01:00
Darien Raymond
815c7f09ba
migrate to std lib 2018-11-02 15:47:58 +01:00
Darien Raymond
58e2ed3381
remove closure on ReadFullFrom 2018-11-02 15:01:33 +01:00
Darien Raymond
9f48a6d017
enable global padding for aead by default 2018-11-02 09:15:35 +01:00
Darien Raymond
091fa6ad23
use new errorgen 2018-09-30 23:08:41 +02:00
Darien Raymond
d55fbd7f8d
simplify error creation 2018-09-30 18:39:53 +02:00
Darien Raymond
81c9968188
simplify crypto related code 2018-09-12 15:43:36 +02:00
Darien Raymond
60ee80ca1b
don't write empty payload 2018-09-01 22:02:45 +02:00
Darien Raymond
475ffc8196
supress warning on ecryption packets 2018-09-01 22:02:18 +02:00
Darien Raymond
b4f3106ad6
check msg size in writepacket 2018-09-01 21:19:49 +02:00
Darien Raymond
3df32aabbc
check empty payload 2018-08-29 16:37:12 +02:00
Darien Raymond
128ec95218
merge stread reader from mux to crypto 2018-08-23 10:39:53 +02:00
Darien Raymond
2e11653694
remove BufferedReader.Direct 2018-08-17 20:45:23 +02:00
Darien Raymond
b769e0cc5f
only create bufferedreader when necessary 2018-08-17 16:27:35 +02:00
Darien Raymond
2594f7027a
remove ToNetBuffers 2018-08-17 11:51:59 +02:00
Darien Raymond
fdb3a7b57d
remove use of buf.NewSize() 2018-08-16 12:05:33 +02:00
Darien Raymond
6a06908456
optimize encryption read/write operations 2018-07-31 12:37:59 +02:00
Darien Raymond
206f52affc
refine buffer interface 2018-07-30 22:45:06 +02:00
Darien Raymond
d615adab36
optimize padding reading 2018-07-30 20:08:50 +02:00
Darien Raymond
7a4b0fff07
ensure everything are written 2018-07-27 23:44:22 +02:00
Darien Raymond
5e25741742
update tests 2018-07-13 14:36:09 +02:00