Commit Graph

47 Commits (6c14ecb2a0cb29e0eed618e83af8215dd6386a4e)

Author SHA1 Message Date
Darien Raymond bcfcba396b
simplify auth reader
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 f5d76c8eb0
fix lint warnings
7 years ago
Darien Raymond 251d6f6fcb
fix lint warning
7 years ago
Darien Raymond ade88fd5c7
reuse buffered writer in auth writer
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 7f1e9c85c9
more effecient auth reader and writer
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 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 2897df5a7a
don't copy leftoever if at head
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 7c751fcca0
common.Must
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 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