Commit Graph

190 Commits (470dc8523bc452c755a9e5bab7abfd80a4a4b4ed)

Author SHA1 Message Date
Darien Raymond 594ec15c09
cleanup buffer usage 2017-11-09 22:33:15 +01:00
Darien Raymond 66b82e4ab7
cleanup MultiBuffer 2017-11-09 00:55:28 +01:00
Darien Raymond cab5c10fc2
remove use of KeepAlive 2017-11-07 22:31:47 +01:00
Darien Raymond 26818a2602 fix domain length issue for all proxies 2017-10-22 20:17:06 +02:00
Darien Raymond 3a27ff8239 increase default timeout to 5 minutes 2017-09-27 21:09:13 +02:00
Darien Raymond 06d4c37889
integrate mux in vmess server 2017-05-17 21:13:01 +02:00
Darien Raymond 6f3362fc4c
update activity 2017-04-27 22:30:48 +02:00
Darien Raymond ab9349ec31
rename buf.Copy 2017-04-17 22:50:02 +02:00
Darien Raymond 2f565bfd5e
simplify ray stream 2017-04-16 09:57:28 +02:00
Darien Raymond f506a39d32
multi buffer 2017-04-15 21:07:23 +02:00
Darien Raymond 35248497d2
refactor error messages 2017-04-09 01:43:25 +02:00
Darien Raymond a034276eee
update error messages 2017-04-07 22:56:27 +02:00
Darien Raymond ade8453c0a
completely remove connection reuse feature 2017-04-07 21:54:40 +02:00
Darien Raymond 75f5cb9afb
refactor log and error 2017-04-06 21:13:17 +02:00
Darien Raymond fc31f9b94c
refactor error interface 2017-04-06 15:13:09 +02:00
Darien Raymond f34ad57b58
refactor timer api 2017-03-31 21:45:43 +02:00
Darien Raymond a57531ef5d
cancel context after finish 2017-03-31 21:10:33 +02:00
Darien Raymond f643344154
merge buf stream 2017-03-27 11:26:44 +02:00
Darien Raymond 14824c8451
fix timeout reader usage 2017-03-27 11:14:55 +02:00
Darien Raymond d627638412
refine error message 2017-03-07 22:08:16 +01:00
Darien Raymond e480091388
smart error propagation 2017-02-21 23:14:07 +01:00
Darien Raymond 020b436827
merge bufio into buf 2017-02-15 22:51:01 +01:00
Darien Raymond 3c032f0d53
update frame header masking strategy 2017-02-14 14:16:43 +01:00
Darien Raymond 7b707275df
naming refactoring 2017-02-13 13:16:37 +01:00
Darien Raymond 5e7fb6d0dd
refine error handling in retry logic 2017-02-10 11:41:50 +01:00
Darien Raymond d04d92c187
update context functions 2017-02-09 22:49:38 +01:00
Darien Raymond c4d0227977
simplify dialer and dispatcher parameters 2017-02-03 22:35:09 +01:00
Darien Raymond f046f334cd
move common/log to app/log 2017-02-01 21:35:40 +01:00
Darien Raymond c462e35aad
cancel sessions after inactivity 2017-01-31 12:42:05 +01:00
Darien Raymond c09ca41161
handle close wait 2017-01-28 22:31:21 +01:00
Darien Raymond fab20bb0cf
close outbound connections when context is done 2017-01-28 21:24:46 +01:00
Darien Raymond ca721230e1
split listening settings from inbound proxies and apply context 2017-01-26 20:46:44 +01:00
Darien Raymond b40a139310
simplify import 2017-01-13 23:42:39 +01:00
Darien Raymond 148e4832eb
leverage global object creator in proxies. 2017-01-13 00:56:21 +01:00
Darien Raymond d24fe9dbfb
separate network and transport protocol 2017-01-12 12:54:34 +01:00
Darien Raymond 72992c7478
able to close ray stream with error 2017-01-10 14:22:42 +01:00
Darien Raymond e678000c44
remove release() pattern 2017-01-04 12:52:24 +01:00
Darien Raymond 49210d8362
refine stream handling 2017-01-04 12:34:01 +01:00
Darien Raymond f6aa7a0053
fix usage of ray stream. 2016-12-30 00:51:39 +01:00
Darien Raymond 609dbc1f13
task engine for all proxies 2016-12-30 00:32:20 +01:00
Darien Raymond 7c751fcca0
common.Must 2016-12-28 00:53:29 +01:00
Darien Raymond c347e50c28
rename cached to buffered 2016-12-27 21:41:44 +01:00
Darien Raymond 99c897992d
partially revert compression stream. 2016-12-21 12:53:31 +01:00
Darien Raymond 1ab02e0a6b
refactor proxy registry 2016-12-15 15:46:20 +01:00
Darien Raymond 50bc195f7f
rename TypedSettings to TypedMessage 2016-12-15 11:51:09 +01:00
Darien Raymond f47c21c422
remove goroutine on command handling 2016-12-14 21:50:14 +01:00
Darien Raymond a67d525fc2
try fix connection reuse settings 2016-12-12 13:08:31 +01:00
Darien Raymond 1948d0738f
refactor io package 2016-12-09 13:17:34 +01:00
Darien Raymond 055023fdd5
refactor buffer 2016-12-09 12:08:25 +01:00
Darien Raymond 7a80409e30
rename alloc to buf 2016-12-09 11:35:27 +01:00
Darien Raymond 605fc49e9e
remove unused APIs. 2016-12-08 16:50:40 +01:00
Darien Raymond a6e25b3f67
security options in vmess 2016-12-07 21:43:41 +01:00
Darien Raymond 85163d4b47
more security types in vmess. 2016-12-07 17:32:40 +01:00
Darien Raymond 8c8f0a53fd
rewrite alloc.buffer 2016-12-06 11:03:42 +01:00
Darien Raymond 14829f67f0
refine outbound proxy handler interface 2016-11-27 23:57:19 +01:00
Darien Raymond f95c322677
rename 'this' 2016-11-27 21:39:09 +01:00
Darien Raymond 6804d8f73a
better handling error from Pipe() 2016-11-22 00:17:49 +01:00
Darien Raymond 30cd9e929d
add exponential backoff as retry logic 2016-11-20 21:47:51 +01:00
Darien Raymond 1bbbb6e3cd
release payload after writting 2016-11-19 22:39:18 +01:00
Darien Raymond ecd0cf2fe2
fix proxy settings in vmess outbound 2016-11-19 14:38:28 +01:00
Darien Raymond 65a49e7fa0
small fixes 2016-11-19 00:37:11 +01:00
Darien Raymond ad3f450bce
fix usage of io.EOF 2016-11-17 23:21:44 +01:00
Darien Raymond d343cb1ee6
proxy connection 2016-11-09 00:17:09 +01:00
Darien Raymond 5f3f173b5e
shadowsocks client factory 2016-11-02 16:33:04 +01:00
Darien Raymond e33b7df34c
remove use of any 2016-10-16 14:22:21 +02:00
Darien Raymond 1d13f47f9c
protobuf for stream settings 2016-10-02 23:43:58 +02:00
Darien Raymond 24e575f2cd
protobuf for vmess 2016-09-24 23:11:58 +02:00
Darien Raymond 7de7588ec2
proto for destination 2016-09-20 11:53:05 +02:00
Darien Raymond c518726910
network proto 2016-09-20 10:44:44 +02:00
Darien Raymond 9ade07db03
remove IsTCP() and IsUDP() 2016-09-19 16:39:11 +02:00
v2ray 07a86f549b
unified import path 2016-08-20 20:55:45 +02:00
v2ray 89a876a6d4
rename proxy/internal to proxy/registry 2016-08-17 23:30:15 +02:00
Darien Raymond 667b71aad0 Merge pull request #238 from xiaokangwang/websocket
Websocket transport support for v2ray
2016-08-15 17:45:25 +02:00
v2ray 66bb7879e0
handle empty payload in freedom and outbound 2016-08-15 12:23:35 +02:00
Shelikhoo 7259b3363b
Merge branch 'master' into websockwt 2016-08-15 10:17:22 +08:00
Shelikhoo 508f79f95f
Advertise WS cap 2016-08-13 21:33:34 +08:00
v2ray 9e997a5be7
typo 2016-08-09 23:17:02 +02:00
v2ray e6a61930d9
remove use of small buffer 2016-07-29 23:18:58 +02:00
v2ray 2049759640
use server spec in vmess 2016-07-25 16:48:09 +02:00
v2ray f871ca63e2
refine error message 2016-07-24 11:29:59 +02:00
v2ray 6f5b54747e
move encoding to vmess 2016-07-23 13:17:51 +02:00
v2ray e13ea7a54f
refine log in vmess 2016-07-12 00:12:35 +02:00
v2ray 71ce8f4416 enable kcp 2016-06-14 23:00:00 +02:00
v2ray 9b6dc6bcea massive refactoring for kcp 2016-06-14 22:54:08 +02:00
Shelikhoo e72a7cb96f
KCP: VMess will call setProxyCap to advertise KCP capacity on init 2016-06-12 13:57:08 +08:00
Shelikhoo 29cb680a4b
KCP: VMess will advertise its KCP capacity 2016-06-12 13:52:29 +08:00
Shelikhoo 6d6158b089
KCP: Vmess will pass its meta to Dial3 and ListenTCP6 2016-06-12 13:48:40 +08:00
v2ray e878973def retry if vmess conn fails 2016-06-06 00:10:51 +02:00
v2ray 50ca869929 organize handler metadata 2016-06-04 14:25:13 +02:00
v2ray a4d76dc394 support using specific address 2016-06-04 00:38:22 +02:00
v2ray 72fb5a256c send reuse option in header 2016-06-02 21:34:25 +02:00
v2ray dfe1ac1f2b Fix connection reuse 2016-06-02 02:20:53 +02:00
v2ray 43f6998d31 discard bad connections 2016-06-01 22:09:34 +02:00
v2ray 0fac2084c7 reusable connection 2016-05-31 00:21:41 +02:00
v2ray 634c4964cc Massive fixes 2016-05-12 17:20:07 -07:00
v2ray 8a07534586 remove unnecessary package alias 2016-05-07 20:26:29 +02:00
v2ray 8d1f06ebaf clean up on error 2016-05-07 00:19:06 +02:00
v2ray 58530e6920 force chunked stream 2016-04-28 21:14:00 +02:00
v2ray 42907ff2e8 Remove v2net.Packet 2016-04-26 00:13:26 +02:00
v2ray 7407c8d561 use stream instead of raw chan 2016-04-18 18:44:10 +02:00