Commit Graph

  • efbd7bb835 Merge branch 'master' of https://github.com/cbeuw/Cloak Andy Wang 2020-04-04 15:18:54 +0100
  • d4ac2a2cf5 Accept log level flag even when started in shadowsocks mode. notsure2 2020-03-28 23:10:45 +0200
  • 42d3871390 Merge branch 'master' of https://github.com/cbeuw/Cloak Andy Wang 2020-04-04 14:37:58 +0100
  • 192f68fd76 add go sum Andy Wang 2020-04-04 14:37:34 +0100
  • e2c234fb76 Add go.sum file. notsure2 2020-03-28 23:12:33 +0200
  • d6b701af0a Accept log level flag even when started in shadowsocks mode. notsure2 2020-03-28 23:10:45 +0200
  • c8a6d5ead8 Add go.sum file. notsure2 2020-03-28 23:12:33 +0200
  • 2327420f75 Allow remote host to be set in the client config file Andy Wang 2020-04-04 00:43:06 +0100
  • d482661494 Fix #101 by concatenating IPv6 ports correctly Andy Wang 2020-04-03 23:39:48 +0100
  • d05809f2a6 Fix logging of transport Andy Wang 2020-04-03 23:37:09 +0100
  • 766c27a129 Refactor if to switch case Andy Wang 2020-04-03 22:46:07 +0100
  • 75ab568cda Merge branch 'master' of https://github.com/cbeuw/Cloak Andy Wang 2020-04-03 22:44:39 +0100
  • 84bccd7710
    Update README.md Andy Wang 2020-03-30 21:42:44 +0100
  • 85e95de69c variable cert length in TLS server response Andy Wang 2020-03-16 11:39:27 +0000
  • e33afb258a extract util testing function Andy Wang 2020-03-16 11:37:09 +0000
  • 47410dbb97 add comments Andy Wang 2020-03-15 23:56:45 +0000
  • db8dd19c9d fix broken benchmarks Andy Wang 2020-03-15 23:55:56 +0000
  • 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 beans 2020-02-12 14:56:25 +0800
  • 51d8ef2587 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 beans 2020-02-12 14:56:25 +0800
  • 517a6d6e57 Handle error and retry for Crypto.rand Andy Wang 2020-02-01 23:46:46 +0000
  • e714dc61a8 Add a test for server touchstone Andy Wang 2020-01-25 10:20:11 +0000
  • bc5ce842a0 Refactor makeAuthenticationPayload to allow easier tests Andy Wang 2020-01-25 10:19:45 +0000
  • abc39e4e90 Refactor authentication data representations Andy Wang 2020-01-24 16:44:29 +0000
  • fa1c109d90 Make authentication info arrays Andy Wang 2020-01-24 15:13:26 +0000
  • fe8b2d78ef Change authenticationInfo structure Andy Wang 2020-01-24 14:38:41 +0000
  • 13b66f6fef Remove redundant code Andy Wang 2020-01-24 13:30:17 +0000
  • f90ad52455 Add default stream timeout value to client Andy Wang 2020-01-23 20:31:08 +0000
  • 6f34229aa0 Make and add stream upon reception of all new streamIDs even if they are closing Andy Wang 2020-01-23 20:30:31 +0000
  • 39e54bae6c Fix transport null pointer Andy Wang 2020-01-22 22:27:19 +0000
  • 99fa812594 Fix pickRandConn bad loop Andy Wang 2020-01-22 22:17:18 +0000
  • 3f5fdae284 Close session immediately after receiving signal Andy Wang 2020-01-22 21:30:30 +0000
  • d65aee725a Improve stream closing logic and add tests Andy Wang 2020-01-22 21:12:32 +0000
  • af5c8a381f Make a test streamline instead of modular Andy Wang 2020-01-22 19:33:53 +0000
  • 3d3d06ec96 Fix tests Andy Wang 2020-01-22 18:40:03 +0000
  • 74a70a3113 Refactor Transport and add tests Andy Wang 2020-01-22 18:37:01 +0000
  • e7e4cd5726 Refactor frame reception processor v2.1.3 Andy Wang 2020-01-09 10:22:40 +0000
  • 2acc174a05 Update goWeb with new state fields Andy Wang 2019-12-29 19:47:17 +0000
  • 65553f4ec4 Remove redundant base64 decoding Andy Wang 2019-12-29 16:55:21 +0000
  • e3552b2afc Refactor server config parser and add tests Andy Wang 2019-12-29 13:28:52 +0000
  • d35472aea1 Store stream in packet receive path instead of asynchronously to fix https://github.com/cbeuw/Cloak/issues/74 notsure2 2019-12-14 03:31:35 +0200
  • 448908fa6e Store stream in packet receive path instead of asynchronously to fix https://github.com/cbeuw/Cloak/issues/74 notsure2 2019-12-14 03:31:35 +0200
  • bdd5308169 Code style clean up v2.1.2 Andy Wang 2019-11-08 17:06:20 +0000
  • 9c30c9b5b5 Add explanations on accepting websocket connections Andy Wang 2019-11-08 16:56:31 +0000
  • fbee919f47 Use constants for Closing value Andy Wang 2019-11-03 20:28:43 +0000
  • c26be98e79 Use sync.Map in multiplex instead of manual locks Andy Wang 2019-11-03 12:22:12 +0000
  • 9cab4670f4 Make buffer close non-blocking Andy Wang 2019-11-02 21:02:35 +0000
  • 97cb19c364 Fine tweaks Andy Wang 2019-10-20 21:53:12 +0100
  • 4c17923717 Make write error close session as well Andy Wang 2019-10-20 15:37:41 +0100
  • e2b21dae9f Fix tests Andy Wang 2019-10-20 15:21:31 +0100
  • 3649283a49 Fix tests Andy Wang 2019-10-20 15:18:27 +0100
  • d5e6fea0b7
    remove tls on websocket Guangming Li 2019-10-17 18:17:36 +0800
  • 57f0c3d20a Close session when one connection drops Andy Wang 2019-10-16 23:00:23 +0100
  • 34a4805c34 Add tests Andy Wang 2019-10-16 23:00:11 +0100
  • a1b719b15f Add terminal message Andy Wang 2019-10-15 22:24:33 +0100
  • beb6568ce0 Check before passive close Andy Wang 2019-10-15 22:06:23 +0100
  • 3b3cd277f8 Fix stream not closing Andy Wang 2019-10-15 22:06:11 +0100
  • 67159abcf4 Add tests Andy Wang 2019-10-15 21:59:13 +0100
  • 6580e38e44 Introduce a special Session closing frame Andy Wang 2019-10-14 15:34:14 +0100
  • c9318dc90b Fix potential deadlocks Andy Wang 2019-10-08 23:11:16 +0100
  • dd61c35356 Update diagram Andy Wang 2019-09-22 11:24:54 +0100
  • 2e10b067cb Fix typo Andy Wang 2019-09-22 10:47:10 +0100
  • 96215f116a Fix #61 Andy Wang 2019-09-22 10:44:16 +0100
  • 8c477fb2b5 Default StreamTimeout to 300 seconds v2.1.1 Andy Wang 2019-09-21 16:47:02 +0100
  • 2c9bfc404c Update dependencies in README.md v2.1.0 Andy Wang 2019-09-21 16:28:53 +0100
  • 52720ca52f RedirAddr backward compatibility Andy Wang 2019-09-21 16:17:43 +0100
  • 07dca1f448
    Update README.md Andy Wang 2019-09-21 11:31:34 +0100
  • c03edc34ed Update README.md Andy Wang 2019-09-20 18:14:29 +0100
  • eec295a00e Remove unnecessary pointer value Andy Wang 2019-09-15 21:33:35 +0100
  • 8a6f6b6088 Minor error prompt and listen to :80 and :443 by default Andy Wang 2019-09-15 18:11:23 +0100
  • 63f3b4a89f Allow server to listen on multiple ports Andy Wang 2019-09-15 15:29:29 +0100
  • 935b481ad2 Fix example config indent Andy Wang 2019-09-02 14:06:07 +0100
  • e2d4ab7376 Use non-pointer receiver instead Andy Wang 2019-09-02 14:04:52 +0100
  • 98b77afb91 websocket over TLS Andy Wang 2019-09-02 14:03:10 +0100
  • 854dc422a2 Update some comments Andy Wang 2019-09-01 23:14:28 +0100
  • 339b324946 Working direct WebSocket transport Andy Wang 2019-09-01 20:23:45 +0100
  • f47f57a59f Direct WebSocket Andy Wang 2019-09-01 01:33:34 +0100
  • 3a28bb65d5 Refactor touchStone Andy Wang 2019-08-31 21:40:50 +0100
  • a3c3c5dc07 Client side plain websocket Andy Wang 2019-08-31 18:01:39 +0100
  • 75dc91c15c Fix wrong wait type Andy Wang 2019-08-31 15:33:23 +0100
  • 4861efbc50 Fix #54 Andy Wang 2019-08-31 15:32:57 +0100
  • 2dcb105005 Allow ProxyMethod to be set as command line argument Andy Wang 2019-08-30 22:45:42 +0100
  • 31898dad63 Change the way user termination works Andy Wang 2019-08-30 22:14:45 +0100
  • 9dacb9d8fd Handle closing frame properly in datagramBuffer Andy Wang 2019-08-30 21:00:15 +0100
  • 3bfaa5c1c1 Receiving a closing frame no longer returns error on Write Andy Wang 2019-08-30 20:50:39 +0100
  • 0bc48a5a2e Remove redundant err checking TODO Andy Wang 2019-08-30 20:45:06 +0100
  • 3f532ae065 writeFrame returns error Andy Wang 2019-08-30 20:43:04 +0100
  • a131af3439 Remove unnecessary Len check Andy Wang 2019-08-30 20:39:23 +0100
  • cfa0a97edf Rename a test set Andy Wang 2019-08-30 17:07:08 +0100
  • 59f2fe04e3 Use normal Read in ReadTLS instead of ReadFull Andy Wang 2019-08-30 14:38:31 +0100
  • 4fb1f55e2d Use 64bit frame Seq to prevent nonce reuse Andy Wang 2019-08-27 15:06:28 +0100
  • 2006e5971a Refactor frameSorter and datagramBuffer under one interface Andy Wang 2019-08-22 11:48:10 +0100
  • c3ff3f5d1a Fix the weird nil pointer again Andy Wang 2019-08-21 13:14:23 +0100
  • bbb0d35e80 Remove conns from map once switchboard.CloseAll is called Andy Wang 2019-08-20 23:15:36 +0100
  • 8b99e419b3 Check buffer length for datagramBuffer.Read() in case the datagram is larger than the buffer Andy Wang 2019-08-20 22:50:58 +0100
  • 46c02d17f4 Refactor InitState Andy Wang 2019-08-20 22:48:01 +0100
  • 87a7684e10 More comments Andy Wang 2019-08-20 22:43:04 +0100
  • c44a061cbe Remove a redundant argument Andy Wang 2019-08-20 20:25:07 +0100
  • c720b65d69 Change a verbose logging to trace Andy Wang 2019-08-20 17:46:36 +0100
  • dd4a1769d0 Refactor new session authorisation Andy Wang 2019-08-20 17:35:17 +0100
  • eabe113547 Add Stream Timeout Andy Wang 2019-08-19 23:23:41 +0100