Commit Graph

514 Commits

Author SHA1 Message Date
Qian Wang
0e71b052dc Set ProxyMethod to shadowsocks automatically if started as a shadowsocks plugin 2019-06-16 23:59:49 +10:00
Qian Wang
c88c3d0084 Timeout unused new sessions 2019-06-16 23:30:35 +10:00
Qian Wang
5ffce47cdb Update config file 2019-06-16 22:49:26 +10:00
Qian Wang
710fa6835a Reduce the size of UID to 16 bytes 2019-06-16 11:08:51 +10:00
Qian Wang
d781c7b1be Use a sessional ephemeral key as the main key instead of UID for forward security 2019-06-16 00:20:55 +10:00
Qian Wang
4a4879ea37 Correct the maximum record size 2019-06-15 11:56:52 +10:00
Qian Wang
ef185b00f0 Solve a data race 2019-06-15 11:52:46 +10:00
Qian Wang
589900fe52 I just did a joint and I need to commit before things go wrong 2019-06-14 23:08:28 +10:00
Qian Wang
00069b7a69 Support Chaha20-Poly1305 2019-06-14 20:26:26 +10:00
Qian Wang
078a382963 Improve the security of header obfuscation 2019-06-14 19:48:59 +10:00
Qian Wang
f525643518 Remove debug log 2019-06-10 00:04:16 +10:00
Qian Wang
8168b9e2e7 Use AES-GCM instead of CTR 2019-06-10 00:03:28 +10:00
Qian Wang
0dd52d8570 Add optional encryption 2019-06-09 21:05:41 +10:00
Qian Wang
3e9855191b Cloak 2: generalising cloak as a universal pluggable transport for arbitary proxies 2019-06-09 16:10:22 +10:00
Qian Wang
ebd7e6b1bd Fix a missing IPv6 bracket 2019-03-24 16:24:17 +11:00
Qian Wang
2af372254f Update README.md 2019-03-24 00:44:13 +11:00
Qian Wang
797062aea9 Pointers to credit value should point to two different variables 2019-03-24 00:42:58 +11:00
Qian Wang
1ab2d5fafe Add mipsle with softfloat into the release script 2019-03-23 23:59:29 +11:00
Qian Wang
aa4f03ddbe Better help message 2019-03-23 23:57:30 +11:00
Qian Wang
c2c39bdd3a Merge branch 'master' of https://github.com/cbeuw/Cloak 2019-03-23 23:45:38 +11:00
Qian Wang
425dbc4797 Session times out 30s after all streams have been closed 2019-03-23 23:45:12 +11:00
Qian Wang
2e36acd1f8 Add square brackets to IPv6 2019-03-23 18:02:01 +11:00
Qian Wang
e0f8f285f9
Update README.md 2019-03-16 18:12:23 +11:00
Qian Wang
cffee1452a Fix a null pointer 2019-02-22 16:22:40 +11:00
Qian Wang
d7d1c70b77
Update README.md 2019-02-22 16:21:06 +11:00
Qian Wang
31906173c4
Update README.md 2019-02-16 00:19:39 +11:00
Qian Wang
6d5d43ee6b Fix build constraints 2019-02-15 00:01:47 +11:00
Qian Wang
22ecfac036
Update README.md 2019-02-13 20:48:13 +11:00
Qian Wang
8028ca700c
Create LICENSE 2019-01-25 00:42:01 +00:00
Qian Wang
045f4db659 Add go.sum 2019-01-25 00:25:19 +00:00
Qian Wang
99afb1a58b Remove ECDH as an external dependancy and include it as a internal package 2019-01-25 00:24:47 +00:00
Qian Wang
3590942534 Add go.mod 2019-01-24 23:07:51 +00:00
Qian Wang
4bcf9ccc30
Update README.md 2019-01-24 22:56:55 +00:00
Qian Wang
c44b202c27 Regenerate SessionID on reconnection 2019-01-22 21:51:57 +00:00
Qian Wang
a1d546dc0b Allow error message to be transmitted to admin client 2019-01-22 00:04:08 +00:00
Qian Wang
9d2e9be1ef Fix a race which causes the server unable to close all the connections in a session 2019-01-22 00:03:38 +00:00
Qian Wang
3a42ca5983 Client session establishment log 2019-01-21 21:29:18 +00:00
Qian Wang
76369f337f Make client side sessionID consistent with server 2019-01-21 21:27:26 +00:00
Qian Wang
3ee868da6d Make pprof optional to halve the binary size 2019-01-21 21:17:26 +00:00
Qian Wang
cb07e446b6 Fix issue which the closing frame padding gets send as acutal data 2019-01-21 21:15:18 +00:00
Qian Wang
a52c3204d1 Fix a stuck RWMutex 2019-01-21 21:13:54 +00:00
Qian Wang
69cf3649b1 Add mips softfloat to the release script 2019-01-21 17:15:43 +00:00
Qian Wang
3fb8f0656e Make pprof optional 2019-01-21 11:49:01 +00:00
Qian Wang
b522d4a407 Fix constant overflow 2019-01-21 11:42:27 +00:00
Qian Wang
8a10949846 Add unit tests 2019-01-20 23:47:10 +00:00
Qian Wang
46c8bc24de Fix wrapping bug 2019-01-20 17:23:45 +00:00
Qian Wang
9793537034 Faster reconnection 2019-01-20 12:13:29 +00:00
Qian Wang
17d024ac16 Remove reundancy and fix a race 2019-01-19 19:30:32 +00:00
Qian Wang
a6e16b4f74 Fix memory leak 2019-01-19 19:30:00 +00:00
Qian Wang
935f995954 Fix a user input validation 2019-01-19 13:18:13 +00:00