1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-07-05 13:35:23 +00:00
Commit Graph

661 Commits

Author SHA1 Message Date
v2ray
15e6e6d80c introduce app.Space 2015-12-05 22:55:45 +01:00
v2ray
32c3565681 typo 2015-12-05 01:49:03 +01:00
v2ray
06f9b65ec4 receiver manager 2015-12-05 01:16:21 +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
Darien Raymond
5003afc85c test case for vmess outbound config 2015-12-02 21:30:15 +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
36848af749 leveral serial.String in code 2015-12-02 15:49:34 +00:00
Darien Raymond
3c12469ae5 leverage serial.String in assert 2015-12-02 15:41:19 +00:00
Darien Raymond
7960b97c8e fix test break 2015-12-02 15:26:11 +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
Darien Raymond
cab29a7bc9 breaking change: update the way in vmess response validation 2015-12-01 13:54:49 +00:00
V2Ray
07582c5b60 Move point to shell 2015-11-29 14:45:32 +01:00
V2Ray
10b5f5cc5e Rename vmess in & out file 2015-11-28 20:50:44 +01:00
V2Ray
c2904383b3 FIx a bug that mutex is passed by value. 2015-11-28 20:29:42 +01:00
V2Ray
3f0ada1bc8 add response op in vmess protocol 2015-11-28 10:11:56 +01:00
V2Ray
9a88e8696a format code 2015-11-27 21:57:15 +01:00
V2Ray
1b8e100879 validation reader for vmess 2015-11-15 21:54:28 +01:00
V2Ray
3a6844f482 reduce number of iterations of vmess fuzzing test. 2015-11-10 12:25:26 +01:00
V2Ray
bd48556b98 Smarter reader generator 2015-11-10 12:13:01 +01:00
V2Ray
2a6f4740c1 fuzzing test for vmess protocol 2015-11-10 00:05:25 +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
31fb65b3d8 Remove VMess UDP 2015-11-04 21:52:48 +01:00
V2Ray
a46db069fb Refactor AES encryption/decryption 2015-11-03 21:26:16 +01:00
V2Ray
f2cf4a1f89 Test case for too-short request 2015-11-02 23:48:47 +01:00
V2Ray
03b8c8f9e8 Port picker 2015-11-01 21:32:08 +01:00
V2Ray
192960b711 Move mocked connection handlers to proxy/testing/mocks 2015-11-01 21:15:08 +01:00
V2Ray
1c09b70931 format code 2015-10-31 14:08:13 +01:00
V2Ray
46c0d457d9 User settings for trusted user 2015-10-31 09:39:45 +01:00
V2Ray
b44098d752 Introduce user level 2015-10-31 00:38:31 +01:00
V2Ray
2b45e63607 Move config cache to proxy/common 2015-10-30 22:42:24 +01:00
V2Ray
f93b29993b Move connection handler interfaces to proxy/common/connhandler 2015-10-30 00:11:29 +01:00
V2Ray
361a22d74d Move proxy errors to proxy/common/errors 2015-10-29 23:59:57 +01:00
V2Ray
fdb41bbd50 Remove call to UTC() which is not necessary. 2015-10-29 12:04:14 +01:00
V2Ray
08328d23fa beginning of http proxy 2015-10-28 12:13:27 +01:00
V2Ray
294376edc0 Remove unused const 2015-10-25 21:44:08 +01:00
V2Ray
58dcfd5e84 Reduce timeout for reading VMess header 2015-10-21 23:10:03 +02:00
V2Ray
f474fc32a7 Remove all []byte allocation 2015-10-21 22:38:53 +02:00
V2Ray
96c5d32d59 Remove []byte allocation in vmess 2015-10-21 22:28:26 +02:00
V2Ray
2c710d6b1c Protect from DoS attack 2015-10-21 21:53:55 +02:00
V2Ray
a81327c5b9 Fix zero users bug 2015-10-16 14:15:28 +02:00
Claire Raymond
771d0225c7 Refactor vmess config 2015-10-16 10:03:22 +00:00
Claire Raymond
f10f08c87d add retry on socks and vmess inbound 2015-10-15 11:42:43 +00:00
V2Ray
4bc91b0215 Fix test 2015-10-14 14:56:11 +02:00
V2Ray
890d185979 Cleanup root directory 2015-10-14 14:51:19 +02:00
V2Ray
efb881d73c Remove log level detection during runtime 2015-10-13 18:27:29 +02:00
V2Ray
1d40220d31 Remove error defination 2015-10-13 13:55:06 +02:00
V2Ray
9e078d533d continue to work even if failed to accept connection 2015-10-11 22:46:56 +02:00
V2Ray
37112f737e Log UDP access as well 2015-10-11 17:03:52 +02:00
V2Ray
d4f3fc0c0f More accurate hash generation 2015-10-10 21:43:40 +02:00
V2Ray
ab151cc053 Don't generate duplicated hash 2015-10-10 21:29:26 +02:00
V2Ray
a77f62428a Use Buffer as a writer 2015-10-10 20:52:13 +02:00
V2Ray
bcffdf0da5 Simplify code 2015-10-10 16:54:15 +02:00
V2Ray
083b1d4736 Simplify code 2015-10-10 16:50:19 +02:00
V2Ray
055c8f1833 Move goroutine one level above. 2015-10-10 01:25:12 +02:00
V2Ray
03de798a58 Update access log in vmess in 2015-10-09 17:49:59 +02:00
V2Ray
fc80d5e279 Access log 2015-10-09 17:43:27 +02:00
V2Ray
746580d566 Use buffer in socks proxy 2015-10-08 23:06:12 +02:00
V2Ray
3cb1951dfc Use []byte in pool instead of buffer 2015-10-08 17:41:38 +02:00
V2Ray
9ee73c4f6b Maintain an internal buffer pool to accelerate allocation 2015-10-08 14:46:18 +02:00
V2Ray
71df5103cd Simplify code 2015-10-08 01:39:50 +02:00
V2Ray
3aca3492eb Increase buffer size in VMessIn 2015-10-08 01:30:43 +02:00
V2Ray
e7daa4c21c Add size parameter to transport.ReadFrom 2015-10-07 21:17:11 +02:00
V2Ray
3ba9ee73b9 Increase reading timeout in favor of long connection 2015-10-07 15:24:34 +02:00
V2Ray
d2e69ed6f8 Remove unnecessary slicing 2015-10-07 14:58:31 +02:00
V2Ray
3d1a6322bd Remove unnecessary copy in VMess protocol 2015-10-07 14:50:17 +02:00
V2Ray
b126c5ce2a Simplify vmess response 2015-10-07 13:48:01 +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
78daf8a879 format code 2015-10-06 17:24:57 +02:00
V2Ray
8334d5177e Debug info 2015-10-06 16:44:19 +02:00
V2Ray
be59463fd0 Actually use UDP relay 2015-10-06 16:43:50 +02:00
V2Ray
c61ddc7028 build break 2015-10-06 09:35:02 +02:00
V2Ray
aa4d897a21 Leverage v2net functions 2015-10-06 09:33:46 +02:00
V2Ray
8461cde710 Remove unnecessary debug info 2015-10-05 16:57:58 +02:00
V2Ray
5c4b149d48 UDP support 2015-10-03 11:34:01 +02:00
V2Ray
cd42e5551c Remove VMess UDP 2015-10-02 21:55:37 +02:00
V2Ray
820da78f92 UDP handler in VMess in. 2015-10-02 16:08:01 +02:00
V2Ray
6f433f5206 Remove token field in VMess UDP 2015-10-02 15:41:09 +02:00
V2Ray
76563cb7c7 simplify udp handling 2015-10-02 15:32:26 +02:00
V2Ray
05b83508f8 Implementation of VMess UDP message 2015-09-28 17:13:50 +02:00
V2Ray
8f0cb97e89 Refactor timed queue 2015-09-28 01:11:40 +02:00
V2Ray
9c45cb031a Remove magic number 2015-09-26 22:32:45 +02:00
V2Ray
fc14b9346c Remove keepalive settings 2015-09-24 15:10:02 +02:00
V2Ray
51c2a2b880 build break 2015-09-24 14:55:21 +02:00
V2Ray
a78dbe7133 Close connection more aggressively. 2015-09-24 14:51:19 +02:00
V2Ray
c138004bf9 First attempt to regulate errors. 2015-09-24 12:54:10 +02:00
V2Ray
6ecb18268e Use array instead of slice 2015-09-23 22:17:25 +02:00
V2Ray
8ce7ee1cda Initial version of TimedStringMap 2015-09-23 18:19:05 +02:00
V2Ray
bb442b4f83 Fix usage of Mutex 2015-09-23 17:13:50 +02:00
V2Ray
3fbae6795a Switch to Mutex for better readability 2015-09-23 14:14:53 +02:00
V2Ray
c59dcc309c Update VMess protocol to remove unnecessary data 2015-09-23 00:29:10 +02:00
V2Ray
ec83281d18 Parse config just once 2015-09-22 18:11:55 +02:00
V2Ray
787df1ab9b Reduce memory allocation in vmess. 2015-09-22 14:50:34 +02:00
V2Ray
4874cd54a4 Introduce Packet to unify TCP and UDP communication 2015-09-22 14:45:03 +02:00
V2Ray
bd35793cf8 Don't random pick if there is only one vnext or user 2015-09-22 00:28:52 +02:00
V2Ray
26b6c06c9e format code 2015-09-21 19:57:30 +02:00
V2Ray
0ce10e1f88 More docs 2015-09-21 19:56:58 +02:00
V2Ray
79ffd818b2 Add network field in config file. 2015-09-21 17:52:58 +02:00
V2Ray
e2bd6abb04 format code 2015-09-21 17:48:08 +02:00
V2Ray
3e2cd914b3 Prevent DoS attack 2015-09-21 17:37:06 +02:00
V2Ray
a51d64a102 More information when vmess auth fails. 2015-09-21 17:28:48 +02:00
V2Ray
cb16047cf0 prefer interface over struct 2015-09-20 18:22:29 +02:00
V2Ray
823cbf1509 Split Address struct to save some bytes 2015-09-20 16:55:45 +02:00
V2Ray
b319704282 Add network type to destination to be ready for UDP connection 2015-09-20 16:03:12 +02:00
V2Ray
a887fd01b8 Move log into common 2015-09-20 00:50:21 +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