Commit Graph

598 Commits (2544c2f8f52ff4dd9b61fb9ae51d1838bce88997)

Author SHA1 Message Date
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
Darien Raymond d343cb1ee6
proxy connection
8 years ago
Darien Raymond 68b85cce60
remove unused code
8 years ago
Darien Raymond 5f3f173b5e
shadowsocks client factory
8 years ago
Darien Raymond 369256c82f
include user when dispatch requests in VMess.
8 years ago
Darien Raymond 7a14f646ee
gofmt
8 years ago
Darien Raymond 5a311cbe08
json config parser
8 years ago
Darien Raymond e33b7df34c
remove use of any
8 years ago
Darien Raymond be026870f7
protogen update
8 years ago
Darien Raymond fc6a706166
refactor protos
8 years ago
Darien Raymond 1d13f47f9c
protobuf for stream settings
8 years ago
Darien Raymond af6abfa3e3
update proto generated code
8 years ago
Darien Raymond 91f2a40dae
refine proto package names
8 years ago
Darien Raymond 922e761bef
rename server spec user
8 years ago
Darien Raymond 24e575f2cd
protobuf for vmess
8 years ago
Darien Raymond 7de7588ec2
proto for destination
8 years ago
Darien Raymond c518726910
network proto
8 years ago
Darien Raymond 9ade07db03
remove IsTCP() and IsUDP()
8 years ago
Darien Raymond 8b37edd02d
format log
8 years ago
Darien Raymond d08cba000f
accounts in protobuf
8 years ago
Darien Raymond cdb4c56546
protobuf for net
8 years ago
Darien Raymond e6e0419958
format private annotation
8 years ago
v2ray 07a86f549b
unified import path
8 years ago
v2ray 2268f3d1bc
remove import path restriction
8 years ago
v2ray 39737f6fc1
merge bad configuration error
8 years ago
v2ray 89a876a6d4
rename proxy/internal to proxy/registry
8 years ago
Darien Raymond 667b71aad0 Merge pull request #238 from xiaokangwang/websocket
8 years ago
v2ray 66bb7879e0
handle empty payload in freedom and outbound
8 years ago
Shelikhoo 7259b3363b
Merge branch 'master' into websockwt
8 years ago
v2ray cc92973daf
fix destination from addr
8 years ago
v2ray 07dee80f54
update server
8 years ago
v2ray 4419f1e3d6
introduce address family in v2net
8 years ago
v2ray a9d583b92f
connection session
8 years ago
Shelikhoo 508f79f95f
Advertise WS cap
8 years ago
v2ray bcd27ba36f
option to allow passive connection
8 years ago
v2ray 9e997a5be7
typo
8 years ago
v2ray e6a61930d9
remove use of small buffer
8 years ago
v2ray 443e9d4725
fix a bug in vmess encoding
8 years ago
v2ray 2034d54bab
rename VMessAccount to vmess.Account
8 years ago
v2ray 2049759640
use server spec in vmess
8 years ago
v2ray f871ca63e2
refine error message
8 years ago
v2ray 96ec5cfc58
Fix VMess inbound for empty response
8 years ago
v2ray 6f5b54747e
move encoding to vmess
8 years ago
v2ray 85d6e1ad13
prepend hash
8 years ago
v2ray e13ea7a54f
refine log in vmess
9 years ago
v2ray 2c259165ff
read entire small payload
9 years ago
v2ray 7f661f5215
rename Error to Err
9 years ago
v2ray 67ac925ee7
refactor bytes functions
9 years ago
v2ray 560b429902
Update log
9 years ago
v2ray 20f046af0b fix a race condition issue in VMess inbound
9 years ago
v2ray 71ce8f4416 enable kcp
9 years ago
v2ray 9b6dc6bcea massive refactoring for kcp
9 years ago
Shelikhoo e72a7cb96f
KCP: VMess will call setProxyCap to advertise KCP capacity on init
9 years ago
Shelikhoo 29cb680a4b
KCP: VMess will advertise its KCP capacity
9 years ago
Shelikhoo 6d6158b089
KCP: Vmess will pass its meta to Dial3 and ListenTCP6
9 years ago
v2ray 09f7e8b61e meaningful error message
9 years ago
v2ray d9b59133cc Properly close inbound when no payload
9 years ago
v2ray e732ba62a6 unified config loader
9 years ago
v2ray 83c7e8491c fix conn reuse
9 years ago
v2ray e878973def retry if vmess conn fails
9 years ago
v2ray 50ca869929 organize handler metadata
9 years ago
v2ray a4d76dc394 support using specific address
9 years ago
Darien Raymond a2d8d55ba1 Update io_test.go
9 years ago
v2ray 72fb5a256c send reuse option in header
9 years ago