Micooz
|
a706f42f7d
|
WIP: http2 transport
|
2018-05-06 18:34:41 +08:00 |
|
Micooz
|
be9dd7adcc
|
core: minor refactor
|
2018-05-06 18:32:31 +08:00 |
|
Micooz
|
84381b24bf
|
core: add speed-tester, fix speed measurement
|
2018-05-06 10:07:36 +08:00 |
|
Micooz
|
2733305df9
|
hub: add _udpCleanerTimer
|
2018-05-05 15:51:13 +08:00 |
|
Micooz
|
3e875b1ced
|
transports: refactor
|
2018-05-04 22:09:30 +08:00 |
|
Micooz
|
0642d97c35
|
core: refactor
|
2018-05-04 22:09:06 +08:00 |
|
Micooz
|
133bf07ffc
|
presets: remove actions.js, move to src/constants.js
|
2018-05-04 22:08:36 +08:00 |
|
Micooz
|
1c5247db1c
|
hub: set a timer to prune udp relays
|
2018-05-04 22:05:47 +08:00 |
|
Micooz
|
5435494ac3
|
src: remove preset.js, implement _write() in IPreset
|
2018-05-02 21:20:00 +08:00 |
|
Micooz
|
db73f0dc57
|
lib: regen
|
2018-04-28 11:12:50 +08:00 |
|
Micooz
|
b54914a6b7
|
presets: use uint64ToBuffer() instead of numberToBuffer()
|
2018-04-26 13:48:55 +08:00 |
|
Micooz
|
cf83eeebb4
|
utils,test: add uint64ToBuffer()
|
2018-04-26 13:48:13 +08:00 |
|
Micooz
|
748ebe9aaa
|
presets: use increment* helpers to increase nonce
|
2018-04-25 22:49:13 +08:00 |
|
Micooz
|
26041f5659
|
utils,test: add incrementLE() and increamentBE()
|
2018-04-25 22:47:03 +08:00 |
|
Micooz
|
d126b3c4db
|
presets: add chacha20-ietf support for ss-stream-cipher
|
2018-04-25 22:46:20 +08:00 |
|
Micooz
|
b7db7374c2
|
core/hub: patch server.getConnections for ws
|
2018-04-22 18:49:50 +08:00 |
|
Micooz
|
8157a19ca0
|
proxies/http: bug fix
|
2018-04-22 18:37:29 +08:00 |
|
Micooz
|
ee61845b48
|
core/preset: inline createPreset()
|
2018-04-21 21:14:44 +08:00 |
|
Micooz
|
1e8bcbe8a7
|
core,proxies: use WHATWG URL api instead of legacy URL api
|
2018-04-21 14:11:00 +08:00 |
|
Micooz
|
1c2c6b9eb8
|
proxies,test: support http basic authorization
|
2018-04-21 12:20:12 +08:00 |
|
Micooz
|
7d2cc6a5f4
|
src: support socks4(a), socks5 username/password authorization
|
2018-04-20 23:48:49 +08:00 |
|
Micooz
|
55ad5aca3a
|
package,transports: upgrade ws from v3.3.3 to v5.1.1
|
2018-04-17 23:25:31 +08:00 |
|
Micooz
|
18a91d3b61
|
presets,test: remove "auto-conf" preset
|
2018-04-15 21:45:10 +08:00 |
|
Micooz
|
100f1fe48d
|
presets: use this.resolveTargetAddress() instead of broadcast(...)
|
2018-04-15 20:34:59 +08:00 |
|
Micooz
|
6d392d845c
|
core/preset: inject resolveTargetAddress() to preset instance
|
2018-04-15 20:34:28 +08:00 |
|
Micooz
|
d1dedef8e6
|
presets: use onInitTargetAddress() instead of onNotified() to get target address
|
2018-04-15 19:59:39 +08:00 |
|
Micooz
|
805bf7fb9f
|
core: add Pipe::initTargetAddress() and remove calling onNotified()
|
2018-04-15 19:58:58 +08:00 |
|
Micooz
|
65dd04ca75
|
core: fix sequence between calling .on() and .init() of relay
|
2018-04-11 14:37:44 +08:00 |
|
Micooz
|
c3ead00197
|
core: bubble "_error" and "_connect" events up to Hub
|
2018-04-09 21:35:38 +08:00 |
|
Micooz
|
b1366fd7fe
|
core: remove performance.js
|
2018-04-09 15:42:48 +08:00 |
|
Micooz
|
6802e21536
|
src/core: put removeAllListeners() to right place
|
2018-04-07 14:32:26 +08:00 |
|
Micooz
|
742988e5c1
|
core/tracker: add setSourceAddress(host, port)
|
2018-04-07 14:27:49 +08:00 |
|
Micooz
|
2753075765
|
eslint: enable "no-undef" and "object-curly-spacing"
|
2018-03-30 12:09:48 +08:00 |
|
Micooz
|
5d0fc5ac6e
|
src: fix crush when onConnected() is triggered after ss-base destroyed
|
2018-03-29 19:42:23 +08:00 |
|
Micooz
|
bbc1ce990c
|
core/config: remove colorize() from logger
|
2018-03-29 19:18:49 +08:00 |
|
Micooz
|
d4a79dd564
|
core/pipe: log error stack
|
2018-03-29 19:17:24 +08:00 |
|
Micooz
|
2f429de44a
|
package: upgrade winston and winston-daily-rotate-file to v3.x, restrict log_path to be a file
|
2018-03-18 12:50:38 +08:00 |
|
Micooz
|
05b5e120f9
|
core/hub: add getConnections(), getTotalRead(), getTotalWritten() and getPerformance()
|
2018-03-11 19:09:10 +08:00 |
|
Micooz
|
627325503c
|
core: add performance.js
|
2018-03-11 19:03:40 +08:00 |
|
Micooz
|
830f0a0dcc
|
core/hub: start udp server only when local protocol is "socks" or "socks5"
|
2018-03-03 14:51:53 +08:00 |
|
Micooz
|
85c197f316
|
core/relay: remove unused function hasListener()
|
2018-03-02 15:22:21 +08:00 |
|
Micooz
|
d80630635c
|
core/tracker: avoid putting duplicate target address in this._tracks
|
2018-03-02 14:33:08 +08:00 |
|
Micooz
|
2b49b9f8a8
|
core/relay: include target address in tracker's abstract when using multiplexing
|
2018-03-02 14:29:18 +08:00 |
|
Micooz
|
15be66a6ee
|
src: decrease error rate of multiplexing
|
2018-03-01 13:07:02 +08:00 |
|
Micooz
|
88d0ddc28a
|
core/config: expose getLogFilePath()
|
2018-02-22 21:11:33 +08:00 |
|
Micooz
|
98d26c3feb
|
core/pipe: fix presets getter
|
2018-02-22 21:04:45 +08:00 |
|
Micooz
|
86fd05e8f7
|
core/config: check "acl_conf" only when "acl" is true
|
2018-02-20 22:24:28 +08:00 |
|
Micooz
|
923688b126
|
core/hub: handle listen "error" event
|
2018-02-19 11:41:14 +08:00 |
|
Micooz
|
ba4198a437
|
test: add test for multiplexing
|
2018-02-18 21:52:08 +08:00 |
|
Micooz
|
91deff0515
|
relay: make tracker trace at correct position
|
2018-02-18 18:41:22 +08:00 |
|