Commit Graph

561 Commits (d83959569d6b80fafead161383c16d52e99ebb20)

Author SHA1 Message Date
Darien Raymond 4aa87be0f2
enable command mux
7 years ago
Darien Raymond 5a6022d1ed
log err for SetReadDeadline(). fix #707
7 years ago
Darien Raymond 0dbfb66126
clean up dns package
7 years ago
Darien Raymond 594ec15c09
cleanup buffer usage
7 years ago
Darien Raymond 66b82e4ab7
cleanup MultiBuffer
7 years ago
Darien Raymond cab5c10fc2
remove use of KeepAlive
7 years ago
Darien Raymond 02685094d3 rewrite vmess encoding using buf
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 24089bfad0 remove duplicated address type def
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 6bbc3a6945
check error
7 years ago
Darien Raymond 21284fbd61
refactor
7 years ago
Darien Raymond 3d13bba412
allow error on set deadline
8 years ago
Darien Raymond 62b01ef0ba
code cleanup
8 years ago
Darien Raymond ade88fd5c7
reuse buffered writer in auth writer
8 years ago
Darien Raymond 06d4c37889
integrate mux in vmess server
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 6f3362fc4c
update activity
8 years ago
Darien Raymond 4668f9d3de
refactor
8 years ago
Darien Raymond e87b0ca848
size encoder and decoder
8 years ago
Darien Raymond ab9349ec31
rename buf.Copy
8 years ago
Darien Raymond 2f565bfd5e
simplify ray stream
8 years ago
Darien Raymond f506a39d32
multi buffer
8 years ago
Darien Raymond a8586eace6
fix interface
8 years ago
Darien Raymond 345e43b4c4
update error message
8 years ago
Darien Raymond 2a51b71ba4
use merging reader only for tcp traffic
8 years ago
Darien Raymond 35248497d2
refactor error messages
8 years ago
Darien Raymond bc4e2293ef
remove errors.Format
8 years ago
Darien Raymond a034276eee
update error messages
8 years ago
Darien Raymond ade8453c0a
completely remove connection reuse feature
8 years ago
Darien Raymond 1b244bf3a1
reduce VMess memory usage
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 65c6972eb5
delete then add
8 years ago
Darien Raymond 2e5cb82790
update proto
8 years ago
Darien Raymond 18b0b87c52
no-op timer
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 14824c8451
fix timeout reader usage
8 years ago
Darien Raymond d627638412
refine error message
8 years ago
Darien Raymond e480091388
smart error propagation
8 years ago
Darien Raymond 3112d3a2d3
typo
8 years ago
Darien Raymond 020b436827
merge bufio into buf
8 years ago
Darien Raymond 3c032f0d53
update frame header masking strategy
8 years ago
Darien Raymond 104446afdf
update masking strategy
8 years ago
Darien Raymond 8d6a4d0a8a
Merge branch 'master' of https://github.com/v2ray/v2ray-core
8 years ago
Darien Raymond 0d83330ced
condition session history
8 years ago
Darien Raymond d5b1762865
mask size bytes
8 years ago
Darien Raymond 7b707275df
naming refactoring
8 years ago
Darien Raymond 4c661bee47
update comments
8 years ago
Darien Raymond 02028bf8be
fix panic when there is no available handler
8 years ago
Darien Raymond ec95caa946
per inbound session history
8 years ago
Darien Raymond 10d26f2d7f
test case for anti reply attack
8 years ago
Darien Raymond 3e10f3ae69
server side anti reply attack
8 years ago
Darien Raymond 0cfd8ab423
default security settings for dynamic port
8 years ago
Darien Raymond 6888093197
gofmt
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 ce34a25e66
fix build break
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 504ff4b0c4
remove mux settings from vmess
8 years ago
Darien Raymond 8afdbbfc9f
fix error usage
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 cbebbc3e68
remove aggressive reader
8 years ago
Darien Raymond bfcc75f5d1
fix goroutine leak in dynamic port
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 ca721230e1
split listening settings from inbound proxies and apply context
8 years ago
Darien Raymond 73b5a51529
true none encryption
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 b11d48d73f
simplify app design
8 years ago
Darien Raymond 13e4506781
better error handling in vmess inbound
8 years ago
Darien Raymond e678000c44
remove release() pattern
8 years ago
Darien Raymond 49210d8362
refine stream handling
8 years ago
Darien Raymond c9a421fba6
remove generate package comments in .pb.go files.
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 690d71b16e
go style task engine
8 years ago
Darien Raymond 5ff2b3453a
task engine
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 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 99c897992d
partially revert compression stream.
8 years ago
Darien Raymond 3ec82f5d32
remove unuseful errors
8 years ago
Darien Raymond 1ab02e0a6b
refactor proxy registry
8 years ago
Darien Raymond 50bc195f7f
rename TypedSettings to TypedMessage
8 years ago
Darien Raymond 5bbbdc05de
errors.Format
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 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 605fc49e9e
remove unused APIs.
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 8c8f0a53fd
rewrite alloc.buffer
8 years ago
Darien Raymond 4bf8288cc2
remove use of Buffer.Value
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 6804d8f73a
better handling error from Pipe()
8 years ago
Darien Raymond 30cd9e929d
add exponential backoff as retry logic
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 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 9471b5b066
refine dispatcher
8 years ago