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
Micooz
168e89c80b
refactor(config): extract validation into independent functions
2017-06-02 17:49:46 +08:00
Micooz
f554b3abdd
fix(config): should mkdir ~/.blinksocks before mkdir ~/.blinksocks/logs
...
close : #58
2017-06-02 16:46:27 +08:00
Micooz
14ea9321ba
chore(socket): log request address when applications connected to the client
...
close : #57
2017-06-02 15:52:58 +08:00
Micooz Lee
f4084d1d1b
fix(core): write logs to home directory
...
close : #55
2017-05-29 14:41:59 +08:00
Micooz
a7a9e71b6c
feat(hub): add callback to "run()" method
2017-05-23 21:09:29 +08:00
Micooz
20b84f8ac1
fix(obfs-tls1.2-ticket): should continue to receive when "Application Data" is not enough
2017-04-29 22:51:05 +08:00
Micooz
ddf26361b0
chore(hub): allow pass config directly to contructor
2017-04-29 22:35:28 +08:00
Micooz
6b190cefa8
chore(hub): destroy all socket before program terminate
2017-04-29 22:32:33 +08:00
Micooz
f49e0aabf6
chore(Hub): prevent onClose() multiple times
2017-04-26 16:16:22 +08:00
Micooz
50719fa5b5
refactor(Hub): drop "error" handler and process.exit(0)
2017-04-26 15:57:16 +08:00
Micooz
a333eb1408
refactor(utils): use "blinksocks-utils" package instead
2017-04-23 19:47:05 +08:00
Micooz
a582edb6bf
chore(presets): minor fix
2017-04-23 12:10:56 +08:00
Micooz
9970f4ccef
docs(presets): document obfs-tls1.2-ticket.js
2017-04-22 21:48:20 +08:00
Micooz
d6eb0dde12
chore(presets): rename http.js -> obfs-http.js
2017-04-22 21:47:39 +08:00
Micooz
e9642a3965
feat(presets): finished obfs-tls1.2-ticket preset
...
close : #52
2017-04-22 16:43:32 +08:00
Micooz
48c4f6cc04
test(utils): update
2017-04-22 16:31:23 +08:00
Micooz
407cc446f6
chore(utils): rename stringToBuffer -> hexStringToBuffer
2017-04-22 16:18:33 +08:00
Micooz
330a137052
refactor(utils): getRandomInt now generates cryptographically strong pseudo-random integer
2017-04-22 16:17:42 +08:00
Micooz
91acafae75
chore(presets): adjust MIN_CHUNK_SPLIT_LEN to 0x0800
2017-04-22 16:13:47 +08:00
Micooz
de56e2f96d
refactor(presets): extract "getUTC", "stb", "hmac" and "HKDF" to utils.js
2017-04-22 14:10:58 +08:00
Micooz
83d73526c0
chore(pipe): "direct" now return undefined
2017-04-22 14:09:10 +08:00
Micooz
017f3fb6df
Merge branch 'feature-obfs-tls1.2-ticket'
...
* feature-obfs-tls1.2-ticket:
fix(presets): now obfs-tls1.2-ticket should just work
feat(middleware,pipe): add "direct" callback to transmit data directly without piping
refactor(socket): deprecate isPipable()
chore(presets): temporary add obfs-tls1.2-ticket.js
2017-04-22 10:50:18 +08:00
Micooz
df1a705b73
refactor(utils): extract getChunks() into utils.js, add getRandomChunks()
2017-04-21 17:28:36 +08:00
Micooz
1ee997a044
fix(presets): now obfs-tls1.2-ticket should just work
2017-04-21 15:44:47 +08:00