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

82 Commits

Author SHA1 Message Date
Loyalsoldier
f94dd11a8c
Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
Loyalsoldier
b68f943c78
Fix lint according to golangci-lint (#439) 2020-11-22 05:05:01 +08:00
Chinsyo
32e0e6e484
Some minor fix (#430)
* fix typo pading to padding

* reorder common/buf/buffer.go code layout

* delete unused common/stack

Co-authored-by: Chinsyo <chinsyo@sina.cn>
2020-11-18 04:23:30 +08:00
loyalsoldier
784775f689
Refine code according to golangci-lint results 2020-10-11 19:22:46 +08:00
RPRX
470dc8523b
Make isAEAD more efficient 2020-09-21 01:10:56 +00:00
wwqgtxx
43174d6951 support disable vmess aead by os environ 2020-09-14 17:49:59 +08:00
Shelikhoo
e2e266114a
Fix incorrect IV usage which slightly reduced security 2020-09-12 16:27:40 +08:00
Kslr
2a3fe11952
VMess AEAD will be used when alterId is 0 2020-09-09 00:02:53 +08:00
Shelikhoo
d06a4d1f50
Added TestsEnabled Settings to enable VMessAEAD test 2020-06-08 16:50:50 +08:00
Shelikhoo
8c886b4b46
Apply Coding Style 2020-06-08 13:21:59 +08:00
Shelikhoo
6a29fa5fe2
Enable AEAD by Default 2020-06-06 20:37:30 +08:00
Shelikhoo
9bf07b1f26
VMess AEAD Experiment 2020-06-06 17:11:30 +08:00
vcptr
ad4a1a3dc2 show vmess decode errors at warning level 2019-08-27 09:29:29 +08:00
Darien Raymond
a20262ef20
allocate buffer on stack 2018-11-15 21:32:27 +01:00
Darien Raymond
6c7dcc35ab
remove buffer.WriteBytes 2018-11-14 22:55:20 +01:00
Darien Raymond
a14fae4b35
fix lint warnings 2018-11-13 23:19:58 +01:00
Darien Raymond
953bfac572
remove unnecessary assignment 2018-11-13 09:51:55 +01:00
Darien Raymond
77c03f0da5
move back to serial 2018-11-03 13:03:02 +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
58e2ed3381
remove closure on ReadFullFrom 2018-11-02 15:01:33 +01:00
Darien Raymond
4fcb39ded9
comments 2018-10-18 09:25:58 +02:00
Darien Raymond
cb2658f2bf
Revert "pooled session objects"
This reverts commit a89ff38fe6.
2018-09-14 16:51:46 +02:00
Darien Raymond
2ad12084ba
Revert "put buffer into client session as allocation optimization"
This reverts commit 09b601528b.
2018-09-14 16:51:12 +02:00
Darien Raymond
81c9968188
simplify crypto related code 2018-09-12 15:43:36 +02:00
Darien Raymond
09b601528b
put buffer into client session as allocation optimization 2018-09-12 15:27:45 +02:00
Darien Raymond
a89ff38fe6
pooled session objects 2018-09-11 20:15:15 +02:00
Darien Raymond
54e1bb96cc
introduce in-memory user 2018-08-27 00:11:32 +02:00
Darien Raymond
5e65d7da6d
more accurate memory usage when buffer = 0 2018-07-31 16:05:57 +02:00
Darien Raymond
8cfe77383f
writeHash 2018-07-30 22:54:24 +02:00
Darien Raymond
206f52affc
refine buffer interface 2018-07-30 22:45:06 +02:00
Darien Raymond
f54a8735ab
global padding in vmess protocol 2018-07-07 15:42:24 +02:00
Darien Raymond
1425fd2ba9
remove Buffer.Append method 2018-04-19 22:56:55 +02:00
Darien Raymond
0caf2a004b
reduce memory usage of vmess internal objects 2018-04-14 15:05:49 +02:00
Darien Raymond
66ed1bab2a
simplify BytesGenerator 2018-04-14 13:10:12 +02:00
Darien Raymond
4de3f1adc1
change ReadFullFrom to take int32 size 2018-04-02 00:44:47 +02:00
Darien Raymond
af1abf687c
unify all address reading and writing 2018-02-23 23:42:01 +01:00
Darien Raymond
546c2fb226
settings for forcing secure encryption in vmess server 2018-02-23 12:13:02 +01:00
Darien Raymond
6b872c266c
session id 2018-02-22 15:26:00 +01:00
Darien Raymond
42d83a703e
fix transfer for mux 2018-02-09 22:29:30 +01:00
Darien Raymond
f4c35db968
merge log into common log 2017-12-19 21:28:12 +01:00
Darien Raymond
3ed16fad38
enable pading for cfb 2017-11-23 15:21:57 +01:00
Darien Raymond
02685094d3 rewrite vmess encoding using buf 2017-10-27 21:11:45 +02:00
Darien Raymond
26818a2602 fix domain length issue for all proxies 2017-10-22 20:17:06 +02:00
Darien Raymond
24089bfad0 remove duplicated address type def 2017-10-21 21:59:46 +02:00
Darien Raymond
f1a15e92f5 apply bitmask to other packages 2017-10-21 21:04:24 +02:00
Darien Raymond
8971e699d9 common.Must2 2017-09-19 23:27:49 +02:00
Darien Raymond
21284fbd61
refactor 2017-07-25 22:21:59 +02:00
Darien Raymond
06d4c37889
integrate mux in vmess server 2017-05-17 21:13:01 +02:00
Darien Raymond
7a4bab4940
support packet transfer type in mux 2017-05-02 22:23:07 +02:00