Commit Graph

600 Commits

Author SHA1 Message Date
Micooz
0ba9ce5a85 fix(obfs): http obfs 2017-02-08 22:54:18 +08:00
Micooz
a076319216 feat(obfs): now can specify obfuscation times per socket for 'http' obfs 2017-02-08 22:25:18 +08:00
Micooz
08899b48ea refactor(Pipe): do more things, simplify Socket, use only one pipe 2017-02-07 23:15:46 +08:00
Micooz
f384340d53 refactor(Relay): deprecate 2017-02-07 23:13:45 +08:00
Micooz
e53caad780 feat(obfs): implemented http obfs 2017-02-06 23:36:33 +08:00
Micooz
93292b6744 refactor(utils): Utils -> utils 2017-02-06 09:31:22 +08:00
Micooz
37f63b87e1 fix(core): eslint 2017-02-05 23:40:41 +08:00
Micooz
8b238c08e4 chore(presets): add obfs presets and fix protocol presets 2017-02-05 23:34:16 +08:00
Micooz
f80550b6c8 refactor(Socket): now it is middleware based 2017-02-05 23:32:22 +08:00
Micooz
17c379f614 feat(Middlewares): add ObfsMiddleware 2017-02-05 23:31:37 +08:00
Micooz
5708b90267 fix(Middlewares): ProtocolMiddleware now will prepend LEN 2017-02-05 23:30:54 +08:00
Micooz
b292608862 refactor(Config): add protocol, protocol_params, obfs and obfs_params 2017-02-05 23:29:18 +08:00
Micooz
16318f9833 refactor(*): use Logger more simple 2017-02-04 23:44:14 +08:00
Micooz
11d96340ae feat(presets): add presets for protocol and obfs middleware 2017-02-04 23:42:36 +08:00
Micooz
2a68728c43 feat(core): add Pipe 2017-02-04 23:41:27 +08:00
Micooz
7e8862414b feat(core): add several middlewares 2017-02-04 23:40:49 +08:00
Micooz
eea8221575 chore(core): Encapsulator, Frame, Tracer 2017-02-04 23:38:02 +08:00
Micooz
1cdccecf4c fix(test): module importing 2017-01-30 16:29:12 +08:00
Micooz
a9f9693861 chore(): backup project 2017-01-30 16:13:37 +08:00
Micooz
583bd950fd refactor(protocols): rename to proxies 2017-01-19 21:34:56 +08:00
Micooz
d5d89c9451 fix(core): socket maybe null when TcpRelay.onClose() 2017-01-19 20:17:24 +08:00
Micooz
a80973370f feat(protocol): support for socks4a 2017-01-10 23:17:00 +08:00
Micooz
0a623128f5 fix(core): imports from common 2017-01-10 21:12:37 +08:00
Micooz
eb08766c19 feat(protocol): support for socks4 2017-01-10 21:11:55 +08:00
Micooz
11e2aef77f test(socks5): add test for UdpRequestMessage 2017-01-08 11:58:28 +08:00
Micooz
8602649cf9 refactor(src): rename classes to core, move protocol relatives to protocols/ 2017-01-08 11:39:52 +08:00
Micooz
6a968910a2 fix(classes): try to fix memory leak 2017-01-07 22:04:23 +08:00
Micooz
5fcf7919ac chore(DNSCache): use log4js to log 2017-01-07 21:50:36 +08:00
Micooz
37ed2bf4ed chore(lib): update 2017-01-07 13:59:01 +08:00
Micooz
e0d638e6d2 fix(test): add spec to test invalid http message 2017-01-07 13:56:25 +08:00
Micooz
26e84ea63d fix(http): switch between Socks5 and HTTP can cause TypeError 2017-01-07 13:50:14 +08:00
Micooz
2cbfc86167 feat(http): implemented proxy for http 2017-01-06 23:31:03 +08:00
Micooz
4559de213a feat(classes): add Utils.js, move helper functions to Utils 2017-01-06 23:30:17 +08:00
Micooz
fb3aa33359 chore(socks5): fix imports 2017-01-06 23:28:57 +08:00
Micooz
8904d71ce6 refactor(socks5): move Message.js to src/common/ 2017-01-06 23:27:08 +08:00
Micooz
d60583186a feat(bin): add more cmd options 2017-01-02 23:18:26 +08:00
Micooz
d3ca8dee90 fix(Config): log4js problem
refer: https://github.com/nomiddlename/log4js-node/issues/430
2017-01-01 16:17:57 +08:00
Micooz
a703e03c26 fix(Config): test failed when use dateFile appender of log4js 2017-01-01 14:27:34 +08:00
Micooz
639ed79850 fix(Config): log4js configuration problem 2017-01-01 13:03:34 +08:00
Micooz
f4949ff074 feat(UdpRelay): implemented relay for UDP 2016-12-14 21:53:21 +08:00
Micooz
6432deb3bb refactor(*): rename Connection -> Address, Relay -> TcpRelay 2016-12-14 21:51:11 +08:00
Micooz
7387c51139 fix(Connection): ipv6 problem 2016-12-13 21:35:50 +08:00
Micooz
29bff67738 test(Connection): fix ipv6 problem 2016-12-13 21:05:02 +08:00
Micooz
99288b90fd feat(DNSCache): dns cache now available 2016-12-13 20:33:21 +08:00
Micooz
bbfa0f8e51 test(*): add tests for Config, Crypto 2016-12-11 23:19:53 +08:00
Micooz
279183dc76 feat(*): innitialization vector for encryption/decryption 2016-12-11 23:18:56 +08:00
Micooz
8d5a9ad179 feat(*): implemented streaming data encryption/decryption 2016-12-11 12:48:29 +08:00
Micooz
51a3894d0e chore(Config): remove useless 'level' option in log4js.configure 2016-12-10 15:06:30 +08:00
Micooz
cd0dbb68db refactor(Relay): more semantic 2016-12-10 15:05:30 +08:00
Micooz
f6781c5505 initial commit 2016-12-09 22:54:58 +08:00