1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-23 02:26:49 -05:00
Commit Graph

138 Commits

Author SHA1 Message Date
Darien Raymond
0481e6fa42
simplify chunk stream reader 2017-12-02 01:19:27 +01:00
Darien Raymond
40222de0f7
fix chunk parser for ss aead 2017-11-26 16:55:46 +01:00
Darien Raymond
981c43afc2
allow nil additional data generator 2017-11-26 16:55:35 +01:00
Darien Raymond
713ebfb203
implementation for Shadowsocks AEAD 2017-11-26 00:51:54 +01:00
Darien Raymond
97d886e1c9
use all buffers 2017-11-21 22:03:43 +01:00
Darien Raymond
5c9f54a453
fix length check in auth reader 2017-11-18 19:37:36 +01:00
Darien Raymond
594ec15c09
cleanup buffer usage 2017-11-09 22:33:15 +01:00
Darien Raymond
66b82e4ab7
cleanup MultiBuffer 2017-11-09 00:55:28 +01:00
Darien Raymond
cf080e8061
ensure buffer is completely filled in 2017-11-08 22:41:46 +01:00
Darien Raymond
9cc9a76b71
cleanup 2017-11-08 11:11:13 +01:00
Darien Raymond
f5d76c8eb0
fix lint warnings 2017-11-07 14:40:51 +01:00
Darien Raymond
251d6f6fcb
fix lint warning 2017-11-07 13:07:50 +01:00
Darien Raymond
d1e7e7002f
fix buffer leak in crypto io 2017-11-07 11:39:54 +01:00
Darien Raymond
74cf833758 fully migrate to new assertion lib 2017-10-24 16:15:35 +02:00
Darien Raymond
ade88fd5c7
reuse buffered writer in auth writer 2017-05-24 00:54:30 +02:00
Darien Raymond
53f99ddde6
cleanup 2017-05-02 22:50:27 +02:00
Darien Raymond
7a4bab4940
support packet transfer type in mux 2017-05-02 22:23:07 +02:00
Darien Raymond
939fae00e9
packet mode reader and writer 2017-05-02 00:28:16 +02:00
Darien Raymond
c5aa4acb35
prototype of vpndialer 2017-04-30 23:37:30 +02:00
Darien Raymond
6239647336
fix chunk stream reader 2017-04-28 20:11:44 +02:00
Darien Raymond
693702350d
refactor 2017-04-28 14:48:23 +02:00
Darien Raymond
7f1e9c85c9
more effecient auth reader and writer 2017-04-27 13:31:09 +02:00
Darien Raymond
cea6e28634
refactor 2017-04-23 13:41:52 +02:00
Darien Raymond
e87b0ca848
size encoder and decoder 2017-04-23 13:30:08 +02:00
Darien Raymond
6a90ce3c43
comments 2017-04-21 15:36:05 +02:00
Darien Raymond
6d7aaa6535
bug fixes 2017-04-19 21:27:21 +02:00
Darien Raymond
e5525715fb
optimize cfb stream writer 2017-04-16 22:30:29 +02:00
Darien Raymond
02ce3ffded
release buffer 2017-04-15 22:29:38 +02:00
Darien Raymond
abe790181e
multi reader 2017-04-15 22:22:29 +02:00
Darien Raymond
f506a39d32
multi buffer 2017-04-15 21:07:23 +02:00
Darien Raymond
68bc9ea8e4
cleanup error messages 2017-04-09 15:04:04 +02:00
Darien Raymond
35248497d2
refactor error messages 2017-04-09 01:43:25 +02:00
Darien Raymond
2668954c12
update error messages 2017-04-06 22:17:13 +02:00
Darien Raymond
3e809f4750
fix comments 2017-04-04 21:26:48 +02:00
Darien Raymond
7199ffcaa2
refactor 2017-02-14 22:45:36 +01:00
Darien Raymond
16d803ba1d
remove unused function 2017-02-14 22:37:59 +01:00
Darien Raymond
3c032f0d53
update frame header masking strategy 2017-02-14 14:16:43 +01:00
Darien Raymond
d5b1762865
mask size bytes 2017-02-14 10:11:26 +01:00
Darien Raymond
6888093197
gofmt 2017-02-10 16:42:24 +01:00
Darien Raymond
2897df5a7a
don't copy leftoever if at head 2017-02-06 14:06:41 +01:00
Darien Raymond
775b4ef542
update auth test 2017-02-06 14:02:17 +01:00
Darien Raymond
47c3646162
refine authentication reader 2017-02-06 13:31:36 +01:00
Darien Raymond
cbebbc3e68
remove aggressive reader 2017-01-30 22:07:22 +01:00
Darien Raymond
0cf5087852
fix auth reader buffer overrun 2017-01-27 13:42:31 +01:00
Darien Raymond
e678000c44
remove release() pattern 2017-01-04 12:52:24 +01:00
Darien Raymond
3732de18b1
remove generated package comments 2017-01-03 14:23:55 +01:00
Darien Raymond
20fe6d10a4
rollback gitignore change 2017-01-02 20:52:45 +01:00
Darien Raymond
7cbef6723c
generate protobuf files on the fly 2017-01-02 20:43:41 +01:00
Darien Raymond
52e1dfaeac
remove all generated files 2017-01-02 08:15:31 +01:00
Darien Raymond
7c751fcca0
common.Must 2016-12-28 00:53:29 +01:00
Darien Raymond
c68da6a0e8
unified release 2016-12-27 21:33:34 +01:00
Darien Raymond
ceaf5d1178
fix lint warnings 2016-12-21 15:37:16 +01:00
Darien Raymond
3d9afdde8a
fix error propagation 2016-12-17 07:40:28 +01:00
Darien Raymond
8ced9aeec8
fix auth reader 2016-12-13 08:30:24 +01:00
Darien Raymond
ed9217bf20
test partial read 2016-12-12 21:49:04 +01:00
Darien Raymond
201d6e6471
support aggressive mode in auth reader 2016-12-12 21:44:16 +01:00
Darien Raymond
417284ed99
fix auth reader 2016-12-12 17:42:03 +01:00
Darien Raymond
055023fdd5
refactor buffer 2016-12-09 12:08:25 +01:00
Darien Raymond
7a80409e30
rename alloc to buf 2016-12-09 11:35:27 +01:00
Darien Raymond
7d2cf4c0e0
bug fixes 2016-12-07 22:52:56 +01:00
Darien Raymond
85163d4b47
more security types in vmess. 2016-12-07 17:32:40 +01:00
Darien Raymond
6d0915cc8c
Fix test break 2016-12-07 15:00:04 +01:00
Darien Raymond
a92df58017
refactor auth reader 2016-12-07 13:00:32 +01:00
Darien Raymond
544c6e8f71
fix test break 2016-12-07 00:52:36 +01:00
Darien Raymond
5f2eb09226
better error handling in AuthenticationReader 2016-12-07 00:49:56 +01:00
Darien Raymond
919b749578
aead reader and writer 2016-12-07 00:31:15 +01:00
Darien Raymond
f95c322677
rename 'this' 2016-11-27 21:39:09 +01:00
Darien Raymond
8eab746c96
doc 2016-08-21 09:06:15 +02:00
v2ray
07a86f549b
unified import path 2016-08-20 20:55:45 +02:00
v2ray
99a63f1633
reset timer before benchmark 2016-08-17 10:28:30 +02:00
v2ray
0040881b84
comments 2016-07-26 21:21:22 +02:00
v2ray
b02bd5b1d8
rollback chacha20 change 2016-07-25 10:28:11 +02:00
v2ray
e304e2761d
refine chacha20 initialization 2016-07-23 13:04:44 +02:00
Andreas Auernhammer
0cd0033245 Replace ChaCha20 implementation with an optimized version 2016-07-23 08:48:48 +02:00
v2ray
6847139ae3
renamed ErrObjectReleased 2016-06-22 15:12:57 +02:00
v2ray
fc63f0432c simplify testing 2016-05-24 21:55:46 +02:00
v2ray
a341cab302 implement releasable interface in v2io 2016-03-10 00:33:14 +01:00
v2ray
7fa96a4d2c fix build break 2016-02-26 23:18:34 +01:00
v2ray
79171f105a move CryptionReader and Writer into a separate file 2016-02-25 21:53:21 +01:00
v2ray
76ca9de25f refactor protocol 2016-02-25 21:50:10 +01:00
v2ray
3b39269ca0 format code 2016-02-23 18:38:12 +01:00
v2ray
075423972b remove unnecessary function 2016-02-23 18:25:00 +01:00
v2ray
65819228c1 more chacha20 test 2016-02-23 17:50:07 +01:00
v2ray
769af1ed02 ChaCha20 stream cipher 2016-02-23 17:33:54 +01:00
v2ray
e9c784d4bd refactor shadowsocks 2016-01-29 20:54:06 +01:00
Darien Raymond
008c285324 move transport methods from net to io 2016-01-29 13:39:55 +00:00
v2ray
06b92bddcf authenticator 2016-01-29 10:57:52 +01:00
V2Ray
a46db069fb Refactor AES encryption/decryption 2015-11-03 21:26:16 +01:00