Commit Graph

234 Commits

Author SHA1 Message Date
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
Micooz
be41c47dae utils: add Xor() 2017-08-01 09:53:44 +08:00
Micooz
ff47b82e82 presets: add exp-base-auth-stream.js 2017-07-31 22:52:36 +08:00
Micooz
cc88c002b7 presets: add exp-base-with-padding.js 2017-07-23 22:58:48 +08:00
Micooz
32de693385 utils: change md5(buffer) to hash(algorithm, buffer) 2017-07-23 22:58:05 +08:00
Micooz
2675bd486b fix(ss-base): ipv6 port parse wrong
close: #68
2017-06-19 16:30:16 +08:00
Micooz
66bf720385 fix(eslint): no-useless-escape 2017-06-18 20:07:06 +08:00
Micooz
9e7fbd96f6 fix(presets): obfs-tls-1.2-ticket, should send New Session Ticket to client 2017-06-15 16:50:36 +08:00
Micooz
879640d573 feat(presets): allow to pass provide a list of sni to obfs-tls1.2-ticket 2017-06-15 16:47:16 +08:00
Micooz
4b1c2ac06a docs(presets): clarify ss-base.js and ss-stream-cipher.js 2017-06-15 15:05:57 +08:00
Micooz
3e13603e59 fix(core): http message parsing
close: #59
2017-06-13 22:20:53 +08:00
Micooz
c9edb6aac6 Merge branch 'feature-aead-with-random-padding' 2017-06-12 09:14:19 +08:00
Micooz
680748da58 fix(aead-random-cipher): should check whether the factor is an integer 2017-06-12 09:07:12 +08:00
Micooz
fffca228e7 refactor(utils): bring blinksocks-utils back to blinksocks 2017-06-11 22:55:46 +08:00
Micooz
212cf673ef feat(presets): add aead-random-cipher.js 2017-06-11 22:53:58 +08:00
Micooz
77a085d44a feat(core): allow to custom DNS servers
close: #66
2017-06-11 18:44:19 +08:00
Micooz
cf11f0b1d1 fix(core): host display issue 2017-06-10 16:23:12 +08:00
Micooz
ebd678271a fix(proxies): convert socks4 DSTADDR to a buffer 2017-06-10 16:22:14 +08:00
Micooz
b720dab5b1 chore(proxies): rename __test__ to __tests__ 2017-06-10 15:36:07 +08:00
Micooz
dd1befe248 test(config): mock fs module and update tests 2017-06-10 15:35:47 +08:00
Micooz
dee03a0438 refactor(core): instantiating winston logger
close: #65
2017-06-10 14:53:21 +08:00
Micooz
5a5664ea27 fix(socket): TypeError: Cannot read property 'bufferSize' of null
close: #64
2017-06-09 11:01:44 +08:00
Micooz Lee
fbc2e12da7 fix(test): eslint 2017-06-08 07:50:36 +08:00
Micooz
d72679775c refactor(socket): add fsocketWritable() and bsocketWritable() 2017-06-07 14:33:18 +08:00
Micooz
49573970cd feat(socket): throttle uploads to reduce memory grow heavily
close: #60
2017-06-06 18:16:50 +08:00
Micooz
6a93422c8e refactor(socket): use socket.setTimeout() instead of setInterval()
close: #61
2017-06-06 14:15:45 +08:00
Micooz Lee
404c7a4277 fix(proxies): http "Host: " header detection
close: #59
2017-06-03 21:16:15 +08:00