1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-23 02:26:49 -05:00
Commit Graph

257 Commits

Author SHA1 Message Date
Darien Raymond
67c7d6da4a
move uuid.Next to protocol 2018-04-14 21:14:35 +02:00
Darien Raymond
0caf2a004b
reduce memory usage of vmess internal objects 2018-04-14 15:05:49 +02:00
Darien Raymond
0e1d2a924b
support organization in TLS cert gen 2018-04-12 21:43:05 +02:00
Darien Raymond
9d7f43a299
fix lint errors 2018-04-11 16:15:29 +02:00
Darien Raymond
318a36fe58
automatic issuing certificates from provided CA 2018-04-10 12:42:02 +02:00
Darien Raymond
8ba8ce7d6a
more options for generating certificate 2018-04-09 23:17:55 +02:00
Darien Raymond
88133aa4a6
move cert generation code to common 2018-04-09 12:42:18 +02:00
Darien Raymond
61a1cce972
reduce size of TransferType 2018-04-04 21:46:36 +02:00
Darien Raymond
9f198d7e3d
fix lint errors 2018-04-04 00:29:30 +02:00
Darien Raymond
27ccc9d726
comments 2018-04-03 22:34:59 +02:00
Darien Raymond
81a147e540
Merge branch 'master' of https://github.com/v2ray/v2ray-core 2018-04-02 20:01:05 +02:00
Darien Raymond
08dab81eb2
migrate int to int32 2018-04-02 20:00:50 +02:00
wuxiangzhou2010
5a08411ee2 fix typo 2018-04-02 15:52:16 +08:00
wuxiangzhou2010
a58063e7ac fix typo, first sound of user is not a vowel, but the consonant /j/ 2018-04-02 15:17:36 +08:00
Darien Raymond
4de3f1adc1
change ReadFullFrom to take int32 size 2018-04-02 00:44:47 +02:00
Jinqiu Yu
2d5aa9514f consistent ServerSpec var 2018-03-23 16:18:57 +08:00
Darien Raymond
fbc025869b
fix lint errors 2018-03-08 21:21:50 +01:00
Darien Raymond
9100a78914
refactor 2018-03-04 21:06:04 +01:00
Darien Raymond
a52eb8f82b
allow underscore in domain name. fixes #917 2018-03-04 17:08:58 +01:00
Darien Raymond
a7d467992d
try parse domain address as IP. fixes #894. 2018-03-01 11:32:55 +01:00
Darien Raymond
a42b4b513e
test case for write address 2018-02-24 02:13:40 +01:00
Darien Raymond
af1abf687c
unify all address reading and writing 2018-02-23 23:42:01 +01:00
Darien Raymond
546c2fb226
settings for forcing secure encryption in vmess server 2018-02-23 12:13:02 +01:00
Darien Raymond
42d83a703e
fix transfer for mux 2018-02-09 22:29:30 +01:00
Darien Raymond
87ba7dd0d1
implement remove user in vmess 2018-02-09 11:32:12 +01:00
Darien Raymond
0e01e28278
use uuid as struct 2018-01-18 23:25:48 +01:00
Darien Raymond
292d7cc353
massive refactoring for interoperability 2018-01-10 12:22:37 +01:00
Darien Raymond
c5d356545e
comments for typed messages 2018-01-04 11:24:17 +01:00
Darien Raymond
1f226797bc
remove header operation to http protocol package 2017-12-18 20:59:43 +01:00
Darien Raymond
91ca88bcff
read original addr from x-forwarded-for header if present 2017-12-18 20:34:00 +01:00
Darien Raymond
a0b2c285b2
more test cases 2017-12-18 00:07:50 +01:00
Darien Raymond
d43a23aa96
move error generator to common 2017-12-03 01:04:57 +01:00
Darien Raymond
3214a5078c
customizable policy 2017-11-27 22:09:30 +01:00
Darien Raymond
08ece5d2bf default security to auto 2017-10-30 21:14:04 +01:00
Darien Raymond
6c9a60100d format code 2017-10-26 21:44:22 +02:00
Darien Raymond
74cf833758 fully migrate to new assertion lib 2017-10-24 16:15:35 +02:00
Darien Raymond
66b81a842d comments 2017-10-22 22:45:05 +02:00
Darien Raymond
26818a2602 fix domain length issue for all proxies 2017-10-22 20:17:06 +02:00
Darien Raymond
24089bfad0 remove duplicated address type def 2017-10-21 21:59:46 +02:00
Darien Raymond
f1a15e92f5 apply bitmask to other packages 2017-10-21 21:04:24 +02:00
Darien Raymond
bae5639dfd refactor 2017-10-07 03:17:55 +08:00
Darien Raymond
59094b4959 id cleanup 2017-09-27 21:09:47 +02:00
Darien Raymond
1c856a46ab step 1 to remove reference to net package 2017-08-29 12:56:57 +02:00
Darien Raymond
7392bb495b refactor 2017-08-24 22:56:31 +02:00
Darien Raymond
1c2b6d9536 refactor 2017-08-22 15:15:09 +02:00
Darien Raymond
06d4c37889
integrate mux in vmess server 2017-05-17 21:13:01 +02:00
Darien Raymond
7a4bab4940
support packet transfer type in mux 2017-05-02 22:23:07 +02:00
Darien Raymond
2ad0e359ef
refactor 2017-04-25 23:42:51 +02:00
Darien Raymond
96d544e047
refactor 2017-04-25 23:41:07 +02:00
Darien Raymond
0d92dce5eb
fix lock usage in server list 2017-04-25 23:40:25 +02:00
Darien Raymond
35248497d2
refactor error messages 2017-04-09 01:43:25 +02:00
Darien Raymond
ade8453c0a
completely remove connection reuse feature 2017-04-07 21:54:40 +02:00
Darien Raymond
2e5cb82790
update proto 2017-04-04 12:28:14 +02:00
Darien Raymond
2111c7e9ca
update proto def 2017-04-02 14:24:10 +02:00
Darien Raymond
29d614fda5
comments 2017-02-20 11:25:05 +01:00
Darien Raymond
3c032f0d53
update frame header masking strategy 2017-02-14 14:16:43 +01:00
Darien Raymond
76d2e5517b
comments 2017-02-13 22:39:55 +01:00
Darien Raymond
f2e149e1d0
remove unnecessary error 2017-02-12 13:25:30 +01:00
Darien Raymond
b5d14b6823
update java options 2017-02-03 23:15:10 +01:00
Darien Raymond
504ff4b0c4
remove mux settings from vmess 2017-02-03 00:14:43 +01:00
Darien Raymond
08b9778f05
refine user timeout 2017-01-31 17:46:39 +01:00
Darien Raymond
bd69763c63
session frame support 2017-01-30 22:02:28 +01:00
Darien Raymond
bfcc75f5d1
fix goroutine leak in dynamic port 2017-01-29 12:58:52 +01:00
Darien Raymond
ca721230e1
split listening settings from inbound proxies and apply context 2017-01-26 20:46:44 +01:00
Darien Raymond
8b00d6fc30
clean imports 2017-01-14 00:27:45 +01:00
Darien Raymond
d24fe9dbfb
separate network and transport protocol 2017-01-12 12:54:34 +01:00
Darien Raymond
f2e9d8a4e0
socks client 2017-01-08 01:06:35 +01:00
Darien Raymond
e678000c44
remove release() pattern 2017-01-04 12:52:24 +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
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
e66a787782
command protobuf 2016-12-23 00:16:37 +01:00
Darien Raymond
ceaf5d1178
fix lint warnings 2016-12-21 15:37:16 +01:00
Darien Raymond
99c897992d
partially revert compression stream. 2016-12-21 12:53:31 +01:00
Darien Raymond
3ec82f5d32
remove unuseful errors 2016-12-15 17:12:53 +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
3005526e32
Fix response option 2016-12-12 22:46:15 +01:00
Darien Raymond
d0b301594d
support security = "auto" 2016-12-11 14:58:53 +01:00
Darien Raymond
85163d4b47
more security types in vmess. 2016-12-07 17:32:40 +01:00
Darien Raymond
a11c225cbf
protobuf refresh 2016-12-07 14:33:31 +01:00
Darien Raymond
2e1c2b95e0
comments 2016-12-07 13:13:48 +01:00
Darien Raymond
2f550186ac
comments 2016-12-07 13:12:42 +01:00
Darien Raymond
1bc66604fa
headers proto 2016-12-07 13:08:15 +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
d00f8eef56
remove use of 'v' as a variable name 2016-11-27 17:01:44 +01:00
Darien Raymond
9d2407f4e4
fix test break 2016-11-02 16:41:02 +01:00
Darien Raymond
5f3f173b5e
shadowsocks client factory 2016-11-02 16:33:04 +01:00
Darien Raymond
e13c97d162
rename IP to CIDR in router 2016-10-18 16:42:22 +02:00
Darien Raymond
f049b3cc2b
comments 2016-10-18 00:12:09 +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
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
922e761bef
rename server spec user 2016-09-25 22:57:27 +02:00
Darien Raymond
7de7588ec2
proto for destination 2016-09-20 11:53:05 +02:00
Darien Raymond
d08cba000f
accounts in protobuf 2016-09-18 00:41:21 +02:00
Darien Raymond
bbca180dba
try protobuf 2016-08-25 21:55:49 +02:00
Darien Raymond
e6e0419958
format private annotation 2016-08-24 11:17:42 +02:00
v2ray
07a86f549b
unified import path 2016-08-20 20:55:45 +02:00
v2ray
a509252c24
prefer pointer 2016-07-25 21:55:05 +02:00
v2ray
a29a6a586d
one more test case 2016-07-25 21:43:57 +02:00
v2ray
c96533f278
test case for server picker 2016-07-25 21:43:31 +02:00
v2ray
f4aa50a160
test code for validation strategy 2016-07-25 21:31:16 +02:00
v2ray
2034d54bab
rename VMessAccount to vmess.Account 2016-07-25 17:36:24 +02:00
v2ray
2049759640
use server spec in vmess 2016-07-25 16:48:09 +02:00
v2ray
7dfa852677
server spec 2016-07-24 23:22:46 +02:00
v2ray
6f5b54747e
move encoding to vmess 2016-07-23 13:17:51 +02:00
v2ray
4aadaa7513
use local stack buffer 2016-07-16 13:22:18 +02:00
v2ray
8d3da0ed8e
remove unnecessary use of buffer 2016-07-16 12:11:45 +02:00
v2ray
17ea740e7e
remove unnecessary use of buffer 2016-07-16 10:45:32 +02:00
v2ray
b6a6c154a3
remove unnecessary use of buffer 2016-07-15 21:15:41 +02:00
v2ray
f5fd76ab85
var -> const 2016-07-11 15:54:19 +02:00
v2ray
98cc28a4c4
leverage dice.Roll 2016-06-29 23:53:50 +02:00
v2ray
7f661f5215
rename Error to Err 2016-06-27 08:53:35 +02:00
v2ray
67ac925ee7
refactor bytes functions 2016-06-26 22:34:48 +02:00
v2ray
0327113fb8
lock protected user validator 2016-06-22 15:21:40 +02:00
v2ray
098982d79a adjust error level 2016-06-11 22:54:23 +02:00
v2ray
ea8f7e7506 simpilify updateUserHash method 2016-06-04 19:59:23 +02:00
v2ray
a4d76dc394 support using specific address 2016-06-04 00:38:22 +02:00
v2ray
7a082ce63a update test 2016-06-02 21:48:49 +02:00
v2ray
72fb5a256c send reuse option in header 2016-06-02 21:34:25 +02:00
v2ray
0fac2084c7 reusable connection 2016-05-31 00:21:41 +02:00
v2ray
3f9cb1136a allow dynamic type of user accounts 2016-05-28 13:44:11 +02:00
v2ray
444808a51a Remove Intxx interfaces 2016-05-24 22:15:46 +02:00
v2ray
ab39750ceb Remove serial.Bytes 2016-05-24 22:09:22 +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
cfdda19834 Shorten BytesLiteral 2016-05-23 20:21:23 +02: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
73e84b1e06 account 2016-05-07 20:26:03 +02:00
v2ray
8b71647b9d comments 2016-04-28 22:31:33 +02:00
v2ray
ea6ccb88af actually wait for done 2016-04-28 21:13:51 +02:00
v2ray
a7f40da07a Fix unused variables 2016-04-26 00:46:04 +02:00
v2ray
7db14dad9b releasble user validator 2016-04-25 18:39:30 +02:00
v2ray
ff69ac7a0e Release all references 2016-03-11 23:51:58 +01:00
v2ray
81bc2ff91d test case for raw encoding 2016-02-27 22:37:14 +01:00
v2ray
547cc75651 Migrate VMessIn with protocol 2016-02-27 17:28:21 +01:00
v2ray
2144c47102 Migrate VMessOut into protocol 2016-02-27 16:41:21 +01:00
v2ray
cba26dabe8 more protocol implementation 2016-02-27 00:05:53 +01:00
v2ray
7b79a768ef protocol and api 2016-02-25 21:50:38 +01:00
v2ray
76ca9de25f refactor protocol 2016-02-25 21:50:10 +01:00
v2ray
59bc881d70 move timestamp generator to protocol 2016-02-25 17:14:49 +01:00
v2ray
791ac307a2 Move userset to protocol 2016-02-25 16:40:43 +01:00