1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-30 05:56:54 -05:00
Commit Graph

231 Commits

Author SHA1 Message Date
Darien Raymond
f2b1d5b60c
InboundHandler.Proxy() 2017-01-15 00:57:06 +01:00
Darien Raymond
8b00d6fc30
clean imports 2017-01-14 00:27:45 +01:00
Darien Raymond
b40a139310
simplify import 2017-01-13 23:42:39 +01:00
Darien Raymond
88b607d31b
rename NewDokodemoDoor 2017-01-13 23:38:04 +01:00
Darien Raymond
f7e1f00c88
rename dispatcher.Interface 2017-01-13 13:53:44 +01:00
Darien Raymond
17504d2aac
context'ize apps 2017-01-13 13:41:40 +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
b11d48d73f
simplify app design 2017-01-06 15:32:36 +01:00
Darien Raymond
a704d7b6b6
convert dokodemo scenario test to protobuf based 2017-01-05 11:20:04 +01:00
Darien Raymond
e678000c44
remove release() pattern 2017-01-04 12:52:24 +01:00
Darien Raymond
31d6e74482
remove rawtcp 2017-01-03 14:53:59 +01:00
Darien Raymond
c9a421fba6
remove generate package comments in .pb.go files. 2017-01-03 14:17:44 +01:00
Darien Raymond
20fe6d10a4
rollback gitignore change 2017-01-02 20:52:45 +01:00
Darien Raymond
52e1dfaeac
remove all generated files 2017-01-02 08:15:31 +01:00
Darien Raymond
f6aa7a0053
fix usage of ray stream. 2016-12-30 00:51:39 +01:00
Darien Raymond
690d71b16e
go style task engine 2016-12-29 22:17:12 +01:00
Darien Raymond
7bc98503a8
remove buggy CloseWrite() 2016-12-29 00:56:17 +01:00
Darien Raymond
7c751fcca0
common.Must 2016-12-28 00:53:29 +01:00
Darien Raymond
a4dfca0ef7
accommodate protobuf compiler change 2016-12-23 12:42:25 +01:00
Darien Raymond
7dc7937443
rename ws to websocket 2016-12-23 00:30:46 +01:00
Darien Raymond
eb782436b3
proto option for C# namespace 2016-12-23 00:24:28 +01:00
Darien Raymond
a24b11af27
fix lint warnings 2016-12-22 13:33:28 +01:00
Darien Raymond
c3942fd5f0
fix lint warnings 2016-12-21 15:48:39 +01:00
Darien Raymond
ceaf5d1178
fix lint warnings 2016-12-21 15:37:16 +01:00
Darien Raymond
095c29fa8c
decouple outbound handler manager 2016-12-16 23:02:11 +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
3b5a791ae8
simplify IPOrDomain construction 2016-12-14 23:04:02 +01:00
Darien Raymond
1948d0738f
refactor io package 2016-12-09 13:17:34 +01:00
Darien Raymond
7a80409e30
rename alloc to buf 2016-12-09 11:35:27 +01:00
Darien Raymond
cf3eb0e77d
refine buffer usage 2016-12-05 15:19:14 +01:00
Darien Raymond
efb24a4d21
rewrite error lib 2016-12-04 09:10:47 +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
c041740940
remove ErrMissingApplication 2016-11-21 21:13:01 +01:00
Darien Raymond
a14795e1e6
optimize udp hub 2016-11-18 21:30:03 +01:00
Darien Raymond
9471b5b066
refine dispatcher 2016-11-13 14:33:00 +01:00
Darien Raymond
5a311cbe08
json config parser 2016-10-17 14:35:13 +02:00
Darien Raymond
e33b7df34c
remove use of any 2016-10-16 14:22:21 +02:00
Darien Raymond
fc6a706166
refactor protos 2016-10-12 18:43:55 +02:00
Darien Raymond
1d13f47f9c
protobuf for stream settings 2016-10-02 23:43:58 +02:00
Darien Raymond
af6abfa3e3
update proto generated code 2016-09-26 15:14:39 +02:00
Darien Raymond
91f2a40dae
refine proto package names 2016-09-26 15:14:16 +02:00
Darien Raymond
5e9017720e
check nil 2016-09-24 23:36:26 +02:00
Darien Raymond
60f4292882
protobuf for dokodemo config 2016-09-22 16:49:20 +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
cdb4c56546
protobuf for net 2016-08-27 00:04:35 +02:00
Darien Raymond
bbca180dba
try protobuf 2016-08-25 21:55:49 +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
v2ray
99821dc2fb
change to wait group 2016-08-16 17:00:04 +02:00
v2ray
125ef8372c
actually follow redirect of UDP 2016-08-16 13:04:07 +02:00
v2ray
a5a70afdb8
remove port testing 2016-08-15 22:12:11 +02:00
v2ray
210a32dc12
support udp redirection 2016-08-15 17:44:46 +02:00
v2ray
cc92973daf
fix destination from addr 2016-08-14 23:20:23 +02:00
v2ray
a9d583b92f
connection session 2016-08-14 17:08:01 +02:00
v2ray
bcd27ba36f
option to allow passive connection 2016-08-12 23:37:21 +02:00
v2ray
54b791821e
remove unnecessary log 2016-07-03 09:40:22 +02:00
v2ray
7aa848dc02
remove unused import 2016-06-30 10:47:33 +02:00
v2ray
f050113925
fix #185 2016-06-30 00:08:20 +02:00
v2ray
7f661f5215
rename Error to Err 2016-06-27 08:53:35 +02:00
v2ray
9b6dc6bcea massive refactoring for kcp 2016-06-14 22:54:08 +02:00
v2ray
8a5f37dad7 check if address is set 2016-06-12 22:54:33 +02:00
v2ray
679d646571 only build for linux 2016-06-12 01:35:40 +02:00
v2ray
1c06fc216a allow redirection in dokodemo 2016-06-12 01:30:56 +02:00
v2ray
09f7e8b61e meaningful error message 2016-06-11 22:52:37 +02:00
v2ray
e732ba62a6 unified config loader 2016-06-10 22:26:39 +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
b47c1ca609 get rid of annoying firewall warnings 2016-05-29 16:37:52 +02:00
v2ray
fc63f0432c simplify testing 2016-05-24 21:55:46 +02:00
v2ray
3582b9d869 move net/testing/assert into assert 2016-05-24 15:29:08 +02:00
v2ray
0ea2678e72 Allow freedom to consume DNS settings 2016-05-22 22:30:21 +02:00
v2ray
ec610494ea Fix dokodemo for space 2016-05-22 19:32:37 +02:00
v2ray
3b545abe02 dns client implementation 2016-05-15 23:09:28 -07:00
v2ray
0bc846f016 Fix ending in vmess reader. 2016-05-05 00:24:18 +02:00
v2ray
7d43952690 tcphub now takes tls config as construtor parameter 2016-05-03 00:16:07 +02:00
v2ray
f594f5b606 simplify tcp connection 2016-05-02 23:53:16 +02:00
v2ray
94eab286c0 introduct Connection interface 2016-04-27 23:01:31 +02:00
v2ray
42907ff2e8 Remove v2net.Packet 2016-04-26 00:13:26 +02:00
v2ray
44bf412dfc release all adaptive readers and writers 2016-04-18 19:01:24 +02:00
v2ray
7407c8d561 use stream instead of raw chan 2016-04-18 18:44:10 +02:00
v2ray
903985eab5 close dokodemo after testing 2016-02-04 18:03:15 +01:00
v2ray
4f59d6847f fix test break 2016-02-04 13:27:35 +01:00
v2ray
3212337aa3 clean up test cases for dokodemo 2016-02-04 13:13:15 +01:00
v2ray
265c9e4abb fix race condition in dokodemo 2016-02-03 22:42:44 +01:00
v2ray
5e2583ec8d fix udp for dokodemo and shadowsocks 2016-02-01 21:34:07 +01:00
v2ray
d3ff2b3698 chunk stream in vmess 2016-02-01 12:22:29 +01:00
v2ray
2031c13a7f refactor app.Space 2016-01-31 17:01:28 +01:00
Darien Raymond
008c285324 move transport methods from net to io 2016-01-29 13:39:55 +00:00
v2ray
1f9bd5f692 rename TCPListener to TCPHub 2016-01-28 20:47:00 +01:00
Darien Raymond
4be27a6377 udp hub 2016-01-28 16:43:47 +00:00
Darien Raymond
925c06aeed rename transport/listener to hub 2016-01-28 16:08:32 +00:00
v2ray
8ae8b3c9f5 custom tcp listener and connection object 2016-01-27 22:11:31 +01:00
v2ray
9ae258de3d rename 2016-01-25 17:29:26 +01:00
v2ray
01ed2fa889 rename RegisterInboundConnectionConfig to RegisterInboundConfig 2016-01-25 17:19:09 +01:00
v2ray
9fe8178e4a rename InboundConnectionHandler to InboundHandler 2016-01-25 17:18:24 +01:00
v2ray
b0adb24003 handle inbound detour in vmess inbound 2016-01-19 23:41:40 +01:00
v2ray
eec0bb4db4 lazy evaluation of log fields 2016-01-18 12:24:33 +01:00
v2ray
dde47290d7 completely remove json folder in v2ray 2016-01-17 21:43:10 +01:00
v2ray
a403859105 move network to net 2016-01-15 14:34:33 +01:00
v2ray
5ceac7a6e2 move host from net/json to net 2016-01-15 13:17:04 +01:00
v2ray
e5fa96f814 massive refactoring against json config parsing 2016-01-15 12:43:06 +01:00
v2ray
5b1854f842 simplify connection handler registration 2016-01-06 16:23:54 +01:00
v2ray
4271e619fe fixes for mutex usage 2016-01-04 08:40:24 +01:00
v2ray
59a5f832f6 fixes for sync logic 2016-01-04 01:19:27 +01:00
v2ray
56c5302367 close method for point server 2016-01-04 00:33:25 +01:00
v2ray
201481a82c close method for inbound connection handler 2016-01-03 23:30:37 +01:00
v2ray
0780db7999 move connhandler to proxy 2016-01-02 23:32:18 +01:00
v2ray
54ce82fbfa Move unnecessary functions to internal 2016-01-02 23:08:36 +01:00
v2ray
1c4c9bffad Move proxy/common/config to proxy/internal/config 2016-01-02 17:40:51 +01:00
v2ray
3baa1f5bc5 interface for inbound connection handler manager 2016-01-01 23:44:11 +01:00
v2ray
6543facd51 converting from host to address directly 2015-12-17 00:58:45 +01:00
v2ray
34a0cb0b70 move port out of address 2015-12-16 23:53:38 +01:00
Darien Raymond
dd81fc6f6a hide space implementations from interfaces 2015-12-11 11:01:20 +00:00
Darien Raymond
ed09b4ea6a support domain as host in VMess outbound config. 2015-12-09 11:20:59 +00:00
v2ray
092217182a simplify config directory 2015-12-06 18:21:15 +01:00
v2ray
8bee0c4a7b cleanup shell/point/config 2015-12-06 16:41:41 +01:00
v2ray
15e6e6d80c introduce app.Space 2015-12-05 22:55:45 +01:00
Darien Raymond
ae056714db refactor common/net.Port 2015-12-02 20:44:01 +00:00
Darien Raymond
3c12469ae5 leverage serial.String in assert 2015-12-02 15:41:19 +00:00
Darien Raymond
0a2e4343bc massive refactoring against unit test lib 2015-12-02 14:27:18 +00:00
V2Ray
07582c5b60 Move point to shell 2015-11-29 14:45:32 +01:00
V2Ray
8597642002 UDP support for dokodemo door 2015-11-11 00:08:43 +01:00
V2Ray
1d4b541d2f Move mock config to app/config 2015-11-04 23:01:04 +01:00
V2Ray
1c6b66eacf Test case for dokodemo 2015-11-01 22:17:49 +01:00
V2Ray
2b45e63607 Move config cache to proxy/common 2015-10-30 22:42:24 +01:00
V2Ray
c56e17fff9 Dokodemo proxy 2015-10-30 15:56:46 +01:00