Commit Graph

62 Commits (6d75aaff01522813cdff1d9cb9a09745349c04be)

Author SHA1 Message Date
Andy Wang 47410dbb97 add comments 5 years ago
Andy Wang 517a6d6e57 Handle error and retry for Crypto.rand 5 years ago
Andy Wang 6f34229aa0 Make and add stream upon reception of all new streamIDs even if they are closing 5 years ago
Andy Wang 3f5fdae284 Close session immediately after receiving signal 5 years ago
Andy Wang d65aee725a Improve stream closing logic and add tests 5 years ago
Andy Wang e7e4cd5726 Refactor frame reception processor 5 years ago
notsure2 d35472aea1 Store stream in packet receive path instead of asynchronously to fix https://github.com/cbeuw/Cloak/issues/74 5 years ago
Andy Wang fbee919f47 Use constants for Closing value 5 years ago
Andy Wang c26be98e79 Use sync.Map in multiplex instead of manual locks 5 years ago
Andy Wang a1b719b15f Add terminal message 5 years ago
Andy Wang 3b3cd277f8 Fix stream not closing 5 years ago
Andy Wang 6580e38e44 Introduce a special Session closing frame 5 years ago
Andy Wang c9318dc90b Fix potential deadlocks 5 years ago
Andy Wang 339b324946 Working direct WebSocket transport 5 years ago
Andy Wang 3f532ae065 writeFrame returns error 5 years ago
Andy Wang 2006e5971a Refactor frameSorter and datagramBuffer under one interface 5 years ago
Andy Wang 87a7684e10 More comments 5 years ago
Andy Wang eabe113547 Add Stream Timeout 5 years ago
Andy Wang ba467e8a32 Only store stream in map after Accept 5 years ago
Andy Wang 52796ad0b1 recvDataFromRemote returns err 5 years ago
Andy Wang e9a3c29429 Add some tests 5 years ago
Andy Wang c19c43f6e8 Server side UDP to proxy server 5 years ago
Andy Wang c36ec04ce5 Add unordered mode 5 years ago
Qian Wang 71e48a1947 Refactor switchboard configuration and add unordered option 5 years ago
Qian Wang cb672a99de Refactor session configuration 5 years ago
Qian Wang b7549c0664 Fix a potential nil pointer 5 years ago
Qian Wang d99b4009b2 Differentiate concrete types of LimitedValve and UnlimitedValve to avoid unnecessary atomic.AddUint64 since it has non-trivial overhead on embedded systems 5 years ago
Qian Wang 3dc4c6fb3f Add more trace logs 5 years ago
Qian Wang 01036086c7 Change the frame distribution strategy so that each stream is assigned a fixed underlying TCP connection to send its frames to reduce framesorter ooo count 5 years ago
Qian Wang fac381dbca Refactor switchboard 5 years ago
Qian Wang e75c713385 Refactor session struct's obfs fields 5 years ago
Qian Wang 33f232475d Improve logging 5 years ago
Qian Wang 726a405a26 TLS1.3 5 years ago
Qian Wang 6af97e2c22 Optimise session closing 5 years ago
Qian Wang 059a222394 Use defer to unlock mutexes 5 years ago
Qian Wang 8f9922b06b Add terminal messages upon session closing 5 years ago
Qian Wang 2ce6f380d1 Implement admin control through a tunneled RESTful API 5 years ago
Qian Wang 9b552f55a4 Allow an terminal message to be set as a session terminates 5 years ago
Qian Wang 299f08270c make Session implement net.Listener 5 years ago
Qian Wang c88c3d0084 Timeout unused new sessions 5 years ago
Qian Wang 425dbc4797 Session times out 30s after all streams have been closed 6 years ago
Qian Wang 9793537034 Faster reconnection 6 years ago
Qian Wang 41da4102ab Syntax cleanups 6 years ago
Qian Wang 0544364a8e Cleanup logs 6 years ago
Qian Wang f3f3042c81 Remove redundant functions 6 years ago
Qian Wang 1cb7bff8b3 Lexical changes 6 years ago
Qian Wang 36a743c3ca Client using AdminUID can now use the proxy without adding themselves to the db 6 years ago
Qian Wang ed1253ff4c Refactor MakeObfs and MakeDeobfs 6 years ago
Qian Wang 239647c5b2 Fix a race, some cleanup 6 years ago
Qian Wang 3b656c9360 Use sync.Once to close die ch 6 years ago