Commit Graph

61 Commits (443aeecf5f64a907365fcb793747eaeb21993263)

Author SHA1 Message Date
Andy Wang 903a413afc Update test 5 years ago
Andy Wang 25e41d0941 Allow UDP option to be set in both commandline and json 5 years ago
Andy Wang a163f066a6 Refactor client config 5 years ago
Andy Wang 8d84ebd145 Code styles 5 years ago
notsure2 2de034ec92 Make keepalive optional on client -> server and server -> proxy connections. Use KeepAlive value in config (seconds). 5 years ago
Andy Wang 2327420f75 Allow remote host to be set in the client config file 5 years ago
beans 23082aff4f Allow RemotePort to be optionally set in JSON. If it's not set in JSON, Cloak falls back to SS_REMOTE_PORT in SS mode, or the -p argument in standalone 5 years ago
Andy Wang 517a6d6e57 Handle error and retry for Crypto.rand 5 years ago
Andy Wang bc5ce842a0 Refactor makeAuthenticationPayload to allow easier tests 5 years ago
Andy Wang abc39e4e90 Refactor authentication data representations 5 years ago
Andy Wang f90ad52455 Add default stream timeout value to client 5 years ago
Andy Wang 65553f4ec4 Remove redundant base64 decoding 5 years ago
Andy Wang eec295a00e Remove unnecessary pointer value 5 years ago
Andy Wang 98b77afb91 websocket over TLS 5 years ago
Andy Wang 339b324946 Working direct WebSocket transport 5 years ago
Andy Wang f47f57a59f Direct WebSocket 5 years ago
Andy Wang a3c3c5dc07 Client side plain websocket 5 years ago
Andy Wang 46c02d17f4 Refactor InitState 5 years ago
Andy Wang 87a7684e10 More comments 5 years ago
Andy Wang eabe113547 Add Stream Timeout 5 years ago
Andy Wang 812ca1af99 Unexport some client.State fields 5 years ago
Andy Wang b98a74f49b Refactor client ClientHello composition 5 years ago
Andy Wang e28df86a55 Move Unordered field around 5 years ago
Andy Wang c36ec04ce5 Add unordered mode 5 years ago
Qian Wang f65a46f4a9 Remove unnecessary state variable IsAdmin 5 years ago
Qian Wang ae4fc917b6 Let the server send a mock encrypted certificate after ChangeCipherSuite to imitate real behaviour more closely 5 years ago
Qian Wang 1d878b3adb Use AEAD to encrypt session key in ServerHello to provide authentication of the identity of the server 5 years ago
Qian Wang e15536d7c7 Refactor TLS handshake 5 years ago
Qian Wang e0e33e12d6 Fix non random GREASE generation 5 years ago
Qian Wang 05972863b5 Add tests 5 years ago
Qian Wang 53b6b96262 Remove stupid code 5 years ago
Qian Wang 429da0e0d9 Add unit tests 5 years ago
Qian Wang e75c713385 Refactor session struct's obfs fields 5 years ago
Qian Wang 1a628cb524 Refactor client TLS 5 years ago
Qian Wang 726a405a26 TLS1.3 5 years ago
Qian Wang 0684f5df40 Refactor payload cipher 5 years ago
Qian Wang 0fbb6011fc Remove psudorandom padding 5 years ago
Qian Wang 059a222394 Use defer to unlock mutexes 5 years ago
Qian Wang 1099b558f1 Fix admin mode 5 years ago
Qian Wang 38f3a4a522 Only start a session after a local connection has been made 5 years ago
Qian Wang 75fecacd20 Change the protocol to solve sessionTicket inconsistency 5 years ago
Qian Wang 710fa6835a Reduce the size of UID to 16 bytes 5 years ago
Qian Wang d781c7b1be Use a sessional ephemeral key as the main key instead of UID for forward security 5 years ago
Qian Wang 589900fe52 I just did a joint and I need to commit before things go wrong 5 years ago
Qian Wang 00069b7a69 Support Chaha20-Poly1305 5 years ago
Qian Wang 8168b9e2e7 Use AES-GCM instead of CTR 5 years ago
Qian Wang 0dd52d8570 Add optional encryption 5 years ago
Qian Wang 3e9855191b Cloak 2: generalising cloak as a universal pluggable transport for arbitary proxies 5 years ago
Qian Wang 99afb1a58b Remove ECDH as an external dependancy and include it as a internal package 6 years ago
Qian Wang c44b202c27 Regenerate SessionID on reconnection 6 years ago