Commit Graph

335 Commits (9ae36dae059a203cb3e500c2dd6f0559eb7c370c)

Author SHA1 Message Date
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
Darien Raymond fab20bb0cf
close outbound connections when context is done
8 years ago
Darien Raymond 18e1ca85aa
rename udp.Server
8 years ago
Darien Raymond ca721230e1
split listening settings from inbound proxies and apply context
8 years ago
Darien Raymond f2b1d5b60c
InboundHandler.Proxy()
8 years ago
Darien Raymond b40a139310
simplify import
8 years ago
Darien Raymond f7e1f00c88
rename dispatcher.Interface
8 years ago
Darien Raymond 148e4832eb
leverage global object creator in proxies.
8 years ago
Darien Raymond d24fe9dbfb
separate network and transport protocol
8 years ago
Darien Raymond 72992c7478
able to close ray stream with error
8 years ago
Darien Raymond f2e9d8a4e0
socks client
8 years ago
Darien Raymond b11d48d73f
simplify app design
8 years ago
Darien Raymond f2fcc90de2
check error for the first payload
8 years ago
Darien Raymond e678000c44
remove release() pattern
8 years ago
Darien Raymond 49210d8362
refine stream handling
8 years ago
Darien Raymond 31d6e74482
remove rawtcp
8 years ago
Darien Raymond c9a421fba6
remove generate package comments in .pb.go files.
8 years ago
Darien Raymond 1e5061f15e
fix #351
8 years ago
Darien Raymond 20fe6d10a4
rollback gitignore change
8 years ago
Darien Raymond 52e1dfaeac
remove all generated files
8 years ago
Darien Raymond f6aa7a0053
fix usage of ray stream.
8 years ago
Darien Raymond 609dbc1f13
task engine for all proxies
8 years ago
Darien Raymond 7c751fcca0
common.Must
8 years ago
Darien Raymond c347e50c28
rename cached to buffered
8 years ago
Darien Raymond c68da6a0e8
unified release
8 years ago
Darien Raymond a4dfca0ef7
accommodate protobuf compiler change
8 years ago
Darien Raymond 7dc7937443
rename ws to websocket
8 years ago
Darien Raymond eb782436b3
proto option for C# namespace
8 years ago
Darien Raymond 4cbcd2fd8d
comments
8 years ago
Darien Raymond c3942fd5f0
fix lint warnings
8 years ago
Darien Raymond ceaf5d1178
fix lint warnings
8 years ago
Darien Raymond bb498cbfa8
Fix shadowsocks client handling proxied connection
8 years ago
Darien Raymond 1bf247da55
rollback shadowsocks iv change
8 years ago
Darien Raymond dd96b4eee7
fix aes-256-cfb iv length
8 years ago
Darien Raymond 1ab02e0a6b
refactor proxy registry
8 years ago
Darien Raymond 50bc195f7f
rename TypedSettings to TypedMessage
8 years ago
Darien Raymond 76776ddf99
delay check of remote address
8 years ago
Darien Raymond 1948d0738f
refactor io package
8 years ago
Darien Raymond 055023fdd5
refactor buffer
8 years ago
Darien Raymond 7a80409e30
rename alloc to buf
8 years ago
Darien Raymond 0ad629ca31
remove use of prepend
8 years ago
Darien Raymond 341fa376a1
Buffer.SetByte
8 years ago
Darien Raymond 8c8f0a53fd
rewrite alloc.buffer
8 years ago
Darien Raymond 186bf1f141
FillFullFrom
8 years ago
Darien Raymond cf3eb0e77d
refine buffer usage
8 years ago
Darien Raymond e46bad3f18
format errors
8 years ago
Darien Raymond efb24a4d21
rewrite error lib
8 years ago
Darien Raymond 14829f67f0
refine outbound proxy handler interface
8 years ago
Darien Raymond f95c322677
rename 'this'
8 years ago
Darien Raymond 470e35849f
Server side OTA settings in shadowsocks
8 years ago
Darien Raymond 6804d8f73a
better handling error from Pipe()
8 years ago
Darien Raymond bc822985ab
shadowsocks log
8 years ago
Darien Raymond 70c75038a2
small buffer
8 years ago
Darien Raymond c041740940
remove ErrMissingApplication
8 years ago
Darien Raymond 30cd9e929d
add exponential backoff as retry logic
8 years ago
Darien Raymond 84740b676a
handle empty payload
8 years ago
Darien Raymond 2078f29142
refine error message
8 years ago
Darien Raymond 26aa48d4f9
fix shadowsocks ota
8 years ago
Darien Raymond 5a32cd8602
remove large buffer
8 years ago
Darien Raymond b49f76cd1c
fix tcp reading
8 years ago
Darien Raymond 9471b5b066
refine dispatcher
8 years ago
Darien Raymond 5dc05d6352
allow outbound to be proxied
8 years ago
Darien Raymond d343cb1ee6
proxy connection
8 years ago
Darien Raymond d75cb28413
fix tcp encoding
8 years ago
Darien Raymond d70b997d84
test case for shadowsocks UDP
8 years ago
Darien Raymond 3a15f799c2
prevent deadlock in shadowsocks
8 years ago
Darien Raymond 1600a59254
enable tcp for shadowsocks server
8 years ago
Darien Raymond c5a92e00ef
dont reuse shadowsock connections
8 years ago
Darien Raymond cdb0debcb0
register shadowsocks client factory
8 years ago
Darien Raymond 5f3f173b5e
shadowsocks client factory
8 years ago
Darien Raymond 35aa16d40d
refine shadowsocks user
8 years ago
Darien Raymond 63d3c9fa30
typo
8 years ago
Darien Raymond 687e008c9a
refine shadowsocks ota settings
8 years ago
Darien Raymond 43dacc3936
remove small buffer pool
8 years ago
Darien Raymond c221802963
shadowsocks client
8 years ago
Darien Raymond be4f3d0772
refine shadowsocks server
8 years ago
Darien Raymond 687ae6c50e
chunk writer
8 years ago
Darien Raymond 5a311cbe08
json config parser
8 years ago
Darien Raymond e33b7df34c
remove use of any
8 years ago