1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-20 22:45:24 +00:00
Commit Graph

432 Commits

Author SHA1 Message Date
Darien Raymond
292d7cc353
massive refactoring for interoperability 2018-01-10 12:22:37 +01:00
Darien Raymond
7d11286d80
fix test 2017-12-19 23:54:21 +01:00
Darien Raymond
9e50a8daa6
fix test 2017-12-19 22:29:56 +01:00
Darien Raymond
f4c35db968
merge log into common log 2017-12-19 21:28:12 +01:00
sunshineplan
8ec1a98040
update http connect test 2017-12-03 10:45:26 +08:00
Darien Raymond
b0b65cb3fa
chacha20 confermance test 2017-11-30 20:59:12 +01:00
Darien Raymond
fefb5c8e01
fix aead udp 2017-11-26 21:51:30 +01:00
Darien Raymond
9ec3e40cee
more aead test cases 2017-11-26 16:56:09 +01:00
Darien Raymond
e8901368d7
update http connect test 2017-11-26 15:15:03 +01:00
Darien Raymond
9a2a19509c
more time for vmess none 2017-11-26 14:18:48 +01:00
Darien Raymond
c51251bbdb
fix broken test 2017-11-20 11:27:41 +01:00
Darien Raymond
b859bdf684
test case for http post and connect 2017-11-17 16:53:00 +01:00
Darien Raymond
a430e2065a
move port allocation to udp package 2017-11-14 23:45:07 +01:00
Darien Raymond
6e61538b36
close http server properly 2017-11-09 01:06:40 +01:00
Darien Raymond
f5d76c8eb0
fix lint warnings 2017-11-07 14:40:51 +01:00
Darien Raymond
100391fdb7 fix http basic auth. fix #659 2017-10-28 14:25:22 +02:00
Darien Raymond
6c9a60100d format code 2017-10-26 21:44:22 +02:00
Darien Raymond
1d3c8098e9 basic auth in http server 2017-10-26 21:44:13 +02:00
Darien Raymond
522ac2a2e9 remove old assertion lib 2017-10-24 17:17:10 +02:00
Darien Raymond
74cf833758 fully migrate to new assertion lib 2017-10-24 16:15:35 +02:00
Darien Raymond
afe190316d fail fast 2017-10-20 23:54:07 +02:00
Darien Raymond
1c29d1535c fix data race in tcp server 2017-10-20 23:36:14 +02:00
Darien Raymond
85a544d671 avoid unnecessary data race error in test cases 2017-10-20 23:30:36 +02:00
Darien Raymond
52ad41cda3 completely move away from net package 2017-08-29 14:32:54 +02:00
Darien Raymond
1c856a46ab step 1 to remove reference to net package 2017-08-29 12:56:57 +02:00
Darien Raymond
ade88fd5c7
reuse buffered writer in auth writer 2017-05-24 00:54:30 +02:00
Darien Raymond
087a91c46c
refactor test 2017-05-18 00:39:30 +02:00
Darien Raymond
1f1a5a78f0
cleanup 2017-05-04 13:17:07 +02:00
Darien Raymond
976395b4d6
cleanup 2017-05-03 11:33:42 +02:00
Darien Raymond
5b15d9aa92
cleanup 2017-05-03 11:14:05 +02:00
Darien Raymond
552aba4cee
reduce memory usage in test 2017-05-03 11:12:26 +02:00
Darien Raymond
0210a718f6
fix mux test 2017-05-03 10:53:35 +02:00
Darien Raymond
d5f931ae8b
fix udp handling in dokodemo and mux 2017-05-02 23:36:37 +02:00
Darien Raymond
d5ef224ac0
test case for mux udp 2017-05-02 22:56:19 +02:00
Darien Raymond
53f99ddde6
cleanup 2017-05-02 22:50:27 +02:00
Darien Raymond
74830b2583
test case for shadowsocks udp 2017-05-02 22:29:02 +02:00
Darien Raymond
96da76c5b0
test case for vmess udp 2017-05-02 00:39:10 +02:00
Darien Raymond
693702350d
refactor 2017-04-28 14:48:23 +02:00
Darien Raymond
7f1e9c85c9
more effecient auth reader and writer 2017-04-27 13:31:09 +02:00
Darien Raymond
fb3d2ca862
read content of the http response 2017-04-25 13:34:00 +02:00
Darien Raymond
00dd7d5cd2
test case for sni proxy 2017-04-25 01:40:34 +02:00
Darien Raymond
77521029b1
support for http and tls header sniffing 2017-04-25 00:19:22 +02:00
Darien Raymond
67dbb86b0e
cleanup 2017-04-21 13:26:54 +02:00
Darien Raymond
48de0180bf
more time for testing 2017-04-16 21:31:33 +02:00
Darien Raymond
6515cf12e5
log err on tcp test server 2017-04-16 21:31:28 +02:00
Darien Raymond
c55f737dd0
kill server faster 2017-04-16 20:55:48 +02:00
Darien Raymond
4f4ced6b02
fix vmess test 2017-04-12 12:06:36 +02:00
Darien Raymond
f2f1ad8d6b
fix test break 2017-04-11 16:58:51 +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
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