1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 17:46:58 -05:00
Commit Graph

287 Commits

Author SHA1 Message Date
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
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
76da31c755
Fix compatibility with Actinium 2016-12-13 10:45:21 +01:00
Darien Raymond
948c86e5c5
remove unnecessary function call 2016-12-13 07:03:48 +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
85163d4b47
more security types in vmess. 2016-12-07 17:32:40 +01:00
Darien Raymond
a92df58017
refactor auth reader 2016-12-07 13:00:32 +01:00
Darien Raymond
78b726d4e8
comments 2016-12-07 12:32:03 +01:00
Darien Raymond
919b749578
aead reader and writer 2016-12-07 00:31:15 +01:00
Darien Raymond
8c8f0a53fd
rewrite alloc.buffer 2016-12-06 11:03:42 +01:00
Darien Raymond
efb24a4d21
rewrite error lib 2016-12-04 09:10:47 +01:00
Darien Raymond
f69f551c99
reduce vmess log 2016-12-01 00:40:20 +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
9471b5b066
refine dispatcher 2016-11-13 14:33:00 +01:00
Darien Raymond
369256c82f
include user when dispatch requests in VMess. 2016-10-24 16:57:16 +02:00
Darien Raymond
7a14f646ee
gofmt 2016-10-17 14:44:06 +02: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
24e575f2cd
protobuf for vmess 2016-09-24 23:11:58 +02:00
Darien Raymond
8b37edd02d
format log 2016-09-18 00:46:16 +02:00
Darien Raymond
d08cba000f
accounts in protobuf 2016-09-18 00:41:21 +02:00
v2ray
07a86f549b
unified import path 2016-08-20 20:55:45 +02:00
v2ray
39737f6fc1
merge bad configuration error 2016-08-18 08:21:20 +02:00
v2ray
89a876a6d4
rename proxy/internal to proxy/registry 2016-08-17 23:30:15 +02:00
Shelikhoo
7259b3363b
Merge branch 'master' into websockwt 2016-08-15 10:17:22 +08: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
Shelikhoo
508f79f95f
Advertise WS cap 2016-08-13 21:33:34 +08:00
v2ray
bcd27ba36f
option to allow passive connection 2016-08-12 23:37:21 +02:00
v2ray
2034d54bab
rename VMessAccount to vmess.Account 2016-07-25 17:36:24 +02:00
v2ray
96ec5cfc58
Fix VMess inbound for empty response 2016-07-24 09:59:52 +02:00
v2ray
6f5b54747e
move encoding to vmess 2016-07-23 13:17:51 +02:00
v2ray
7f661f5215
rename Error to Err 2016-06-27 08:53:35 +02:00
v2ray
560b429902
Update log 2016-06-19 02:02:38 +02:00
v2ray
20f046af0b fix a race condition issue in VMess inbound 2016-06-18 17:01:48 +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
09f7e8b61e meaningful error message 2016-06-11 22:52:37 +02:00
v2ray
d9b59133cc Properly close inbound when no payload 2016-06-11 01:37:33 +02:00
v2ray
e732ba62a6 unified config loader 2016-06-10 22:26:39 +02:00
v2ray
83c7e8491c fix conn reuse 2016-06-06 01:20:20 +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
9713bf9adf completely fix detour config 2016-06-01 22:45:12 +02:00
v2ray
957eaf38db Assign detour config 2016-06-01 22:33:45 +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
b47c1ca609 get rid of annoying firewall warnings 2016-05-29 16:37:52 +02:00
v2ray
3f9cb1136a allow dynamic type of user accounts 2016-05-28 13:44:11 +02:00
v2ray
c75d840706 Remove serial.String 2016-05-24 22:41:51 +02:00
v2ray
fc63f0432c simplify testing 2016-05-24 21:55:46 +02:00
v2ray
47b2fafb32 Shorten StringLiteral 2016-05-23 20:23:40 +02:00
v2ray
634c4964cc Massive fixes 2016-05-12 17:20:07 -07:00
v2ray
ff210aa67f agressively close stream 2016-05-09 08:23:31 -07:00
v2ray
b5f43031d4 refactor alter id generation 2016-05-07 21:07:46 +02:00
v2ray
8a07534586 remove unnecessary package alias 2016-05-07 20:26:29 +02:00
v2ray
67db5830be agreesively close rays 2016-05-07 09:53:15 +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
36bf645199 Fix a dead lock issue in VMess 2016-05-02 14:03:31 +02:00
v2ray
58530e6920 force chunked stream 2016-04-28 21:14:00 +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
7db14dad9b releasble user validator 2016-04-25 18:39:30 +02:00
v2ray
6486891b18 comments 2016-04-24 22:54:41 +02:00
v2ray
9e1d0d8c5e update detour config settings 2016-04-24 22:40:43 +02:00
v2ray
7407c8d561 use stream instead of raw chan 2016-04-18 18:44:10 +02:00
v2ray
70f803173a simplify reader/writer interface 2016-04-12 21:43:13 +02:00
v2ray
e8023f0d92 releasable writer 2016-03-24 23:36:18 +08:00
v2ray
77ecd1649b fix test break 2016-03-13 11:34:09 +01:00
v2ray
ff69ac7a0e Release all references 2016-03-11 23:51:58 +01:00
v2ray
3ec40eedc1 remove old vmess request 2016-02-27 22:37:22 +01:00
v2ray
547cc75651 Migrate VMessIn with protocol 2016-02-27 17:28:21 +01:00
v2ray
76ca9de25f refactor protocol 2016-02-25 21:50:10 +01:00
v2ray
791ac307a2 Move userset to protocol 2016-02-25 16:40:43 +01:00
v2ray
9f50692d15 auto user creation for dynamic port 2016-02-25 14:38:41 +01:00
v2ray
471b655934 log whole destination in vmess out 2016-02-22 17:10:11 +01:00
v2ray
c6df0fde19 clean up variable initialization 2016-02-03 21:36:52 +01:00
v2ray
2147ba5ab3 move fundamental interfaces from vmess to common 2016-02-03 11:58:42 +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
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
9f6822411b late set of cmd id 2016-01-25 00:43:55 +01:00
v2ray
42b4764700 revert lock change 2016-01-22 17:56:19 +01:00
v2ray
790d37bf90 checksum for response command 2016-01-22 17:56:03 +01:00
v2ray
795681c288 fix locking in vmess inbound 2016-01-22 16:50:31 +01:00
v2ray
d8f29f4b5e log for detour picking 2016-01-22 16:48:17 +01:00
Darien Raymond
d623b1809d minor fix 2016-01-21 16:29:18 +00:00
Darien Raymond
d8c6102638 test case for on demand detour 2016-01-21 16:22:56 +00:00
v2ray
f60747c455 2nd step to reduce number of authentication bits 2016-01-21 10:08:00 +01:00
v2ray
baaef1dad5 handle switch account command in vmess out 2016-01-20 17:31:43 +01:00
v2ray
b0adb24003 handle inbound detour in vmess inbound 2016-01-19 23:41:40 +01:00
v2ray
6eff759b05 more fields in switch account command 2016-01-19 01:21:07 +01:00
v2ray
4dd771170c lazy evaluation of access log 2016-01-18 12:31:27 +01:00
v2ray
eec0bb4db4 lazy evaluation of log fields 2016-01-18 12:24:33 +01:00
v2ray
e5fa96f814 massive refactoring against json config parsing 2016-01-15 12:43:06 +01:00
Darien Raymond
bed5235772 remove proxy/vmess/protocol/user 2016-01-12 10:52:40 +00:00
v2ray
8daea1dc06 close inbound ray when there is an error 2016-01-11 01:01:52 +01:00
v2ray
4ca43c3121 alternative user ids 2016-01-09 00:10:57 +01:00
v2ray
5b1854f842 simplify connection handler registration 2016-01-06 16:23:54 +01:00
Darien Raymond
27b521d2aa fix buffer usage in VMess 2016-01-04 12:01:32 +00: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
Darien Raymond
dd81fc6f6a hide space implementations from interfaces 2015-12-11 11:01:20 +00:00
Darien Raymond
af8412175e re-org vmess content 2015-12-07 19:32:38 +00:00
v2ray
15e6e6d80c introduce app.Space 2015-12-05 22:55:45 +01:00
Darien Raymond
6bb53251e9 handle response command in vmess outbound. 2015-12-04 11:42:56 +00:00
Darien Raymond
11220a4952 split vmess inbound and outbound 2015-12-04 11:07:32 +00:00