Commit Graph

162 Commits (master)

Author SHA1 Message Date
Darien Raymond 1425fd2ba9
remove Buffer.Append method
7 years ago
Darien Raymond 66ed1bab2a
simplify BytesGenerator
7 years ago
Darien Raymond 9d7f43a299
fix lint errors
7 years ago
Darien Raymond 4b45174650
fix handling of empty buffer
7 years ago
Shelikhoo c542c043f3
Merge branch 'master' of github.com:v2ray/v2ray-core into domainsocket
7 years ago
Darien Raymond 9f198d7e3d
fix lint errors
7 years ago
Darien Raymond 27ccc9d726
comments
7 years ago
Darien Raymond 7bafd7a1ab
migrate int to int32
7 years ago
Darien Raymond c5bd23105e
change uint32 to int32
7 years ago
Darien Raymond 81a147e540
Merge branch 'master' of https://github.com/v2ray/v2ray-core
7 years ago
Darien Raymond 08dab81eb2
migrate int to int32
7 years ago
wuxiangzhou2010 5a08411ee2 fix typo
7 years ago
Darien Raymond 4de3f1adc1
change ReadFullFrom to take int32 size
7 years ago
Darien Raymond 5af3580bcf
correct magic number
7 years ago
Darien Raymond 3d919a6a93
optimize auth reader
7 years ago
Darien Raymond 8d0a74b3fa
refine auth writer
7 years ago
Darien Raymond fc7da93d06
less cap
7 years ago
Darien Raymond 000e0804e8
fix buffer recycling
7 years ago
Darien Raymond 1cbfeea0cd
simplify NewSize calls
7 years ago
Darien Raymond 994aecd13c
rename NewLocal to NewSize
7 years ago
Darien Raymond f97e6fa3d2
refine buffer allocation
7 years ago
Shelikhoo 7f34cbdaff
Add Generated Files
7 years ago
Darien Raymond bcfcba396b
simplify auth reader
7 years ago
Darien Raymond d43a23aa96
move error generator to common
7 years ago
Darien Raymond 0481e6fa42
simplify chunk stream reader
7 years ago
Darien Raymond 40222de0f7
fix chunk parser for ss aead
7 years ago
Darien Raymond 981c43afc2
allow nil additional data generator
7 years ago
Darien Raymond 713ebfb203
implementation for Shadowsocks AEAD
7 years ago
Darien Raymond 97d886e1c9
use all buffers
7 years ago
Darien Raymond 5c9f54a453
fix length check in auth reader
7 years ago
Darien Raymond 594ec15c09
cleanup buffer usage
7 years ago
Darien Raymond 66b82e4ab7
cleanup MultiBuffer
7 years ago
Darien Raymond cf080e8061
ensure buffer is completely filled in
7 years ago
Darien Raymond 9cc9a76b71
cleanup
7 years ago
Darien Raymond f5d76c8eb0
fix lint warnings
7 years ago
Darien Raymond 251d6f6fcb
fix lint warning
7 years ago
Darien Raymond d1e7e7002f
fix buffer leak in crypto io
7 years ago
Darien Raymond 74cf833758 fully migrate to new assertion lib
7 years ago
Darien Raymond ade88fd5c7
reuse buffered writer in auth writer
8 years ago
Darien Raymond 53f99ddde6
cleanup
8 years ago
Darien Raymond 7a4bab4940
support packet transfer type in mux
8 years ago
Darien Raymond 939fae00e9
packet mode reader and writer
8 years ago
Darien Raymond c5aa4acb35
prototype of vpndialer
8 years ago
Darien Raymond 6239647336
fix chunk stream reader
8 years ago
Darien Raymond 693702350d
refactor
8 years ago
Darien Raymond 7f1e9c85c9
more effecient auth reader and writer
8 years ago
Darien Raymond cea6e28634
refactor
8 years ago
Darien Raymond e87b0ca848
size encoder and decoder
8 years ago
Darien Raymond 6a90ce3c43
comments
8 years ago
Darien Raymond 6d7aaa6535
bug fixes
8 years ago
Darien Raymond e5525715fb
optimize cfb stream writer
8 years ago
Darien Raymond 02ce3ffded
release buffer
8 years ago
Darien Raymond abe790181e
multi reader
8 years ago
Darien Raymond f506a39d32
multi buffer
8 years ago
Darien Raymond 68bc9ea8e4
cleanup error messages
8 years ago
Darien Raymond 35248497d2
refactor error messages
8 years ago
Darien Raymond 2668954c12
update error messages
8 years ago
Darien Raymond 3e809f4750
fix comments
8 years ago
Darien Raymond 7199ffcaa2
refactor
8 years ago
Darien Raymond 16d803ba1d
remove unused function
8 years ago
Darien Raymond 3c032f0d53
update frame header masking strategy
8 years ago
Darien Raymond d5b1762865
mask size bytes
8 years ago
Darien Raymond 6888093197
gofmt
8 years ago
Darien Raymond 2897df5a7a
don't copy leftoever if at head
8 years ago
Darien Raymond 775b4ef542
update auth test
8 years ago
Darien Raymond 47c3646162
refine authentication reader
8 years ago
Darien Raymond cbebbc3e68
remove aggressive reader
8 years ago
Darien Raymond 0cf5087852
fix auth reader buffer overrun
8 years ago
Darien Raymond e678000c44
remove release() pattern
8 years ago
Darien Raymond 3732de18b1
remove generated package comments
8 years ago
Darien Raymond 20fe6d10a4
rollback gitignore change
8 years ago
Darien Raymond 7cbef6723c
generate protobuf files on the fly
8 years ago
Darien Raymond 52e1dfaeac
remove all generated files
8 years ago
Darien Raymond 7c751fcca0
common.Must
8 years ago
Darien Raymond c68da6a0e8
unified release
8 years ago
Darien Raymond ceaf5d1178
fix lint warnings
8 years ago
Darien Raymond 3d9afdde8a
fix error propagation
8 years ago
Darien Raymond 8ced9aeec8
fix auth reader
8 years ago
Darien Raymond ed9217bf20
test partial read
8 years ago
Darien Raymond 201d6e6471
support aggressive mode in auth reader
8 years ago
Darien Raymond 417284ed99
fix auth reader
8 years ago
Darien Raymond 055023fdd5
refactor buffer
8 years ago
Darien Raymond 7a80409e30
rename alloc to buf
8 years ago
Darien Raymond 7d2cf4c0e0
bug fixes
8 years ago
Darien Raymond 85163d4b47
more security types in vmess.
8 years ago
Darien Raymond 6d0915cc8c
Fix test break
8 years ago
Darien Raymond a92df58017
refactor auth reader
8 years ago
Darien Raymond 544c6e8f71
fix test break
8 years ago
Darien Raymond 5f2eb09226
better error handling in AuthenticationReader
8 years ago
Darien Raymond 919b749578
aead reader and writer
8 years ago
Darien Raymond f95c322677
rename 'this'
8 years ago
Darien Raymond 8eab746c96
doc
8 years ago
v2ray 07a86f549b
unified import path
8 years ago
v2ray 99a63f1633
reset timer before benchmark
8 years ago
v2ray 0040881b84
comments
8 years ago
v2ray b02bd5b1d8
rollback chacha20 change
8 years ago
v2ray e304e2761d
refine chacha20 initialization
8 years ago
Andreas Auernhammer 0cd0033245 Replace ChaCha20 implementation with an optimized version
8 years ago
v2ray 6847139ae3
renamed ErrObjectReleased
9 years ago
v2ray fc63f0432c simplify testing
9 years ago