1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-20 14:35:23 +00:00
Commit Graph

432 Commits

Author SHA1 Message Date
Darien Raymond
75f5cb9afb
refactor log and error 2017-04-06 21:13:17 +02:00
Darien Raymond
619c7b9e39
update mux test case 2017-04-04 11:08:06 +02:00
Darien Raymond
27009786e9
output error 2017-04-04 00:17:29 +02:00
Darien Raymond
a49816ae46
more complicated mux test 2017-04-03 23:43:45 +02:00
Darien Raymond
16e4b5bda5
update test 2017-04-03 15:01:49 +02:00
Darien Raymond
dd01937b2f
test case for mux 2017-04-03 15:00:14 +02:00
Darien Raymond
73c4696e00
mux io 2017-04-02 09:48:30 +02:00
Darien Raymond
4b15ff5034
allow more time 2017-03-31 20:56:30 +02:00
Darien Raymond
00822812d4
more time 2017-03-31 17:24:39 +02:00
Darien Raymond
e128f4de42
remove unused code 2017-03-31 17:12:33 +02:00
Darien Raymond
fbd035247f
translate all remaining scenario tests into new format 2017-03-31 17:06:16 +02:00
Darien Raymond
fc1b37d809
test case for TLS over websocket 2017-02-08 17:57:21 +01:00
Darien Raymond
d2968e08ea
suspend ipv6 test 2017-02-08 00:45:29 +01:00
Darien Raymond
2a486c6b9e
ipv6 test 2017-02-08 00:26:40 +01:00
Darien Raymond
a0f2dabe5c
fix kcp test 2017-02-07 23:33:21 +01:00
Darien Raymond
d2538839af
fix byte assertion 2017-02-07 23:33:02 +01:00
Darien Raymond
14bbb58b12
fix bytes assertion 2017-02-06 23:25:52 +01:00
Darien Raymond
d27743b3b9
rewrite vmess test 2017-02-06 15:36:55 +01:00
Darien Raymond
f046f334cd
move common/log to app/log 2017-02-01 21:35:40 +01:00
Darien Raymond
ebf15aa6bb
fix test cases 2017-01-29 09:02:19 +01:00
Darien Raymond
e9600f0aa5
Fix test break 2017-01-28 23:35:02 +01:00
Darien Raymond
8231d2cdad
dns test 2017-01-27 21:19:46 +01:00
Darien Raymond
866a4d879c
fix udp handling 2017-01-27 14:10:36 +01:00
Darien Raymond
9462f710a5
able to redirect to another destination in freedom 2017-01-26 23:05:24 +01:00
Darien Raymond
ca721230e1
split listening settings from inbound proxies and apply context 2017-01-26 20:46:44 +01:00
Darien Raymond
9be43f4bf3
fix socks auth test 2017-01-17 10:22:30 +01:00
Darien Raymond
6eff0acc0b
rename transportsettings to transportconfig 2017-01-16 14:18:33 +01:00
Darien Raymond
d6f8528075
better port picker 2017-01-16 14:18:13 +01:00
Darien Raymond
8b00d6fc30
clean imports 2017-01-14 00:27:45 +01:00
Darien Raymond
5401cab7a5
fix import 2017-01-12 16:19:17 +01:00
Darien Raymond
d4c471c967
generate TLS certificate on the fly 2017-01-12 16:10:03 +01:00
Darien Raymond
267025fe66
proxy over kcp 2017-01-12 12:59:57 +01:00
Darien Raymond
5013d387a5
migrate router test to proto 2017-01-11 00:09:33 +01:00
Darien Raymond
8df8fad293
test case for proxy and blackhole 2017-01-10 14:25:31 +01:00
Darien Raymond
961b4bbb22
cleanup socks test 2017-01-08 22:32:41 +01:00
Darien Raymond
22bd34e63f
exclude vendor folder in coverage 2017-01-08 22:32:33 +01:00
Darien Raymond
5b89c6aada
socks4 tests 2017-01-08 10:23:55 +01:00
Darien Raymond
ed3033e785
socks submodule 2017-01-08 10:10:37 +01:00
Darien Raymond
a54f1da049
remove sock4 tests 2017-01-08 01:15:29 +01:00
Darien Raymond
f2e9d8a4e0
socks client 2017-01-08 01:06:35 +01:00
Darien Raymond
b00ee67369
refine socks udp handling 2017-01-07 21:57:24 +01:00
Darien Raymond
a620a7a4ad
test case for dokodemo udp 2017-01-05 11:41:51 +01:00
Darien Raymond
a704d7b6b6
convert dokodemo scenario test to protobuf based 2017-01-05 11:20:04 +01:00
Darien Raymond
0b22dc51e9
more test case 2017-01-04 15:42:06 +01:00
Darien Raymond
a44d556667
test case for tls connection 2016-12-30 23:12:00 +01:00
Darien Raymond
7bc98503a8
remove buggy CloseWrite() 2016-12-29 00:56:17 +01:00
Darien Raymond
310474d592
init tls test 2016-12-16 21:39:00 +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
a733367db4
update config file 2016-12-08 16:33:52 +01:00
Darien Raymond
7665dbff34
fix build break 2016-12-07 00:31:08 +01:00
Darien Raymond
b63293d950
remove unnecessary code 2016-12-06 13:42:21 +01:00
Darien Raymond
8c8f0a53fd
rewrite alloc.buffer 2016-12-06 11:03:42 +01:00
Darien Raymond
f95c322677
rename 'this' 2016-11-27 21:39:09 +01:00
Darien Raymond
77e1427845
remove unnecessary equals() 2016-11-27 09:19:52 +01:00
Darien Raymond
dc0e9aa9b3
output bytes instead of string 2016-11-22 00:25:00 +01:00
Darien Raymond
90504fc077
better error handling 2016-11-22 00:20:06 +01:00
Darien Raymond
85da0dae28
fix printf 2016-11-22 00:19:51 +01:00
Darien Raymond
a9946a2dc1
don't close writing in ss test 2016-11-22 00:00:49 +01:00
Darien Raymond
4d51990c66
fix coverage 2016-11-18 00:31:59 +01:00
Darien Raymond
7632618584
fix temp file generation 2016-11-18 00:01:37 +01:00
Darien Raymond
5dc05d6352
allow outbound to be proxied 2016-11-10 23:41:28 +01:00
Darien Raymond
3d2431d21c
update test data 2016-11-07 10:38:43 +01:00
Darien Raymond
13ab2622c5
shadowsocks test 2016-11-05 01:00:54 +01:00
Darien Raymond
0727aa0da9
simplify imports 2016-11-05 01:00:20 +01:00
Darien Raymond
fbb44e7e02
fix string checking logic 2016-10-24 16:59:43 +02:00
Darien Raymond
360c222c1c
try again to skip coverage on release 2016-10-24 16:45:02 +02:00
Darien Raymond
426a58707f
skip coverage for releases 2016-10-18 10:28:37 +02:00
Darien Raymond
c1f91567ad
refactor shell 2016-10-12 16:46:02 +02:00
Darien Raymond
22ef12a456
simplify router 2016-10-12 16:11:13 +02:00
Darien Raymond
67793eb3e0
fix config creator cache 2016-10-03 12:25:36 +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
Darien Raymond
bd4ca7b37f
remote protobuf code from coverage 2016-08-27 12:00:51 +02:00
Darien Raymond
fdeb8b4f89 update file paths 2016-08-20 21:03:50 +02:00
v2ray
07a86f549b
unified import path 2016-08-20 20:55:45 +02:00
v2ray
7a1bdfcf00
test case for passive connection 2016-08-20 09:12:44 +02:00
v2ray
a5a70afdb8
remove port testing 2016-08-15 22:12:11 +02:00
Shelikhoo
4b9e506dba
Added Testing Cert 2016-08-15 21:18:48 +08:00
v2ray
4419f1e3d6
introduce address family in v2net 2016-08-14 18:14:12 +02:00
v2ray
25b30704a4
update coverage 2016-08-09 22:13:16 +02:00
v2ray
0b2df7f658
typo 2016-08-09 01:16:45 +02:00
v2ray
27f3401848
update coverage profile location 2016-08-09 01:16:29 +02:00
v2ray
697d44abbd
bring back all coverage 2016-08-09 00:55:36 +02:00
v2ray
5cf36c4520
relocate point main 2016-07-27 21:55:01 +02:00
v2ray
7e499ee0b6
Cleanup 2016-07-17 12:18:34 +02:00
v2ray
6915095a0a
typed segments 2016-06-27 22:22:01 +02:00
v2ray
67ac925ee7
refactor bytes functions 2016-06-26 22:34:48 +02:00
v2ray
233b73d1db improve kcp performance 2016-06-17 17:38:42 +02:00
v2ray
8b3875050d http response in blackhole 2016-06-10 23:01:17 +02:00
v2ray
030fca10ba wait for test ready 2016-06-04 13:27:17 +02:00
v2ray
243e3ced89 update 2016-06-04 12:41:48 +02:00
v2ray
a4d76dc394 support using specific address 2016-06-04 00:38:22 +02:00
v2ray
2f47074c98 release buffer 2016-06-02 22:23:05 +02:00
v2ray
ff0cb89efa simplify connection reuse settings 2016-06-02 20:52:52 +02:00
v2ray
dfe1ac1f2b Fix connection reuse 2016-06-02 02:20:53 +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
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
47b2fafb32 Shorten StringLiteral 2016-05-23 20:23:40 +02:00
v2ray
18d75cb7b4 bug fixes to dns server 2016-05-16 11:53:18 -07:00
v2ray
0bc846f016 Fix ending in vmess reader. 2016-05-05 00:24:18 +02:00
v2ray
406360ed3e fix test servers 2016-05-02 23:02:40 +02:00
v2ray
9f50692d15 auto user creation for dynamic port 2016-02-25 14:38:41 +01:00
v2ray
87b15b2b20 Add ChaCha20 in Shadowsocks 2016-02-23 18:16:13 +01:00
v2ray
22e867cb85 check error for dial in socks test 2016-02-22 17:13:45 +01:00
v2ray
f7c6ecde90 test case for shadowsocks as inbound detour 2016-02-16 14:28:39 +01:00
v2ray
25dfa66822 typos 2016-02-05 22:04:43 +01:00
v2ray
bfe7d26a35 fix coverall script again 2016-02-04 17:34:26 +01:00
v2ray
e9573c120c fix output file name in coverall script 2016-02-04 17:26:46 +01:00
v2ray
a8726baa68 fix some bugs in coverall 2016-02-04 17:23:35 +01:00
v2ray
e8ed88cc99 update coverall script 2016-02-04 17:17:04 +01:00
v2ray
3e87c9efdd rm the right file 2016-02-04 17:05:50 +01:00
v2ray
e156f60de4 try codecov.io 2016-02-04 17:04:31 +01:00
v2ray
edd02f7d3c format code 2016-02-03 12:18:52 +01:00
Darien Raymond
f19da2058a actually close tcp and udp servers 2016-02-02 15:03:56 +00:00
Darien Raymond
0d77139c24 fix udp issue in socks proxy 2016-02-01 15:36:33 +00:00
Darien Raymond
58c84bea21 check error in router_test 2016-02-01 11:38:54 +00:00
Darien Raymond
008c285324 move transport methods from net to io 2016-01-29 13:39:55 +00:00
Darien Raymond
30f131b9ee test case for shadowsocks tcp 2016-01-28 12:40:00 +00:00
Darien Raymond
befd24c83e assert error is nil 2016-01-26 10:27:50 +00:00
v2ray
96f582da98 test case for http proxy 2016-01-24 21:48:38 +01:00
v2ray
c1831551c1 update dynamic test case 2016-01-23 21:51:14 +01:00
v2ray
24b300d75d remove fuzzing lib 2016-01-22 17:55:10 +01:00
v2ray
98d99a1fd0 dynamic allocation of inbounds 2016-01-22 16:25:01 +01:00
Darien Raymond
d8c6102638 test case for on demand detour 2016-01-21 16:22:56 +00: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
Darien Raymond
ae8121e633 remove json packages in app folder 2016-01-17 15:20:49 +00:00
v2ray
8c08248418 enable json test in travis 2016-01-15 13:14:08 +01:00
v2ray
e5fa96f814 massive refactoring against json config parsing 2016-01-15 12:43:06 +01:00
v2ray
4ca43c3121 alternative user ids 2016-01-09 00:10:57 +01:00
v2ray
56c5302367 close method for point server 2016-01-04 00:33:25 +01:00
v2ray
34a0cb0b70 move port out of address 2015-12-16 23:53:38 +01:00
v2ray
4be7cd7908 Fix test flakiness 2015-12-16 16:42:54 +01:00
v2ray
e12e5a0ecb barely working http proxy 2015-12-15 16:00:47 +01:00
v2ray
fed5697dc3 SwitchAccount command 2015-12-12 13:11:49 +01:00
v2ray
aab774e78f simplify router config 2015-12-07 22:47:47 +01:00
Darien Raymond
a7c2425c9c Merge branch 'master' of https://github.com/v2ray/v2ray-core 2015-12-07 19:32:48 +00:00
Darien Raymond
af8412175e re-org vmess content 2015-12-07 19:32:38 +00:00
v2ray
a1ba0eb413 update test file to not generate temp files in source folder 2015-12-07 13:09:38 +01:00
V2 Ray
0a4d9fb037 Delete error.log 2015-12-07 12:34:57 +01:00
Darien Raymond
08d4b7793d update whitelist 2015-12-07 11:34:23 +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
e1c58fae2b dns cache 2015-12-06 11:00:10 +01:00
v2ray
b083773411 test case for log 2015-12-05 23:47:23 +01:00
v2ray
db7d48e48f Refine log settings 2015-12-05 21:10:14 +01:00
Darien Raymond
5ec30c3ad0 more test cases 2015-12-04 16:32:42 +00:00
Darien Raymond
30be218c62 fix test break 2015-12-04 16:01:39 +00:00
Darien Raymond
3327cb0b80 format code 2015-12-04 15:49:45 +00:00
Darien Raymond
1a25931944 advanced end 2 end test 2015-12-04 15:49:10 +00:00
v2ray
f69b83f3e6 add interface for socks config 2015-12-03 22:41:06 +01:00
v2ray
e42510aca5 more literals 2015-12-03 16:57:23 +01:00
v2ray
88d75fd1c0 doc 2015-12-03 15:18:43 +01:00
Darien Raymond
9b830fc432 update end 2 end test 2015-12-02 23:41:34 +00:00
Darien Raymond
ae056714db refactor common/net.Port 2015-12-02 20:44:01 +00:00
Darien Raymond
fa7c1069bc more update 2015-12-02 16:27:55 +00:00
Darien Raymond
3c12469ae5 leverage serial.String in assert 2015-12-02 15:41:19 +00:00
Darien Raymond
091f047ebb add assertions for net utilities 2015-12-02 15:19:39 +00:00
Darien Raymond
0a2e4343bc massive refactoring against unit test lib 2015-12-02 14:27:18 +00:00
V2Ray
cee85bdf26 Add Port as a type 2015-12-02 12:47:54 +01:00
V2Ray
07582c5b60 Move point to shell 2015-11-29 14:45:32 +01:00
V2Ray
bd48556b98 Smarter reader generator 2015-11-10 12:13:01 +01:00
V2Ray
a3a51b7b30 Update coverall 2015-11-06 13:56:33 +01:00
V2Ray
5347673e00 test case for socks udp 2015-11-06 13:45:41 +01:00
V2Ray
6ce1539bca Update coverall script 2015-11-06 13:28:34 +01:00
V2Ray
e60fcba4b3 Test cases for Socks end 2 end. 2015-11-06 13:08:20 +01:00
V2Ray
fdc72ed8c9 Move mocked userset to vmess/protocol/user 2015-11-04 23:04:00 +01:00
V2Ray
1d4b541d2f Move mock config to app/config 2015-11-04 23:01:04 +01:00
V2Ray
192960b711 Move mocked connection handlers to proxy/testing/mocks 2015-11-01 21:15:08 +01:00
V2Ray
3c43268898 inbound detour 2015-10-31 22:22:43 +01:00
V2Ray
1c09b70931 format code 2015-10-31 14:08:13 +01:00
V2Ray
b44098d752 Introduce user level 2015-10-31 00:38:31 +01:00
V2Ray
d585ec0593 Move config to app/point 2015-10-30 22:50:45 +01:00
V2Ray
f93b29993b Move connection handler interfaces to proxy/common/connhandler 2015-10-30 00:11:29 +01:00
V2Ray
6e8425b23a Remove config type in connection settings() 2015-10-29 23:35:54 +01:00
Claire Raymond
771d0225c7 Refactor vmess config 2015-10-16 10:03:22 +00:00
V2Ray
890d185979 Cleanup root directory 2015-10-14 14:51:19 +02:00
V2Ray
dc7d4a2309 Test case for wrong user account in socks5 2015-10-13 21:29:27 +02:00
V2Ray
1d40220d31 Remove error defination 2015-10-13 13:55:06 +02:00
V2Ray
b115df56c0 fix test break 2015-10-09 17:58:35 +02:00
V2Ray
9ee73c4f6b Maintain an internal buffer pool to accelerate allocation 2015-10-08 14:46:18 +02:00
V2Ray
cd81e5531b reuse outbound connection handler 2015-10-07 00:30:44 +02:00
V2Ray
72b4eeba8b Simpilify configuration files 2015-10-06 23:11:08 +02:00
V2Ray
afb5448ffe test case for UDP in freedom 2015-10-04 20:22:52 +02:00
V2Ray
5c4b149d48 UDP support 2015-10-03 11:34:01 +02:00
V2Ray
e70ff6547c Test root package 2015-10-01 16:20:16 +02:00
V2Ray
b33995399b Remove uniq -u 2015-09-26 23:38:57 +02:00
V2Ray
c598e229a9 fix for travis env 2015-09-26 23:36:25 +02:00
V2Ray
184560883f fully automated coverall script 2015-09-26 23:33:08 +02:00
V2Ray
8c682d32e6 coverall 2015-09-25 00:18:26 +02:00
V2Ray
08f85fc9b7 Unify error checking by introducing error codes 2015-09-25 00:17:44 +02:00
V2Ray
1995594b98 Error code check 2015-09-24 22:24:00 +02:00
V2Ray
e83eec9479 Print out the correct point of error 2015-09-24 21:46:25 +02:00
V2Ray
9e4902d17a typo 2015-09-24 18:04:42 +02:00
V2Ray
685c0f3c05 Update coverall script 2015-09-24 18:02:10 +02:00
V2Ray
33768175c1 Update travis 2015-09-23 20:18:23 +02:00
V2Ray
ec83281d18 Parse config just once 2015-09-22 18:11:55 +02:00
V2Ray
4874cd54a4 Introduce Packet to unify TCP and UDP communication 2015-09-22 14:45:03 +02:00
V2Ray
cb16047cf0 prefer interface over struct 2015-09-20 18:22:29 +02:00
V2Ray
b319704282 Add network type to destination to be ready for UDP connection 2015-09-20 16:03:12 +02:00
V2Ray
5d5102de4c code cleanup 2015-09-20 13:08:05 +02:00
V2Ray
521db6bdb4 update coverall script 2015-09-20 11:47:39 +02:00
V2Ray
07d4495b27 test cases for json config 2015-09-20 11:45:40 +02:00
V2Ray
d03cac9670 Orgnize coverage info 2015-09-20 00:43:42 +02:00
V2Ray
b40be74b86 Fix test break 2015-09-20 00:11:14 +02:00
V2Ray
075753c030 Massive refactoring for better code structure 2015-09-19 23:54:36 +02:00
V2Ray
86315633e1 update coverall script 2015-09-19 22:06:32 +02:00
V2Ray
2c0096c20a Update coverall script 2015-09-19 21:58:52 +02:00
V2Ray
76200e2764 test case for net.vmess 2015-09-19 21:56:09 +02:00
V2Ray
46abe9de5e Update coverall script 2015-09-19 19:21:17 +02:00
V2Ray
3734a25cf2 Update coverall script 2015-09-19 19:06:41 +02:00
V2Ray
5b63edbdbc Update coverall script to get better coverage info 2015-09-19 18:55:43 +02:00
V2Ray
8be5d695c8 test case for socks.net 2015-09-19 15:35:20 +02:00
V2Ray
26c040537f test cases for rand 2015-09-17 00:15:06 +02:00
V2Ray
228e1eeabe re-enable vmess test 2015-09-16 21:13:13 +02:00
V2Ray
4aad94c669 test cases for socks io 2015-09-16 17:29:00 +02:00
V2Ray
06e19d17e5 Update IV for instruction encryption 2015-09-15 01:32:55 +02:00
V2Ray
5af327f00b fix test break 2015-09-14 19:03:31 +02:00
V2Ray
51670b223d Remove prefix 'V' in struct names 2015-09-12 22:11:54 +02:00
V2Ray
8a6b07ba61 fix build break 2015-09-11 14:15:06 +02:00
V2Ray
262eb4f985 sample socks proxy 2015-09-11 14:12:09 +02:00
V2Ray
f1292f6035 format code 2015-09-09 15:26:11 +02:00
V2Ray
5559c1ca60 fix build break 2015-09-09 15:19:46 +02:00
V2Ray
c20a7958c2 simplify test code 2015-09-09 15:18:29 +02:00
V2Ray
08a96e5fe1 Unit test library to simplify test writing 2015-09-09 14:51:26 +02:00
V2Ray
f8e44a70cf typo 2015-09-07 21:24:46 +02:00
V2Ray
386c29644e set executable for coverall 2015-09-07 21:23:48 +02:00
V2Ray
7f54ba8f6b coverall script 2015-09-07 21:22:43 +02:00