Commit Graph

897 Commits (054ceb865d6739a9d5b4b0ad5099f5fd4511fd5c)

Author SHA1 Message Date
Darien Raymond e39a67d5bc
log timeout in freedom
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 6363c33790
detect actual address type for domain address type
8 years ago
Darien Raymond e480091388
smart error propagation
8 years ago
Darien Raymond 0f71305ee1
refine log message
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 10acab0dfe
comments
8 years ago
Darien Raymond 7b707275df
naming refactoring
8 years ago
Darien Raymond 4f27a07c29
update comments
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 f2e149e1d0
remove unnecessary error
8 years ago
Darien Raymond 0cfd8ab423
default security settings for dynamic port
8 years ago
Darien Raymond c422196280
safe return in blackhole
8 years ago
Darien Raymond 237ccf505c
Merge branch 'master' of https://github.com/v2ray/v2ray-core
8 years ago
Darien Raymond 5ccc915f8f
typo
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 f99bd8b8b2
remove unused functions
8 years ago
Darien Raymond 27b0401c20
remove context functions for allow passive connection
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 d3d2fab1d9
refine error messages
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 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
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 369256c82f
include user when dispatch requests in VMess.
8 years ago
Darien Raymond 687ae6c50e
chunk writer
8 years ago
Darien Raymond 7a14f646ee
gofmt
8 years ago