1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-29 18:45:23 +00:00
Commit Graph

484 Commits

Author SHA1 Message Date
v2ray
c20c44526c Fix buffer overrun in vmess 2016-05-03 14:57:09 +02:00
v2ray
7d43952690 tcphub now takes tls config as construtor parameter 2016-05-03 00:16:07 +02:00
v2ray
f594f5b606 simplify tcp connection 2016-05-02 23:53:16 +02:00
v2ray
36bf645199 Fix a dead lock issue in VMess 2016-05-02 14:03:31 +02:00
v2ray
0442000964 fix nil reference issue in shadowsocks 2016-05-02 09:38:50 +02:00
v2ray
c11ddace15 fix a buffer bug 2016-05-01 20:14:57 +02:00
v2ray
b453288e04 release shadowsocks request 2016-05-01 17:18:02 +02:00
v2ray
58530e6920 force chunked stream 2016-04-28 21:14:00 +02:00
v2ray
94eab286c0 introduct Connection interface 2016-04-27 23:01:31 +02:00
v2ray
d9d3eac8f7 Fix unkeyed fields 2016-04-26 00:59:44 +02:00
v2ray
a7f40da07a Fix unused variables 2016-04-26 00:46:04 +02:00
v2ray
26ebd8dde9 refactor 2016-04-26 00:35:42 +02:00
v2ray
991cea01ab rename SocksServer to Server 2016-04-26 00:33:16 +02:00
v2ray
42907ff2e8 Remove v2net.Packet 2016-04-26 00:13:26 +02:00
v2ray
7db14dad9b releasble user validator 2016-04-25 18:39:30 +02:00
v2ray
c044234e4a tls settings for http proxy 2016-04-25 15:30:28 +02:00
v2ray
6486891b18 comments 2016-04-24 22:54:41 +02:00
v2ray
9e1d0d8c5e update detour config settings 2016-04-24 22:40:43 +02:00
v2ray
44bf412dfc release all adaptive readers and writers 2016-04-18 19:01:24 +02:00
v2ray
7407c8d561 use stream instead of raw chan 2016-04-18 18:44:10 +02:00
v2ray
42b8dbe871 release all readers and writers 2016-04-12 21:56:36 +02:00
v2ray
70f803173a simplify reader/writer interface 2016-04-12 21:43:13 +02:00
v2ray
e8023f0d92 releasable writer 2016-03-24 23:36:18 +08:00
v2ray
77ecd1649b fix test break 2016-03-13 11:34:09 +01:00
v2ray
ff69ac7a0e Release all references 2016-03-11 23:51:58 +01:00
v2ray
3b35df1244 Handler state 2016-03-06 16:36:08 +01:00
v2ray
7f2b157956 Fix OTA in Shadowsocks TCP 2016-02-28 21:11:50 +01:00
v2ray
684e133ac5 better log 2016-02-28 21:02:03 +01:00
v2ray
e298121126 Fix shadowsocks OTA issue 2016-02-28 21:00:53 +01:00
v2ray
3d4da5822b Email in shadowsocks 2016-02-28 14:50:30 +01:00
v2ray
c1c22a50d5 remove old commands 2016-02-27 22:41:57 +01:00
v2ray
3ec40eedc1 remove old vmess request 2016-02-27 22:37:22 +01:00
v2ray
547cc75651 Migrate VMessIn with protocol 2016-02-27 17:28:21 +01:00
v2ray
2144c47102 Migrate VMessOut into protocol 2016-02-27 16:41:21 +01:00
v2ray
ef51c600fb Apply buffered reader and writer to socks 2016-02-27 11:02:42 +01:00
v2ray
76ca9de25f refactor protocol 2016-02-25 21:50:10 +01:00
v2ray
59bc881d70 move timestamp generator to protocol 2016-02-25 17:14:49 +01:00
v2ray
f0081f5327 remove unused code 2016-02-25 16:58:54 +01:00
v2ray
791ac307a2 Move userset to protocol 2016-02-25 16:40:43 +01: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
471b655934 log whole destination in vmess out 2016-02-22 17:10:11 +01:00
v2ray
b60f491cec add test case for http proxy 2016-02-20 23:27:06 +01:00
v2ray
c9750fa3ba prefer pointer over struct 2016-02-17 16:46:53 +01:00
v2ray
131e6bf239 Fix a potential issue mentioned in #81 2016-02-16 14:35:24 +01:00
v2ray
45db388e3f more docs 2016-02-06 18:01:27 +01:00
v2ray
6c860d64ad rename destIp to destIP 2016-02-05 22:12:46 +01:00
v2ray
d0de8060b6 Merge branch 'master' of https://github.com/v2ray/v2ray-core 2016-02-05 22:04:51 +01:00
v2ray
25dfa66822 typos 2016-02-05 22:04:43 +01:00
Darien Raymond
e5d0da0982 wording 2016-02-05 11:45:31 +00:00
Darien Raymond
20147cb0bd fix test break 2016-02-05 10:48:34 +00:00
Darien Raymond
d1e990d46e test case for shadowsocks ota 2016-02-05 10:38:45 +00:00
Darien Raymond
c618ce543c use net.ParseAddress in socks udp 2016-02-05 10:23:16 +00:00
Darien Raymond
4d2bcda9cc test case for socks protocol 2016-02-05 10:21:13 +00:00
v2ray
76b0db2016 return ErrorInvalidAuthentication when OTA is not valid 2016-02-04 22:52:42 +01:00
v2ray
c849f3df54 test case for shadowsocks protocol 2016-02-04 22:10:52 +01:00
v2ray
903985eab5 close dokodemo after testing 2016-02-04 18:03:15 +01:00
v2ray
4f59d6847f fix test break 2016-02-04 13:27:35 +01:00
v2ray
3212337aa3 clean up test cases for dokodemo 2016-02-04 13:13:15 +01:00
v2ray
77f5c15dbc fix freedom test 2016-02-04 13:09:17 +01:00
Darien Raymond
b18693a9c4 more test cases for freedom 2016-02-04 10:11:11 +00:00
v2ray
29c100e613 doc for proxy 2016-02-03 22:56:40 +01:00
v2ray
32b2220739 apply udpHub in socks proxy 2016-02-03 22:43:09 +01:00
v2ray
2d1ded9b9e fix race condition in shadowsocks 2016-02-03 22:42:58 +01:00
v2ray
265c9e4abb fix race condition in dokodemo 2016-02-03 22:42:44 +01:00
v2ray
11c7191b38 clean up after error 2016-02-03 21:44:20 +01:00
v2ray
c6df0fde19 clean up variable initialization 2016-02-03 21:36:52 +01:00
v2ray
2932d23b32 apply user settings to shadowsocks 2016-02-03 12:18:28 +01:00
v2ray
2147ba5ab3 move fundamental interfaces from vmess to common 2016-02-03 11:58:42 +01:00
v2ray
e8b0505c01 import comment of package vmess 2016-02-02 22:21:43 +01:00
v2ray
159644a230 remove out dated test case 2016-02-01 23:53:20 +01:00
v2ray
5e2583ec8d fix udp for dokodemo and shadowsocks 2016-02-01 21:34:07 +01:00
v2ray
48aa9af631 remove out dated test 2016-02-01 17:21:31 +01:00
Darien Raymond
0d77139c24 fix udp issue in socks proxy 2016-02-01 15:36:33 +00:00
Darien Raymond
8006d0cfdc update version in install-release.sh 2016-02-01 14:06:03 +00:00
Darien Raymond
3b1f92b7e8 allow multiple UDP incoming packets in freedom 2016-02-01 11:38:38 +00:00
v2ray
d3ff2b3698 chunk stream in vmess 2016-02-01 12:22:29 +01:00
v2ray
6c7a9586d0 Save 1 allocation in shadowsocks 2016-01-31 21:37:00 +01:00
v2ray
2031c13a7f refactor app.Space 2016-01-31 17:01:28 +01:00
v2ray
fcf8a74a3a log access info in shadowsocks 2016-01-30 22:57:20 +01:00
v2ray
026f17fdcc todo sync 2016-01-30 22:50:36 +01:00
v2ray
6b9cb3f80d send to UDP dest 2016-01-30 22:36:28 +01:00
v2ray
383eb57487 rename CorruptedPacket to ErrorCorruptedPacket 2016-01-30 17:20:30 +01:00
v2ray
1e79a3b75a rename errors 2016-01-30 12:32:38 +01:00
v2ray
f34e253ea3 Rename errors with Error prefix 2016-01-30 12:23:56 +01:00
v2ray
be10ca7e09 fix shadowsocks udp ota 2016-01-29 21:55:42 +01:00
v2ray
e9c784d4bd refactor shadowsocks 2016-01-29 20:54:06 +01:00
Darien Raymond
57ff7ba923 complete implementation of shadowsocks ota 2016-01-29 15:43:45 +00:00
Darien Raymond
7f5184e943 understand OTA bit 2016-01-29 14:09:51 +00:00
Darien Raymond
008c285324 move transport methods from net to io 2016-01-29 13:39:55 +00:00
v2ray
494f431c37 remove ReadAllBytes in favor of io.ReadFull 2016-01-28 23:58:23 +01:00
v2ray
795c49b6fb close udp hub 2016-01-28 21:30:46 +01:00
v2ray
dde3f60e30 udp for shadowsocks 2016-01-28 21:30:05 +01:00
v2ray
1f9bd5f692 rename TCPListener to TCPHub 2016-01-28 20:47:00 +01:00
Darien Raymond
4be27a6377 udp hub 2016-01-28 16:43:47 +00:00
Darien Raymond
925c06aeed rename transport/listener to hub 2016-01-28 16:08:32 +00:00
Darien Raymond
30f131b9ee test case for shadowsocks tcp 2016-01-28 12:40:00 +00:00
v2ray
095905a460 tcp handler for shadowsocks 2016-01-28 12:33:58 +01:00
v2ray
8ae8b3c9f5 custom tcp listener and connection object 2016-01-27 22:11:31 +01:00
v2ray
3f634eb54f fix build break 2016-01-27 15:57:53 +01:00
v2ray
2e866be181 R.I.P Shadowsocks 2016-01-27 12:46:40 +01:00
Darien Raymond
6b894c719d own hosts in http config 2016-01-26 10:28:09 +00:00
v2ray
e11088aad5 update doc 2016-01-25 21:33:28 +01:00
v2ray
9ae258de3d rename 2016-01-25 17:29:26 +01:00
v2ray
5e16fa2dcd rename InboundConnectionHandlerCreator 2016-01-25 17:27:15 +01:00
v2ray
d4dcee5fa3 rename InboundConfig methods 2016-01-25 17:23:10 +01:00
v2ray
d325400f2e rename RegisterInboundConnectionHandlerFactory to RegisterInboundHandlerCreator 2016-01-25 17:20:44 +01:00
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