Commit Graph

36 Commits

Author SHA1 Message Date
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
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
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
aa4f03ddbe Better help message 2019-03-23 23:57:30 +11:00
Qian Wang
cffee1452a Fix a null pointer 2019-02-22 16:22:40 +11:00
Qian Wang
a1d546dc0b Allow error message to be transmitted to admin client 2019-01-22 00:04:08 +00:00
Qian Wang
3ee868da6d Make pprof optional to halve the binary size 2019-01-21 21:17:26 +00:00
Qian Wang
3fb8f0656e Make pprof optional 2019-01-21 11:49:01 +00:00
Qian Wang
24cdf274dd Change the stream header format and reduce overhead 2019-01-13 21:28:57 +00:00
Qian Wang
9e454babe1 Remove redundant error checking 2019-01-12 17:06:14 +00:00
Qian Wang
0544364a8e Cleanup logs 2019-01-12 15:51:20 +00:00
Qian Wang
d906541497 Redo the header obfuscation. Fix hiccups caused by short packets 2019-01-06 01:40:27 +00:00
Qian Wang
deb5271cef User can now specify the path of db file and backups 2018-12-30 00:18:50 +00:00
Qian Wang
652261af81 Implement SessionsCap and ExpiryTime limitations 2018-12-29 00:54:10 +00:00
Qian Wang
6fbd39ea10 Integrate keygen util into ck-server 2018-12-17 22:12:38 +00:00
Qian Wang
36a743c3ca Client using AdminUID can now use the proxy without adding themselves to the db 2018-12-11 23:26:05 +00:00
Qian Wang
ed1253ff4c Refactor MakeObfs and MakeDeobfs 2018-12-09 23:45:06 +00:00
Qian Wang
4474a74f02 Disallow empty AdminUID 2018-12-03 20:44:08 +00:00
Qian Wang
3b656c9360 Use sync.Once to close die ch 2018-11-23 23:57:35 +00:00
Qian Wang
c4048dccea Basic remote control 2018-11-22 21:55:23 +00:00
Qian Wang
fe19d31158 Stop duplicate goroutines accepting streams 2018-11-08 19:47:53 +00:00
Qian Wang
3534d05055 QOS and user managing, bug fixes 2018-11-07 21:16:13 +00:00
Qian Wang
6a6b293164 Add bandwidth limiter 2018-10-28 22:51:00 +00:00
Qian Wang
f476650953 Rework switchboard dispatch 2018-10-28 21:22:38 +00:00
Qian Wang
077eb16dba Fix goroutine leak 2018-10-27 15:27:43 +01:00
Qian Wang
3f7eef98e3 drop aes encryption of headers 2018-10-20 21:41:01 +01:00
Qian Wang
bd69784443 optimisations 2018-10-20 17:03:39 +01:00
Qian Wang
7487600434 Mostly works 2018-10-20 11:35:50 +01:00
Qian Wang
02fa072964 Fix infinite loop. Baseline 2018-10-16 21:13:19 +01:00
Qian Wang
a8786a5576 Use ECDH instead of ECIES 2018-10-14 20:32:54 +01:00
Qian Wang
b9f2aa4ed0 Barely working 2018-10-09 21:53:55 +01:00
Qian Wang
ae30ed6ba4 Untested server 2018-10-09 16:07:54 +01:00