Commit Graph

313 Commits (021cd3b5b7643d0e89d6d6a1adda07d7bae9626c)

Author SHA1 Message Date
Darien Raymond 074dfbb78c
add network list to shadowsocks server
7 years ago
Darien Raymond c5bd23105e
change uint32 to int32
7 years ago
Darien Raymond 08dab81eb2
migrate int to int32
7 years ago
Darien Raymond 4de3f1adc1
change ReadFullFrom to take int32 size
7 years ago
Darien Raymond 053d03349a
refactor
7 years ago
Darien Raymond 90f2480037
trace context
7 years ago
Darien Raymond fa63beceb6
fix double release on buffers
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
Darien Raymond fda85506c8
reuse buffer
7 years ago
Darien Raymond 6e293f492c
verify command
7 years ago
Darien Raymond b7d48fe7c5
prevent reading 0 bytes
7 years ago
Darien Raymond caa52e9327
early release buffers for better reusing
7 years ago
Darien Raymond af1abf687c
unify all address reading and writing
7 years ago
Darien Raymond 798212b311
fix timer settings
7 years ago
Darien Raymond 6b872c266c
session id
7 years ago
Darien Raymond 1077e33d62
unify address reading in socks and shadowsocks
7 years ago
Darien Raymond 88b25d38cb
simplify context retrieval
7 years ago
Darien Raymond 1f8fcb558d
fix error handling in freedom, shadowsocks and socks
7 years ago
Darien Raymond 03ba5ef4cb
properly close shadowsocks client udp connection
7 years ago
Shelikhoo 7f34cbdaff
Add Generated Files
7 years ago
Darien Raymond c3dce11c4e
fix a typo
7 years ago
Darien Raymond 4b5e41c783
fix UDP handling in Shadowsocks client
7 years ago
Darien Raymond 292d7cc353
massive refactoring for interoperability
7 years ago
Darien Raymond f4c35db968
merge log into common log
7 years ago
Darien Raymond 484bdeecc9
comments
7 years ago
Darien Raymond 81c4f23691
merge address writing
7 years ago
Darien Raymond d43a23aa96
move error generator to common
7 years ago
Darien Raymond 3aa5102036
lazy init of authenticator
7 years ago
Darien Raymond f6bb214d30
fix lint warnings
7 years ago
Darien Raymond cb68575444
support none cipher in shadowsocks
7 years ago
Darien Raymond fd8db49dc9
generalized event handler
7 years ago
Darien Raymond f90ec9fff0
rename interfaces
7 years ago
Darien Raymond 3214a5078c
customizable policy
7 years ago
Darien Raymond 64e5430ed9
lazy init of authenticator
7 years ago
Darien Raymond eef2a72ac0
fix aes cfb decode packet. fix #739
7 years ago
Darien Raymond fefb5c8e01
fix aead udp
7 years ago
Darien Raymond b64aceabcf
fix aead reader and writer
7 years ago
Darien Raymond 721bea5d54
fix lint warnings
7 years ago
Darien Raymond 6c0a1439c4
fix #739
7 years ago
Darien Raymond 02ab3f3494
refine aead check on server
7 years ago
Darien Raymond 9dbdcb3a39
fix check of AEAD cipher
7 years ago
Darien Raymond 80258c0542
handle AEAD cipher
7 years ago
Darien Raymond 713ebfb203
implementation for Shadowsocks AEAD
7 years ago
Darien Raymond 0dbfb66126
clean up dns package
7 years ago
Darien Raymond 594ec15c09
cleanup buffer usage
7 years ago
Darien Raymond cab5c10fc2
remove use of KeepAlive
7 years ago
Darien Raymond 74cf833758 fully migrate to new assertion lib
7 years ago
Darien Raymond 26818a2602 fix domain length issue for all proxies
7 years ago
Darien Raymond f1a15e92f5 apply bitmask to other packages
7 years ago
Darien Raymond 3a27ff8239 increase default timeout to 5 minutes
7 years ago
Darien Raymond 109a37fe7e aggressively close connection when response is done
7 years ago
Darien Raymond 8971e699d9 common.Must2
7 years ago
Darien Raymond 1c856a46ab step 1 to remove reference to net package
7 years ago
Darien Raymond 6f3362fc4c
update activity
8 years ago
Darien Raymond 326a54baea
refactor
8 years ago
Darien Raymond 3aa5343722
adjust error level
8 years ago
Darien Raymond f3c830c659
more test case on shadowsocks tcp
8 years ago
Darien Raymond d615874aa9
adjust error levels
8 years ago
Darien Raymond 6a90ce3c43
comments
8 years ago
Darien Raymond 498c7dafdf
clean udp writer
8 years ago
Darien Raymond 6d7aaa6535
bug fixes
8 years ago
Darien Raymond ab9349ec31
rename buf.Copy
8 years ago
Darien Raymond d6988f1a63
simplify code
8 years ago
Darien Raymond 2f565bfd5e
simplify ray stream
8 years ago
Darien Raymond 02ce3ffded
release buffer
8 years ago
Darien Raymond 47ba054ad5
optimize ota writer
8 years ago
Darien Raymond b1dfff2fdd
remove 8k buffer pool
8 years ago
Darien Raymond f506a39d32
multi buffer
8 years ago
Darien Raymond 8bb2d02f78
check number of shadowsocks servers
8 years ago
Darien Raymond 7c1b3ac1f0
cleanup error messages
8 years ago
Darien Raymond 35248497d2
refactor error messages
8 years ago
Darien Raymond 503f767862
error generator
8 years ago
Darien Raymond 9bb66b4de4
update error messages
8 years ago
Darien Raymond de0d0b3eb0
fix test break
8 years ago
Darien Raymond ade8453c0a
completely remove connection reuse feature
8 years ago
Darien Raymond 2668954c12
update error messages
8 years ago
Darien Raymond b4cd497abf
update error messages
8 years ago
Darien Raymond 75f5cb9afb
refactor log and error
8 years ago
Darien Raymond fc31f9b94c
refactor error interface
8 years ago
Darien Raymond dff0230034
add aead cipher
8 years ago
Darien Raymond a3042583e8
remove unused file
8 years ago
Darien Raymond 2e5cb82790
update proto
8 years ago
Darien Raymond f34ad57b58
refactor timer api
8 years ago
Darien Raymond a57531ef5d
cancel context after finish
8 years ago
Darien Raymond f643344154
merge buf stream
8 years ago
Darien Raymond d627638412
refine error message
8 years ago
Darien Raymond e480091388
smart error propagation
8 years ago
Darien Raymond 020b436827
merge bufio into buf
8 years ago
Darien Raymond f2e149e1d0
remove unnecessary error
8 years ago
Darien Raymond 5e7fb6d0dd
refine error handling in retry logic
8 years ago
Darien Raymond d04d92c187
update context functions
8 years ago
Darien Raymond b5d14b6823
update java options
8 years ago
Darien Raymond c4d0227977
simplify dialer and dispatcher parameters
8 years ago
Darien Raymond f046f334cd
move common/log to app/log
8 years ago
Darien Raymond 08b9778f05
refine user timeout
8 years ago
Darien Raymond ad7d98473f
remove timeout reader
8 years ago
Darien Raymond c462e35aad
cancel sessions after inactivity
8 years ago
Darien Raymond c09ca41161
handle close wait
8 years ago