Commit Graph

105 Commits

Author SHA1 Message Date
Micooz
78fc22264f bin: add start.js for package bin, use cli.js as webpack entry 2017-08-14 15:53:01 +08:00
Micooz
dd6fea7e38 bin: use JSON.stringify instead of string template
close: #86
2017-08-13 18:35:42 +08:00
Micooz
babf024e20 bin: fix path resolve to --config 2017-08-11 14:02:37 +08:00
Micooz
fcdc1adc01 core,bin: remove profile.js 2017-08-10 14:31:29 +08:00
Micooz
cbb962d4d7 docs: update config and usage 2017-08-10 09:13:22 +08:00
Micooz
da5fdf1fc8 bin,package: deprecated cli-client.js and cli-server.js, refactor bootstrap.js and init.js 2017-08-09 22:44:59 +08:00
Micooz
c1c7eb9576 bin: cli-init now generates random port and timeout
close: #79
2017-08-09 20:53:53 +08:00
Micooz
20ae64ee40 Merge branch 'feature-using-webpack' 2017-08-08 14:50:14 +08:00
Micooz
c60afe6d78 docs: update 2017-08-08 14:10:27 +08:00
Micooz
caa47a0ccf bin: generate .json instead of .js and remove all comments in cli-init.js 2017-08-08 14:09:41 +08:00
Micooz
f27e44675e package: add webpack, webpack.config.js and loaders 2017-08-07 22:12:33 +08:00
Micooz
034e3b604f bin: remove blank lines of cli-init.js 2017-08-02 16:15:10 +08:00
Micooz
77a085d44a feat(core): allow to custom DNS servers
close: #66
2017-06-11 18:44:19 +08:00
Micooz
dee03a0438 refactor(core): instantiating winston logger
close: #65
2017-06-10 14:53:21 +08:00
Micooz
634f84c189 chore(package): drop babel-polyfill 2017-06-06 14:29:30 +08:00
Micooz
50719fa5b5 refactor(Hub): drop "error" handler and process.exit(0) 2017-04-26 15:57:16 +08:00
Micooz
fbd82fe0b2 chore(cli-init): remove confusable characters when generate key 2017-04-20 17:19:07 +08:00
Micooz
d9185a98d7 chore(cli-init): generate more common values 2017-04-17 14:30:58 +08:00
Micooz
37fecd5501 docs(readme): update 2017-04-16 17:39:28 +08:00
Micooz
26e84bd9b2 refactor(bin): cli-init.js now generate two configurations 2017-04-16 17:38:18 +08:00
Micooz
f8c6c275b6 refactor(core): now multiple servers can have different configurations
close: #48
2017-04-15 17:01:34 +08:00
Micooz
54a88afe2f docs(config): add more comments 2017-04-13 21:43:22 +08:00
Micooz
0079380d36 refactor(core): robust design for middlewares
close: #40
2017-04-13 16:43:54 +08:00
Micooz
84bf0e1347 refactor(bin): generate new config format in .js suffix 2017-04-13 16:17:57 +08:00
Micooz
5be30fcebc feat(bootstrap): support configuration file with ".js" format
close: #49
2017-04-12 21:29:05 +08:00
Micooz
13ea396456 feat(socket): add timeout mechanism
close: #45
2017-04-12 16:04:43 +08:00
Micooz
551e585d7f fix(bin): change 'ss-aead' to 'aead' 2017-04-07 16:03:53 +08:00
Micooz
5baf1e73d2 docs(readme): update 2017-03-29 16:20:51 +08:00
Micooz
b43b36e237 feat(core): add redirect behavior
close: #39
2017-03-29 16:17:09 +08:00
Micooz
b69307dd15 fix(bootstrap): watch only when --config/-c is provided 2017-03-29 10:58:28 +08:00
Micooz
e6a3c843d5 feat(bootstrap): hot reload config.json
close: #37
2017-03-29 10:52:28 +08:00
Micooz
62552d42c5 chore(bootstrap): fault tolerance for "servers" 2017-03-28 16:14:31 +08:00
Micooz
618f93a2e4 chore(config.js): default protocol can be "none" 2017-03-28 14:07:55 +08:00
Micooz
b0d4660c9a refactor(cli-init): use ss-aead protocol by default 2017-03-28 13:19:14 +08:00
Micooz
c4122400b4 feat(bootstrap): disable a server by prefixing a '-'
close: #38
2017-03-28 10:52:21 +08:00
Micooz
4803316ee8 refactor(bin): add cli-client and cli-server, deprecate debug.js 2017-03-24 17:07:14 +08:00
Micooz
f60638b50f fix(cli-init): configurations should be reversed
close: #31
2017-03-23 11:03:02 +08:00
Micooz
a23c9d49ce fix(bootstrap): log_level is invalid when only use --config 2017-03-16 20:40:41 +08:00
Micooz
fe931d8f91 feat(bootstrap): add --profile option 2017-03-14 22:27:37 +08:00
Micooz
7d902036ff feat(bin): implemented "blinksocks init"
close #17
2017-03-11 22:08:59 +08:00
Micooz
3436359231 docs(README): add docs for multi-server mode 2017-03-10 23:47:49 +08:00
Micooz
337f2afa42 Merge branch 'feature-multi-server' 2017-03-10 09:56:35 +08:00
Micooz
5886b8bb20 feat(core): multi-server now available
close: #24
2017-03-09 23:22:47 +08:00
Micooz
c17751a041 feat(bin): add 'blinksocks-init' and 'blinksocks-run' sub commands 2017-03-09 16:17:46 +08:00
Micooz
25e82e4bcd chore(cli): update 2017-03-03 23:37:19 +08:00
Micooz
cc9c6007e2 chore(bootstrap): update cli options 2017-02-27 22:43:16 +08:00
Micooz
0689c5134c chore(cli): add --frame and --frame-params options 2017-02-26 17:17:02 +08:00
Micooz
9c75a9214f refactor(bootstrap): support new interfaces 2017-02-25 21:49:44 +08:00
Micooz
6a968910a2 fix(classes): try to fix memory leak 2017-01-07 22:04:23 +08:00
Micooz
d60583186a feat(bin): add more cmd options 2017-01-02 23:18:26 +08:00
Micooz
99288b90fd feat(DNSCache): dns cache now available 2016-12-13 20:33:21 +08:00
Micooz
915a3c0d8a refactor(bin): should list supported ciphers via Crypto 2016-12-11 23:13:43 +08:00
Micooz
51f1fd76f7 chore(.gitignore): ignore *.config.json 2016-12-10 15:02:28 +08:00
Micooz
01bbbc6f86 chore(bootstrap): version number should follow package.json 2016-12-09 23:15:48 +08:00
Micooz
f6781c5505 initial commit 2016-12-09 22:54:58 +08:00