1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-02 17:27:50 -04:00
Commit Graph

327 Commits

Author SHA1 Message Date
v2ray
01ed2fa889 rename RegisterInboundConnectionConfig to RegisterInboundConfig 2016-01-25 17:19:09 +01:00
v2ray
9fe8178e4a rename InboundConnectionHandler to InboundHandler 2016-01-25 17:18:24 +01:00
v2ray
4817f8ab1f Merge branch 'master' of https://github.com/v2ray/v2ray-core 2016-01-25 11:54:59 +01:00
Darien Raymond
4624de091b remove cache of existing user hashes 2016-01-25 10:54:03 +00:00
v2ray
9f6822411b late set of cmd id 2016-01-25 00:43:55 +01:00
v2ray
2b1441b030 bytes to number methods 2016-01-24 22:28:44 +01:00
v2ray
73c17d9931 more fuzz test 2016-01-22 21:56:37 +01:00
v2ray
42b4764700 revert lock change 2016-01-22 17:56:19 +01:00
v2ray
f735663364 check input value nil 2016-01-22 17:56:12 +01:00
v2ray
790d37bf90 checksum for response command 2016-01-22 17:56:03 +01:00
v2ray
9ec238d161 account fuzz test 2016-01-22 17:55:03 +01:00
v2ray
795681c288 fix locking in vmess inbound 2016-01-22 16:50:31 +01:00
v2ray
d8f29f4b5e log for detour picking 2016-01-22 16:48:17 +01:00
v2ray
f478db2b2e ensure that detour list has not changed 2016-01-22 01:10:25 +01:00
v2ray
2c03641f74 test case for receiver 2016-01-22 01:10:12 +01:00
v2ray
37a9d8ef50 dice.Roll() 2016-01-21 22:45:44 +01:00
Darien Raymond
d623b1809d minor fix 2016-01-21 16:29:18 +00:00
Darien Raymond
d8c6102638 test case for on demand detour 2016-01-21 16:22:56 +00:00
Darien Raymond
d75eeed25d format code 2016-01-21 12:05:16 +00:00
Darien Raymond
85feb725a5 BytesLiteral.All() 2016-01-21 11:52:09 +00:00
v2ray
f60747c455 2nd step to reduce number of authentication bits 2016-01-21 10:08:00 +01:00
Darien Raymond
23b6b987ca fix a bug in cmdkey generation 2016-01-20 16:45:50 +00:00
v2ray
baaef1dad5 handle switch account command in vmess out 2016-01-20 17:31:43 +01:00
v2ray
b0adb24003 handle inbound detour in vmess inbound 2016-01-19 23:41:40 +01:00
v2ray
6eff759b05 more fields in switch account command 2016-01-19 01:21:07 +01:00
v2ray
65d5c07533 BytesLiteral.String 2016-01-18 12:58:04 +01:00
v2ray
4dd771170c lazy evaluation of access log 2016-01-18 12:31:27 +01:00
v2ray
eec0bb4db4 lazy evaluation of log fields 2016-01-18 12:24:33 +01:00
v2ray
8f20933457 cleanup socks log 2016-01-18 11:43:24 +01:00
v2ray
dde47290d7 completely remove json folder in v2ray 2016-01-17 21:43:10 +01:00
v2ray
48f1d34ca5 fix config in http 2016-01-16 13:08:50 +01:00
v2ray
a403859105 move network to net 2016-01-15 14:34:33 +01:00
v2ray
5ceac7a6e2 move host from net/json to net 2016-01-15 13:17:04 +01:00
v2ray
e5fa96f814 massive refactoring against json config parsing 2016-01-15 12:43:06 +01:00
v2ray
04e7dc87a8 log request content as debug 2016-01-12 18:28:00 +01:00
v2ray
7881330644 remove unnecessary memory allocation in vmess 2016-01-12 13:39:17 +01:00
v2ray
f7a152b871 remove unnecessary memory allocation in id generation 2016-01-12 13:39:02 +01:00
v2ray
48ff2a5ae8 use [16]byte instead of string for faster hashing 2016-01-12 13:02:05 +01:00
Darien Raymond
bed5235772 remove proxy/vmess/protocol/user 2016-01-12 10:52:40 +00:00
Darien Raymond
dc1fbecdfb remove fuzzing tests 2016-01-12 10:45:38 +00:00
v2ray
349b02084c rewrite hashing logic in vmess 2016-01-12 11:38:43 +01:00
v2ray
ea080b2ebf rewrite id hash queue 2016-01-11 22:51:35 +01:00
v2ray
47e2d957d1 don't process malformed request 2016-01-11 12:35:28 +01:00
v2ray
8daea1dc06 close inbound ray when there is an error 2016-01-11 01:01:52 +01:00
v2ray
d1fecba6e4 improve timed queue performance 2016-01-10 09:11:46 +01:00
v2ray
242624de96 fix test break 2016-01-09 00:22:50 +01:00
v2ray
4ca43c3121 alternative user ids 2016-01-09 00:10:57 +01:00
v2ray
43f76d4704 doc for InboundConnectionHandler 2016-01-06 22:39:56 +01:00
v2ray
5b1854f842 simplify connection handler registration 2016-01-06 16:23:54 +01:00
v2ray
350b31cad9 First step to reduce number of bytes for response validation 2016-01-06 01:37:53 +01:00
v2ray
b9c3f2cb75 Fix for empty packets 2016-01-05 12:08:16 +01:00
v2ray
7c64093a7a Output debug info when parsing VMess request 2016-01-05 00:08:00 +01:00
v2ray
3e76c3f307 fix a typo 2016-01-04 23:00:14 +01:00
v2ray
1239b1a57b fix buffer usage in vmess out 2016-01-04 22:02:22 +01:00
Darien Raymond
e6ad1d8518 format code 2016-01-04 14:16:52 +00:00
Darien Raymond
27b521d2aa fix buffer usage in VMess 2016-01-04 12:01:32 +00:00
v2ray
5f6d932c03 fixes for mutex usage 2016-01-04 08:41:01 +01:00
v2ray
4271e619fe fixes for mutex usage 2016-01-04 08:40:24 +01:00
v2ray
59a5f832f6 fixes for sync logic 2016-01-04 01:19:27 +01:00
v2ray
4a7f45113a check accepting in http 2016-01-04 01:13:43 +01:00
v2ray
56c5302367 close method for point server 2016-01-04 00:33:25 +01:00
v2ray
201481a82c close method for inbound connection handler 2016-01-03 23:30:37 +01:00
v2ray
0780db7999 move connhandler to proxy 2016-01-02 23:32:18 +01:00
v2ray
54ce82fbfa Move unnecessary functions to internal 2016-01-02 23:08:36 +01:00
v2ray
1c4c9bffad Move proxy/common/config to proxy/internal/config 2016-01-02 17:40:51 +01:00
v2ray
3baa1f5bc5 interface for inbound connection handler manager 2016-01-01 23:44:11 +01:00
adoot
09bf6def69 http bug fixes & disable keep-alive
This patch defers Conn.Close call until all responses from server
has been written to the client. It should fix many of the hanging
issues we have with plain HTTP requests.
2016-01-01 13:08:53 -08:00
v2ray
8d6fdd014a dns cache command 2015-12-25 01:07:42 +01:00
v2ray
4a8ec6926b dialer 2015-12-17 01:19:04 +01:00
v2ray
6543facd51 converting from host to address directly 2015-12-17 00:58:45 +01:00
v2ray
34a0cb0b70 move port out of address 2015-12-16 23:53:38 +01:00
v2ray
e3a00d1400 improve http proxy effeciency 2015-12-16 16:37:32 +01:00
v2ray
b3ec97058e refind http proxy 2015-12-16 15:52:40 +01:00
v2ray
34f34bb25d refine http proxy 2015-12-15 22:13:09 +01:00
v2ray
24653aef21 still close connection agressively 2015-12-15 16:38:25 +01:00
v2ray
e12e5a0ecb barely working http proxy 2015-12-15 16:00:47 +01:00
v2ray
d0a75ce9f3 handle connect request in http proxy 2015-12-15 00:53:40 +01:00
Darien Raymond
05caf04eee unfinished http proxy 2015-12-14 16:26:29 +00:00
Darien Raymond
f0c1695db4 send request without waiting for the first packet. 2015-12-14 14:51:48 +00:00
v2ray
1f584f1502 interface for secondary id 2015-12-13 00:10:35 +01:00
v2ray
a63670311e use uuid in vmess id 2015-12-12 21:40:16 +01:00
v2ray
1c5c1a7aef debug info 2015-12-12 20:57:47 +01:00
v2ray
88851f2bc9 Allow IP address is passed as domain in socks5 protocol 2015-12-12 20:57:39 +01:00
v2ray
fed5697dc3 SwitchAccount command 2015-12-12 13:11:49 +01:00
Darien Raymond
b6ed26aedf pubsub 2015-12-11 14:56:10 +00:00
Darien Raymond
dd81fc6f6a hide space implementations from interfaces 2015-12-11 11:01:20 +00:00
Darien Raymond
ed09b4ea6a support domain as host in VMess outbound config. 2015-12-09 11:20:59 +00:00
Darien Raymond
af8412175e re-org vmess content 2015-12-07 19:32:38 +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
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
v2ray
36b7a3fe07 test case for socks protocol 2015-12-03 23:31:04 +01:00
v2ray
f69b83f3e6 add interface for socks config 2015-12-03 22:41:06 +01: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