Commit Graph

806 Commits (097cdf01d60fac82e0e7e76d21edbe279f7f0614)

Author SHA1 Message Date
Darien Raymond c462e35aad
cancel sessions after inactivity
8 years ago
Darien Raymond cbebbc3e68
remove aggressive reader
8 years ago
Darien Raymond bfcc75f5d1
fix goroutine leak in dynamic port
8 years ago
Darien Raymond ebf15aa6bb
fix test cases
8 years ago
Darien Raymond 6629b6dd28
fix socks password authentication
8 years ago
Darien Raymond f6e0d08d34
Fix HTTP proxy
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 9462f710a5
able to redirect to another destination in freedom
8 years ago
Darien Raymond 7f36a5d1d3
rename proxy interfaces
8 years ago
Darien Raymond ca721230e1
split listening settings from inbound proxies and apply context
8 years ago
Darien Raymond 73b5a51529
true none encryption
8 years ago
Darien Raymond 6056cc6638
handle nil error
8 years ago
Darien Raymond f2b1d5b60c
InboundHandler.Proxy()
8 years ago
Darien Raymond 34a2ae0ab7
implement default outbound handler
8 years ago
Darien Raymond b8f01e0c03
merge sender and receiver to proxyman
8 years ago
Darien Raymond 8b00d6fc30
clean imports
8 years ago
Darien Raymond b40a139310
simplify import
8 years ago
Darien Raymond 88b607d31b
rename NewDokodemoDoor
8 years ago
Darien Raymond f7e1f00c88
rename dispatcher.Interface
8 years ago
Darien Raymond 17504d2aac
context'ize apps
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 5013d387a5
migrate router test to proto
8 years ago
Darien Raymond 18a4134358
delay close error on blackhole
8 years ago
Darien Raymond 72992c7478
able to close ray stream with error
8 years ago
Darien Raymond d999bf62e2
fix link warnings
8 years ago
Darien Raymond f2a750a019
comment out unused const
8 years ago
Darien Raymond 74938dc428
write back error status when authentication timeout
8 years ago
Darien Raymond 2e46e95536
fix #277
8 years ago
Darien Raymond 7401807c5f
test case for socks udp
8 years ago
Darien Raymond 5b89c6aada
socks4 tests
8 years ago
Darien Raymond e87a16900e
remove debug info
8 years ago
Darien Raymond f2e9d8a4e0
socks client
8 years ago
Darien Raymond b00ee67369
refine socks udp handling
8 years ago
Darien Raymond b11d48d73f
simplify app design
8 years ago
Darien Raymond 13e4506781
better error handling in vmess inbound
8 years ago
Darien Raymond f2fcc90de2
check error for the first payload
8 years ago
Darien Raymond b9fb670ca6
remove duplicated methods
8 years ago
Darien Raymond a704d7b6b6
convert dokodemo scenario test to protobuf based
8 years ago
Darien Raymond e678000c44
remove release() pattern
8 years ago
Darien Raymond 49210d8362
refine stream handling
8 years ago
Darien Raymond 723207158f
Merge branch 'master' of https://github.com/v2ray/v2ray-core
8 years ago
Darien Raymond c4e2d99859
refine socks tcp 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 a44d556667
test case for tls connection
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 690d71b16e
go style task engine
8 years ago
Darien Raymond 7bc98503a8
remove buggy CloseWrite()
8 years ago
Darien Raymond 5ff2b3453a
task engine
8 years ago
Darien Raymond 7d31c0641b
fix lint warnings
8 years ago
Darien Raymond 7c751fcca0
common.Must
8 years ago
Darien Raymond c347e50c28
rename cached to buffered
8 years ago
Darien Raymond 7d1426ff7f
fix lint warnings
8 years ago
Darien Raymond c68da6a0e8
unified release
8 years ago
Darien Raymond 52fcfd71e6
Revert "Close http connection ASAP."
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 e66a787782
command protobuf
8 years ago
Darien Raymond 56f08afd9c
Close http connection ASAP.
8 years ago
Darien Raymond a24b11af27
fix lint warnings
8 years ago
Darien Raymond 4cbcd2fd8d
comments
8 years ago
Darien Raymond 25533412db
comments
8 years ago
Darien Raymond 3e73e66adb
remove unused code
8 years ago
Darien Raymond 3a6f66d177
remove unused code
8 years ago
Darien Raymond c3942fd5f0
fix lint warnings
8 years ago
Darien Raymond ceaf5d1178
fix lint warnings
8 years ago
Darien Raymond 99c897992d
partially revert compression stream.
8 years ago
Darien Raymond bb498cbfa8
Fix shadowsocks client handling proxied connection
8 years ago
Darien Raymond 095c29fa8c
decouple outbound handler manager
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 3ec82f5d32
remove unuseful errors
8 years ago
Darien Raymond 1ab02e0a6b
refactor proxy registry
8 years ago
Darien Raymond 4c7faadfb9
remove test utilities
8 years ago
Darien Raymond c693867603
include base error
8 years ago
Darien Raymond 50bc195f7f
rename TypedSettings to TypedMessage
8 years ago
Darien Raymond 5bbbdc05de
errors.Format
8 years ago
Darien Raymond 3b5a791ae8
simplify IPOrDomain construction
8 years ago
Darien Raymond f47c21c422
remove goroutine on command handling
8 years ago
Darien Raymond 031b1c14b8
style
8 years ago
Darien Raymond 76da31c755
Fix compatibility with Actinium
8 years ago
Darien Raymond a9790d59f0
comments
8 years ago
Darien Raymond 76776ddf99
delay check of remote address
8 years ago
Darien Raymond 948c86e5c5
remove unnecessary function call
8 years ago
Darien Raymond a67d525fc2
try fix connection reuse settings
8 years ago
Darien Raymond eee23e6718
fix api usage
8 years ago
Darien Raymond d0b301594d
support security = "auto"
8 years ago
Darien Raymond bc80cc72c7
pading compatibitlity
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 a3cb770f77
clean up errors
8 years ago
Darien Raymond 605fc49e9e
remove unused APIs.
8 years ago
Darien Raymond 0ad629ca31
remove use of prepend
8 years ago
Darien Raymond 12bce36693
fix test break
8 years ago
Darien Raymond 7d2cf4c0e0
bug fixes
8 years ago
Darien Raymond a6e25b3f67
security options in vmess
8 years ago
Darien Raymond 85163d4b47
more security types in vmess.
8 years ago
Darien Raymond a92df58017
refactor auth reader
8 years ago
Darien Raymond 78b726d4e8
comments
8 years ago
Darien Raymond 919b749578
aead reader and writer
8 years ago
Darien Raymond 341fa376a1
Buffer.SetByte
8 years ago
Darien Raymond 8c8f0a53fd
rewrite alloc.buffer
8 years ago
Darien Raymond 4bf8288cc2
remove use of Buffer.Value
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 f69f551c99
reduce vmess log
8 years ago
Darien Raymond 14829f67f0
refine outbound proxy handler interface
8 years ago
Darien Raymond 2a37c62e07
remove unnecessary assign
8 years ago
Darien Raymond 9dd4f016b1
gofmt
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 b9dde62ae7
fix import
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 1bbbb6e3cd
release payload after writting
8 years ago
Darien Raymond ecd0cf2fe2
fix proxy settings in vmess outbound
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 65a49e7fa0
small fixes
8 years ago
Darien Raymond a14795e1e6
optimize udp hub
8 years ago
Darien Raymond ad3f450bce
fix usage of io.EOF
8 years ago
Darien Raymond 3a51157929
fix allow passive connection
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 68b85cce60
remove unused code
8 years ago
Darien Raymond cdb0debcb0
register shadowsocks client factory
8 years ago
Darien Raymond 5f3f173b5e
shadowsocks client factory
8 years ago