Commit Graph

  • 57bb437802
    Log timestamp Andy Wang 2020-12-27 20:27:04 +0000
  • d1b05ee9e5
    Add new encryption method option aes-128-gcm v2.5.0 Andy Wang 2020-12-27 13:26:45 +0000
  • cbd71fae6d
    Control flow optimisations Andy Wang 2020-12-26 16:34:25 +0000
  • 3ad04aa7e9
    Add latency benchmark Andy Wang 2020-12-26 15:36:38 +0000
  • 2d08e88efb
    Use a sync.Pool to remove the global random bottleneck in picking a random conn Andy Wang 2020-12-26 13:48:42 +0000
  • 415523f10a
    Refactor obfuscate and deobfuscate functions to reduce a layer of indirection Andy Wang 2020-12-26 00:49:36 +0000
  • 2f17841f85
    Use Compare-And-Swap for atomic booleans indicating session and switchboard closed Andy Wang 2020-12-25 23:16:57 +0000
  • 4f34e69006
    Use pooled buffer for session closing frame Andy Wang 2020-12-24 13:42:22 +0000
  • 881f6e6f9d
    Use sync.Pool for obfuscation buffer Andy Wang 2020-12-24 11:35:29 +0000
  • 5933ad8781
    Replace bytes.Buffer with vanilla []byte in tls wrapper Andy Wang 2020-12-24 10:26:53 +0000
  • 4209483a48
    Reduce memory pressure in tests Andy Wang 2020-12-23 23:58:47 +0000
  • 3b24c33e78
    Remove incorrect concurrent uses of testing.T.Fatal Andy Wang 2020-12-23 23:12:51 +0000
  • 70a9723377
    Temp fix to testing reading after closing a stream Andy Wang 2020-12-23 22:34:26 +0000
  • a97f5759c0
    Fix race condition in tests Andy Wang 2020-12-23 22:34:12 +0000
  • 0209bcd977
    Fix race condition in steam closing. Fall back to temp buffer allocation Andy Wang 2020-12-23 22:33:01 +0000
  • 53f0116c1d
    Fix race condition in the use of assert.Eventually Andy Wang 2020-12-23 17:43:18 +0000
  • 9108794362
    Fix race condition in allocating obfsBuf Andy Wang 2020-12-23 17:42:54 +0000
  • 5c5e9f8c14
    Prevent unnecessary allocation in stream closing Andy Wang 2020-12-23 17:28:28 +0000
  • 3e737717bd
    Use assert.Eventually to correctly handle more timing sensitive tests Andy Wang 2020-12-23 12:25:58 +0000
  • dc030fbb47
    Implement UDP stream timeout. (#148) 不确定 2020-12-23 02:43:38 +0200
  • e3ba82caac
    Code style changes and unlock mutex when failed to open stream Andy Wang 2020-12-23 00:38:42 +0000
  • a26a2e84a4 Use a mutex instead of sync.Map in RouteUDP. notsure2 2020-12-23 02:32:13 +0200
  • 4d1612774f
    Use a buffer pool to reduce contentions in tls wrapper Andy Wang 2020-12-23 00:02:25 +0000
  • 874d30c512 Implement UDP stream timeout. notsure2 2020-12-22 23:31:15 +0200
  • 35f41424c9
    Use default hashmap to store streams. Avoid allocating a stream object on receiving every single frame Andy Wang 2020-12-22 20:07:17 +0000
  • fd5005db0a
    Fix a timing sensitive test on reading data after actively closing a stream Andy Wang 2020-12-22 20:16:47 +0000
  • ff503b06a8
    Only allocate and copy frame object into sorter heap when necessary (out of order frame) Andy Wang 2020-12-22 19:39:13 +0000
  • 5a3f63f101
    Reduce allocation of frame objects on receiving data Andy Wang 2020-12-22 14:45:29 +0000
  • 104117cafb
    Fix one instance of not accessing recvBuf via the getter Andy Wang 2020-12-22 14:32:41 +0000
  • 4bc80af9a1
    Lazily allocate stream receiving buffer Andy Wang 2020-12-22 14:12:00 +0000
  • badda76454
    Improve data receive benchmark Andy Wang 2020-12-22 13:40:37 +0000
  • 42f36b94d3
    Achieve zero allocation when writing data through stream Andy Wang 2020-12-22 13:16:48 +0000
  • 3633c9a03c
    Fix multiplex test as test payload length may be randomised to 0 Andy Wang 2020-12-22 12:39:39 +0000
  • c9ac93b0b9
    Refactor session_test.go Andy Wang 2020-12-21 20:38:28 +0000
  • de0daac123
    Update deprecated curve25519 functions and defend against low-order point attacks Andy Wang 2020-12-21 16:37:33 +0000
  • 0d3f8dd27f
    Allow DatabasePath to be empty if user info database is never used Andy Wang 2020-12-21 15:06:46 +0000
  • 298e6249e6
    Fixup build scripts v2.4.1 Andy Wang 2020-12-20 00:21:16 +0000
  • 0473d71bea
    Fix overflow in padding length calculation Andy Wang 2020-12-19 20:49:21 +0000
  • 1e41aabe7d
    Alter glob in release action Andy Wang 2020-12-19 20:37:42 +0000
  • c293cd3789
    Migrate off azure Andy Wang 2020-12-19 20:25:38 +0000
  • fa4ec77d71
    Remove Travis CI badge Andy Wang 2020-12-19 20:21:34 +0000
  • 4a37449d33
    Replace all time-sensitive tests with assert.Eventually Andy Wang 2020-12-19 20:14:43 +0000
  • 8d146582d2
    Add release action Andy Wang 2020-12-19 19:42:31 +0000
  • 005da456c0
    Fix timing sensitive tests Andy Wang 2020-12-19 19:30:53 +0000
  • 275540a793
    Fix commandline syntax Andy Wang 2020-12-19 19:21:36 +0000
  • 3728622f48
    Add github actions Andy Wang 2020-12-19 19:17:18 +0000
  • 2e36627a12
    Make AdminUID optional and implement better validation on empty config fields Andy Wang 2020-12-19 15:34:17 +0000
  • 21bcb53062
    Human friendly key and uid generators Andy Wang 2020-12-19 15:24:25 +0000
  • a803d20970
    Remove sensitive keys from example configs to prevent people from using them Andy Wang 2020-12-19 14:45:55 +0000
  • cfbf0dfcb6
    Fix critical bugs in session opening for TCP and UDP in case of Singleplex mode. (#145) 不确定 2020-12-19 16:42:10 +0200
  • 6b6b1b349f
    Explicit session.Close() call is indeed needed Andy Wang 2020-12-18 23:29:17 +0000
  • be53fa37a0
    Code style improvements Andy Wang 2020-12-18 23:26:00 +0000
  • 900387832d
    Fix race condition in session maker Andy Wang 2020-12-18 23:05:54 +0000
  • 22148852dc Fix race in integration test. notsure2 2020-12-14 10:12:11 +0200
  • 4dabcd22eb Fix critical bugs in session opening for TCP and UDP in case of Singleplex mode. notsure2 2020-12-14 08:52:11 +0200
  • 7b6a82b364
    Remove StreamTimeout from ckserver's example config Andy Wang 2020-12-13 12:37:25 +0000
  • c3ee9f2127
    Merge branch 'master' of github.com:cbeuw/Cloak v2.4.0 Andy Wang 2020-12-12 20:45:14 +0000
  • a72273096a
    Add CdnHttpHost config setting with documentation. (#143) 不确定 2020-12-12 22:40:48 +0200
  • 93c355d2a6
    Rename CdnHttpHost to CDNOriginHost and make README more concise Andy Wang 2020-12-12 18:17:26 +0000
  • d5a003d6d6
    Remove StreamTimeout from server completely Andy Wang 2020-12-12 17:51:54 +0000
  • e77fd4c446
    Fix regression: termination of long downloads after StreamTimeout seconds (#141) 不确定 2020-12-12 19:00:46 +0200
  • 9d6ab39a77 Revert changes to multiplex module. Remove timeout from caller. notsure2 2020-12-12 02:37:06 +0200
  • 57138e84e5
    Merge branch 'master' of github.com:cbeuw/Cloak Andy Wang 2020-12-11 19:52:54 +0000
  • caca33a1a5 Respect user choice of ProxyMethod in shadowsocks plugin mode. notsure2 2020-12-07 22:28:03 +0200
  • cd20c62738 Add CdnHttpHost config setting with documentation. notsure2 2020-12-11 05:09:18 +0200
  • 35e1129e05 Enforce StreamTimeout on the initial bytes sent by localConn only. notsure2 2020-12-09 02:03:52 +0200
  • 2a18da037f Fix Cloak client. Don't enforce read deadline after first read. notsure2 2020-12-08 22:43:08 +0200
  • 62853681b7 Respect user choice of ProxyMethod in shadowsocks plugin mode. notsure2 2020-12-07 22:28:03 +0200
  • 3d103e728c When timeout no longer needs to be enforced, no need to schedule a broadcast. notsure2 2020-12-07 14:22:39 +0200
  • ee5968afee Fix termination of long downloads after StreamTimeout seconds. notsure2 2020-12-06 05:31:50 +0200
  • 061b10e802
    Improve tests code quality Andy Wang 2020-12-06 11:14:33 +0000
  • 61b1031da6
    Reduce code duplication in session closing Andy Wang 2020-12-06 10:50:45 +0000
  • 46f4235ccb
    Update readme v2.3.2 Andy Wang 2020-12-05 21:16:04 +0000
  • 0482d28f86
    Merge pull request #138 from notsure2/explicit-stop-timer Andy Wang 2020-12-06 00:53:30 +0000
  • 0327d0ffb3
    Further reduce the amount of calls to AfterFunc Andy Wang 2020-12-06 00:16:29 +0000
  • 208a7f249f Fix memory leaking by extra timers. notsure2 2020-12-06 01:47:52 +0200
  • c0040f20c3
    Use time.AfterFunc for session inactivity timeout to reduce goroutine count Andy Wang 2020-12-05 21:38:16 +0000
  • a3520c1018
    Revert "Prevent time.Timer memory leak by using a singleton timer in bufferedPipes. Fix #137" Andy Wang 2020-12-05 21:26:41 +0000
  • 4baca256f7
    Prevent time.Timer memory leak by using a singleton timer in bufferedPipes. Fix #137 Andy Wang 2020-12-05 12:04:55 +0000
  • af2c6b11f7
    Merge aa2d44d405 into 347bb0fad5 TensorTom 2020-12-05 04:32:51 +0200
  • 39c06a6e1d
    Update comment Andy Wang 2020-12-04 22:27:24 +0000
  • ebce40ce2d
    Update README Andy Wang 2020-12-04 22:26:49 +0000
  • 347bb0fad5
    Tweak CI Andy Wang 2020-12-01 14:06:30 +0000
  • f1c656758f
    Update azure release script v2.3.1 Andy Wang 2020-11-29 12:43:45 +0000
  • f19666a6cd
    #135 Disable CGO to prevent Go from dynamically linking libc on native compilation Andy Wang 2020-11-29 12:36:20 +0000
  • 095471103a
    Fix timestamp tests Andy Wang 2020-11-24 19:00:02 +0000
  • b7e7bfb314
    Make sure times are UTC and correctly subtract the timestamp window from the server time. (#134) 不确定 2020-11-24 20:58:02 +0200
  • e19e2ef355 Make sure times are UTC and correctly subtract the timestamp window from the server time. notsure2 2020-11-23 05:14:03 +0200
  • aa2d44d405
    Improved Logo TensorTom 2020-10-23 14:41:27 -0400
  • 0f6e0d37b5 Rename constants to camel case Andy Wang 2020-10-21 16:42:24 +0100
  • 11cfeb4fa3 Improve comments Andy Wang 2020-10-21 16:37:32 +0100
  • 735975ef88 Fix typo and remove redundant benchmark Andy Wang 2020-10-21 15:53:39 +0100
  • 651854904f Improve comments Andy Wang 2020-10-21 00:54:36 +0100
  • 977f51ce48 Add comments Andy Wang 2020-10-20 01:10:57 +0100
  • 5af55d62d8 Update README.md v2.3.0 Andy Wang 2020-10-18 23:35:55 +0100
  • c564114f76 Allow retries in time sensitive tests Andy Wang 2020-10-18 23:06:49 +0100
  • ef040b0115 Fix stream closing tests Andy Wang 2020-10-18 22:56:31 +0100
  • 54bca721e8 Add tests for API handlers Andy Wang 2020-10-18 22:50:29 +0100
  • c5276df32e Check payload AEAD's size in relation to frame header's size Andy Wang 2020-10-18 21:41:30 +0100
  • e141323c9d Fix obfsBuf being too small on closing frame Andy Wang 2020-10-18 21:37:41 +0100