Micooz
|
f8961a72be
|
Merge branch 'feature-behaviours'
|
2017-08-18 15:19:02 +08:00 |
|
Micooz
|
89d528f374
|
core: refactor socket connect() and onPipeNotified()
|
2017-08-18 15:17:25 +08:00 |
|
Micooz
|
bf8450b0c5
|
core,utils: move logger to utils
|
2017-08-18 15:15:57 +08:00 |
|
Micooz
|
eddbdf91fb
|
core: add validation for json.behaviours
|
2017-08-18 15:11:49 +08:00 |
|
Micooz
|
9da46c2cc8
|
behaviours: implemented come behaviours
|
2017-08-18 15:08:26 +08:00 |
|
Micooz
|
4692893213
|
behaviors: add several
|
2017-08-16 22:21:15 +08:00 |
|
Micooz
|
953dcfaa82
|
src: export presets module
|
2017-08-16 12:56:39 +08:00 |
|
Micooz
|
b9fd4cb71c
|
presets: export preset names in index.js
|
2017-08-16 12:56:18 +08:00 |
|
Micooz
|
215ff06641
|
core: remove dynamic require to presets
|
2017-08-16 11:48:33 +08:00 |
|
Micooz
|
e09804b481
|
presets: add index.js
|
2017-08-16 11:47:53 +08:00 |
|
Micooz
|
143232008b
|
core: fix logger
|
2017-08-16 11:17:59 +08:00 |
|
Micooz
|
76b8f6f057
|
core,test: update tests for config.js
|
2017-08-16 10:06:54 +08:00 |
|
Micooz
|
4109e5f6ba
|
core: add "log_path" option
|
2017-08-15 23:05:32 +08:00 |
|
Micooz
|
5643ae60e9
|
core: remove constants.js
|
2017-08-15 23:04:45 +08:00 |
|
Micooz
|
66aef07e9c
|
core: disable cluster mode by default
|
2017-08-14 17:39:37 +08:00 |
|
Micooz
|
0f4cc32304
|
core: allow to disable cluster mode by setting "workers" to zero
|
2017-08-14 17:25:10 +08:00 |
|
Micooz
|
98a6ace533
|
test: add more test cases in config.test.js
|
2017-08-14 16:06:27 +08:00 |
|
Micooz
|
3c3aa46a2e
|
bin,core: support built-in cluster mode
close: #88
|
2017-08-14 15:54:19 +08:00 |
|
Micooz
|
78fc22264f
|
bin: add start.js for package bin, use cli.js as webpack entry
|
2017-08-14 15:53:01 +08:00 |
|
Micooz
|
a29c7b71b4
|
core: remove unused id field
|
2017-08-14 14:00:53 +08:00 |
|
Micooz
|
75810f233a
|
presets: fix buffer staging issue for obfs-tls1.2-ticket
|
2017-08-11 17:31:29 +08:00 |
|
Micooz
|
e5bb2dfea9
|
presets: fix buffer staging issue
|
2017-08-11 17:18:56 +08:00 |
|
Micooz
|
ac0b52f935
|
core: fix server redirect condition when "redirect" is not provided
|
2017-08-11 17:17:55 +08:00 |
|
Micooz
|
a314f742a9
|
core,presets: broadcast PRESET_INIT when middlewares are set
close: #85
|
2017-08-11 10:15:46 +08:00 |
|
Micooz
|
02c7dfb56b
|
presets: finished proxy.js
|
2017-08-10 22:09:54 +08:00 |
|
Micooz
|
5d4bd8c3a9
|
core,presets: switch to use SOCKET_CONNECT_TO_REMOTE
|
2017-08-10 22:09:00 +08:00 |
|
Micooz
|
d5d8dca99a
|
core: now check the first preset
|
2017-08-10 22:07:15 +08:00 |
|
Micooz
|
a981f835f4
|
presets: [unfinished] proxy.js
|
2017-08-10 18:04:32 +08:00 |
|
Micooz
|
e6a96c1507
|
docs: update presets
|
2017-08-10 17:42:45 +08:00 |
|
Micooz
|
c80dccd224
|
presets: add stats.js
|
2017-08-10 14:34:40 +08:00 |
|
Micooz
|
0f20f51428
|
presets: use next() instead of direct() for better chaining
|
2017-08-10 14:34:19 +08:00 |
|
Micooz
|
ad588542eb
|
core: allow pass the second parameter to next(buf, isReverse)
|
2017-08-10 14:33:34 +08:00 |
|
Micooz
|
fcdc1adc01
|
core,bin: remove profile.js
|
2017-08-10 14:31:29 +08:00 |
|
Micooz
|
7c2292a2e5
|
presets: fix address convert for exp-base-*
|
2017-08-09 17:49:43 +08:00 |
|
Micooz
|
47c2455b1a
|
core,presets: refactor application proxy logic, take advantages of "proxy" preset
|
2017-08-09 14:54:31 +08:00 |
|
Micooz
|
cc1e781a2d
|
core: allow not to specify "params" for preset in .json
|
2017-08-09 14:39:31 +08:00 |
|
Micooz
|
4e16d5b88e
|
presets: fix class name
|
2017-08-08 15:53:00 +08:00 |
|
Micooz
|
e308f8b10d
|
index.js: fix argv check
|
2017-08-08 15:34:40 +08:00 |
|
Micooz
|
f88906bac1
|
src: add bootstrap logic to index.js for webpack bundle
|
2017-08-08 14:04:22 +08:00 |
|
Micooz
|
4b99b1e918
|
core: hub and socket are now extends EventEmitter
|
2017-08-02 16:19:53 +08:00 |
|
Micooz
|
e5375a32ec
|
core: add "dns_expire" option
close: #77
|
2017-08-02 16:14:04 +08:00 |
|
Micooz
|
710b52ce4d
|
core: refactor dns-cache.js support custom expire
|
2017-08-02 16:12:59 +08:00 |
|
Micooz
|
df3a8c0166
|
presets: add proxy preset
close: #76
|
2017-08-02 12:54:17 +08:00 |
|
Micooz
|
152508e927
|
proxies: move core/client-proxy.js to proxies/proxifier.js
|
2017-08-02 12:52:30 +08:00 |
|
Micooz
|
067ee87573
|
presets: remove aes-xxx-ofb and aes-xxx-cbc from ss-stream-ciphers
close: #74
|
2017-08-02 09:20:29 +08:00 |
|
Micooz
|
3ec6fd8632
|
presets: dump error details for obfs-tls1.2-ticket
|
2017-08-01 13:02:54 +08:00 |
|
Micooz
|
6462de1f08
|
core: display preset name in error log
close: #72
|
2017-08-01 12:48:22 +08:00 |
|
Micooz
|
6aa4538fcb
|
utils: add kebabCase()
|
2017-08-01 12:47:53 +08:00 |
|
Micooz
|
4e9c356ef3
|
test: add tests for utils.Xor()
|
2017-08-01 10:32:15 +08:00 |
|
Micooz
|
d1479d47cd
|
presets: use different key for calculating HMAC-SHA1 in exp-base-auth-stream preset
|
2017-08-01 09:55:37 +08:00 |
|