Commit Graph

178 Commits

Author SHA1 Message Date
Qian Wang
8f9922b06b Add terminal messages upon session closing 2019-07-25 20:57:02 +01:00
Qian Wang
0695f9df13 pprof now will not require debug build flag 2019-07-25 20:52:15 +01:00
Qian Wang
f9c5ce8560 Move example config files 2019-07-25 20:41:19 +01:00
Qian Wang
8ff0f3d17e Rename handlers 2019-07-25 13:09:36 +01:00
Qian Wang
09bdae2584 Add CORS header through middleware 2019-07-25 13:03:32 +01:00
Qian Wang
2ce6f380d1 Implement admin control through a tunneled RESTful API 2019-07-25 12:17:29 +01:00
Qian Wang
98a772b6ee Add server response to status update 2019-07-24 15:25:09 +01:00
Qian Wang
9b552f55a4 Allow an terminal message to be set as a session terminates 2019-07-24 14:25:57 +01:00
Qian Wang
299f08270c make Session implement net.Listener 2019-07-23 11:06:49 +01:00
Qian Wang
29a45bcc1a Rewrite user authentication, credit bookkeeping and db interaction 2019-07-22 13:42:39 +01:00
Qian Wang
f66196d0c9
Update README.md 2019-06-17 00:11:15 +10:00
Qian Wang
bda2ba6e66 Update README.md 2019-06-17 00:10:04 +10:00
Qian Wang
13543e1989 Update README.md 2019-06-17 00:09:55 +10:00
Qian Wang
d1afeafefa Update README.md 2019-06-17 00:09:49 +10:00
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