|
|
Chromium Code Reviews
Description[Sync] Enable Compression from Client to Server by experiment
Add padding to sync protobuff for mitigating CRIME attacks.
BUG=653629
Committed: https://crrev.com/56d48222c5118c41a4233f75b627ff7d6d1ae268
Cr-Commit-Position: refs/heads/master@{#426343}
Patch Set 1 #Patch Set 2 : use experience to control compression #
Total comments: 4
Patch Set 3 : comments #Patch Set 4 : rebase #
Total comments: 2
Messages
Total messages: 54 (38 generated)
The CQ bit was checked by gangwu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...)
The CQ bit was checked by gangwu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Patchset #2 (id:20001) has been deleted
Description was changed from ========== prototype BUG= ========== to ========== [Sync] Enable Compression from Client to Server by experiment Add padding to sync protobuff for mitigating CRIME attacks. BUG= ==========
Description was changed from ========== [Sync] Enable Compression from Client to Server by experiment Add padding to sync protobuff for mitigating CRIME attacks. BUG= ========== to ========== [Sync] Enable Compression from Client to Server by experiment Add padding to sync protobuff for mitigating CRIME attacks. BUG=653629 ==========
Patchset #3 (id:60001) has been deleted
The CQ bit was checked by gangwu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #2 (id:40001) has been deleted
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
gangwu@chromium.org changed reviewers: + zea@chromium.org
PTAL
LGTM with some nits https://codereview.chromium.org/2380143002/diff/80001/components/sync/engine_... File components/sync/engine_impl/commit.cc (right): https://codereview.chromium.org/2380143002/diff/80001/components/sync/engine_... components/sync/engine_impl/commit.cc:62: commit_message->set_padding(base::RandBytesAsString(256)); prefer having the length defined at the top of file as a const size_t. As part of that definition, comment why 256 was chosen. https://codereview.chromium.org/2380143002/diff/80001/components/sync/protoco... File components/sync/protocol/sync.proto (right): https://codereview.chromium.org/2380143002/diff/80001/components/sync/protoco... components/sync/protocol/sync.proto:436: // attacks when sync communicate from client to server. Call out that this is a 256 byte random string. Also mention that this is explicitly for clients with compression of client to server data enabled. If no compression is used, this should not be set.
The CQ bit was checked by gangwu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
https://codereview.chromium.org/2380143002/diff/80001/components/sync/engine_... File components/sync/engine_impl/commit.cc (right): https://codereview.chromium.org/2380143002/diff/80001/components/sync/engine_... components/sync/engine_impl/commit.cc:62: commit_message->set_padding(base::RandBytesAsString(256)); On 2016/10/18 20:23:08, Nicolas Zea wrote: > prefer having the length defined at the top of file as a const size_t. As part > of that definition, comment why 256 was chosen. Done. https://codereview.chromium.org/2380143002/diff/80001/components/sync/protoco... File components/sync/protocol/sync.proto (right): https://codereview.chromium.org/2380143002/diff/80001/components/sync/protoco... components/sync/protocol/sync.proto:436: // attacks when sync communicate from client to server. On 2016/10/18 20:23:08, Nicolas Zea wrote: > Call out that this is a 256 byte random string. > > Also mention that this is explicitly for clients with compression of client to > server data enabled. If no compression is used, this should not be set. Done.
The CQ bit was checked by gangwu@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from zea@chromium.org Link to the patchset: https://codereview.chromium.org/2380143002/#ps100001 (title: "comments")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
The CQ bit was checked by gangwu@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
The CQ bit was checked by gangwu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by gangwu@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from zea@chromium.org Link to the patchset: https://codereview.chromium.org/2380143002/#ps120001 (title: "rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
gangwu@chromium.org changed reviewers: + isherman@chromium.org
Hi isherman, Please review for compression.
https://codereview.chromium.org/2380143002/diff/120001/components/sync/BUILD.gn File components/sync/BUILD.gn (right): https://codereview.chromium.org/2380143002/diff/120001/components/sync/BUILD.... components/sync/BUILD.gn:564: "//third_party/zlib:compression_utils", Did you just want me to review this added dependency? If so, LGTM.
Thanks! https://codereview.chromium.org/2380143002/diff/120001/components/sync/BUILD.gn File components/sync/BUILD.gn (right): https://codereview.chromium.org/2380143002/diff/120001/components/sync/BUILD.... components/sync/BUILD.gn:564: "//third_party/zlib:compression_utils", On 2016/10/19 23:35:56, Ilya Sherman wrote: > Did you just want me to review this added dependency? If so, LGTM. Yes, for this dependency.
The CQ bit was checked by gangwu@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Failed to apply the patch. On branch working_branch Your branch is up-to-date with 'origin/refs/pending/heads/master'. nothing to commit, working tree clean
Message was sent while issue was closed.
It seems the code already committed, and can see this CL in codesearch, so close this.
Message was sent while issue was closed.
Description was changed from ========== [Sync] Enable Compression from Client to Server by experiment Add padding to sync protobuff for mitigating CRIME attacks. BUG=653629 ========== to ========== [Sync] Enable Compression from Client to Server by experiment Add padding to sync protobuff for mitigating CRIME attacks. BUG=653629 Committed: https://crrev.com/56d48222c5118c41a4233f75b627ff7d6d1ae268 Cr-Commit-Position: refs/heads/master@{#426343} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/56d48222c5118c41a4233f75b627ff7d6d1ae268 Cr-Commit-Position: refs/heads/master@{#426343} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
