1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 01:57:12 -05:00
Commit Graph

125 Commits

Author SHA1 Message Date
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
V2 Ray
9071b3ea10 more comments 2015-10-15 11:15:59 +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
1b80a1a85a Handle multiple UDP packets in socks. 2015-10-14 09:56:04 +02:00
V2Ray
99671a173f Customize UDP server address 2015-10-14 00:04:49 +02:00
V2Ray
3c259b7069 Remove unused const 2015-10-13 23:55:54 +02:00
V2Ray
4ac3eab385 format code 2015-10-13 22:00:12 +02:00
V2Ray
8c5865d4e7 Lazy initialize of socks5 response 2015-10-13 22:00:03 +02:00
V2Ray
7cc8d90f26 test case for wrong auth method 2015-10-13 21:55:12 +02:00
V2Ray
dc7d4a2309 Test case for wrong user account in socks5 2015-10-13 21:29:27 +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
bc6174d4b5 Continue to work even if failed to accept connection 2015-10-11 22:44:48 +02:00
V2Ray
37112f737e Log UDP access as well 2015-10-11 17:03:52 +02:00
V2Ray
95b44f2160 Clear buffer for UDP response. 2015-10-11 15:18:35 +02:00
V2Ray
5cee727308 Fix socks authentication 2015-10-10 22:31:25 +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
7f6878fbc3 Ray is never nil 2015-10-10 20:52:31 +02:00
V2Ray
a77f62428a Use Buffer as a writer 2015-10-10 20:52:13 +02:00
V2Ray
32ab3dcd61 typo 2015-10-10 17:30:37 +02:00
V2Ray
578ede2538 release buffer after using 2015-10-10 17:01:05 +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
213aa2ecf0 Socks supports multiple accounts 2015-10-10 15:51:35 +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
936fd03c30 format code 2015-10-08 23:29:06 +02:00
V2Ray
ebb4f5b7bd udp 2015-10-08 23:28:51 +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