Commit Graph

377 Commits

Author SHA1 Message Date
Micooz
34acc66a1d presets: add chacha20-poly1305 security support for v2ray-vmess 2017-10-15 12:17:42 +08:00
Micooz
0c297c9a92 core: catch errors throw from presets at pipe() 2017-10-15 12:14:56 +08:00
Micooz
ba16b706d1 presets: add chacha20-* support for ss-aead-cipher
- chacha20-poly1305
- chacha20-ietf-poly1305
- xchacha20-ietf-poly1305
2017-10-14 22:55:13 +08:00
Micooz
801dd69867 transports: log host and resolved ip separately 2017-10-14 22:51:43 +08:00
Micooz
8c87a360d5 proxies: unify host type in socks.js 2017-10-14 22:50:36 +08:00
Micooz
daf9ba8927 proxies: add tcp.js 2017-10-14 22:48:06 +08:00
Micooz
6200a9ce9a core: add "dstaddr" option to config.js 2017-10-14 22:47:09 +08:00
Micooz
42c7ea8ec2 core: refine hub, pass proxyRequest to relay 2017-10-14 22:45:47 +08:00
Micooz
d26b63f59a presets: remove tunnel 2017-10-14 22:28:06 +08:00
Micooz
a816d60968 presets: remove exp-compress 2017-10-14 19:23:28 +08:00
Micooz
1b17e08288 presets: refine ss-aead-cipher and ss-stream-cipher 2017-10-14 12:26:25 +08:00
Micooz
8294d87bf8
core,test: support "service" option in config 2017-10-13 16:56:49 +08:00
Micooz
92c20bf61c
presets: only watch file in non-test environment 2017-10-13 16:23:28 +08:00
Micooz
d47f7b1337
core: universal service start of hub 2017-10-13 15:51:13 +08:00
Micooz
4459b44e84
bin,src: refine module exports 2017-10-13 15:48:09 +08:00
Micooz
d20443bfc7
transports: change "websocket" to "ws" 2017-10-13 15:43:25 +08:00
Micooz
30288a51f5
transport: destroy socket when "end" as well 2017-10-13 15:42:47 +08:00
Micooz
116c1ff9de
utils: remove problematic parseURI() 2017-10-13 15:41:10 +08:00
Micooz
414bfb86d5
core,presets: remove proxy preset 2017-10-13 15:39:28 +08:00
Micooz
f206be69e3
proxies: a big refactor, use more robust, lightweight and efficient approach 2017-10-13 15:37:42 +08:00
Micooz
53c6681084
transports: check websocket writable before send 2017-10-09 12:56:43 +08:00
Micooz
d73d9fcf44 core: refactor pipe, add pre-hook, improve pipe performance 2017-10-08 11:30:05 +08:00
Micooz
ef8ff9aa48 utils: add generateMutexId() 2017-10-08 11:21:19 +08:00
Micooz
21f4a33c4b core: print logs when load cert.pem or key.pem 2017-10-07 17:02:12 +08:00
Micooz
55d18e7199 core: drop Object.values to fix compatibility for node v6.x 2017-10-07 16:59:01 +08:00
Micooz
835ade4750 core: normalize log output of hub.js 2017-10-07 15:40:45 +08:00
Micooz
373feea909
transports: sync return context when _connect() 2017-09-28 14:27:10 +08:00
Micooz
09dc24da9e
transports: extract tls relevant logic from tcp.js to tls.js 2017-09-27 10:50:57 +08:00
Micooz
1d676a04a1
transports: refine index.js 2017-09-26 11:09:39 +08:00
Micooz
68a595c426
core,bin: add "log_max_days" option 2017-09-26 11:08:55 +08:00
Micooz
708926c72f
core: should clear cache after switch to another server 2017-09-21 12:48:29 +08:00
Micooz
8e72dec75c
presets: fix access bug to static members 2017-09-20 14:22:26 +08:00
Micooz
260c89dda6
presets: two presets are ready for production
exp-base-auth-stream -> base-auth-stream
exp-base-with-padding -> base-with-padding
2017-09-20 13:33:42 +08:00
Micooz
793835d570
presets: refactor exp-compress, expose "threshold" and "options" 2017-09-20 11:48:01 +08:00
Micooz
17e621237f presets: typo 2017-09-19 22:29:49 +08:00
Micooz
3884f4d07c
core,transports: refactor tcp/tls relay, add websocket 2017-09-19 14:07:07 +08:00
Micooz
6d93761f09
presets/tracker: extract dump() method to global static function 2017-09-19 14:05:49 +08:00
Micooz
596c51db3d
core,test: deprecated __IS_TLS__ 2017-09-19 14:04:40 +08:00
Micooz
8436de0124 presets: fix "out of range" bug in v2ray-vmess 2017-09-18 22:52:01 +08:00
Micooz
464cf4e95c core: add _destroy property to pipe 2017-09-18 22:42:46 +08:00
Micooz
2581da27c9 core: print a verbose log when hit cache 2017-09-18 22:41:56 +08:00
Micooz
6cf69805e7
utils: fixed a performance regression of advanced-buffer 2017-09-14 17:21:47 +08:00
Micooz
eae044bade
presets: minor fixes 2017-09-14 13:43:41 +08:00
Micooz
b2778b0785
test: prepare e2e tests for presets 2017-09-13 17:02:24 +08:00
Micooz
b4758e73ed
utils: add missing unit tests 2017-09-13 16:11:06 +08:00
Micooz
03e33a2b6b
utils: refactor shake128() 2017-09-13 15:10:31 +08:00
Micooz
e10ae03f74
presets: add v2ray-vmess support 2017-09-13 15:02:02 +08:00
Micooz
ceeb47d945 presets: adapt utils 2017-09-12 22:23:01 +08:00
Micooz
14b1b02412 utils: more robust 2017-09-12 22:23:01 +08:00
Micooz
01e42411fb utils: split common into several modules 2017-09-12 22:23:01 +08:00