Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1039)

Issue 14999008: Add a killswitch for CSD malware IP match and report feature. Use a new killswitch whitelist URL wh… (Closed)

Created:
7 years, 7 months ago by kewang
Modified:
7 years, 6 months ago
Reviewers:
Brian Ryner, lucasballard, commit-bot: I haz the power, mattm, noé
CC:
chromium-reviews
Visibility:
Public.

Description

Add a killswitch for CSD malware IP match and report feature. Use a new killswitch whitelist URL which is part of the CSD whitelist. BUG=176647 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203400

Patch Set 1 #

Total comments: 8

Patch Set 2 : Put the malware killswitch variable directly in host.cc file. #

Patch Set 3 : Revert the service files. #

Total comments: 4

Patch Set 4 : Address review comments #

Total comments: 6

Patch Set 5 : Address review comments. Put the killswitch value check back to IO thread. #

Patch Set 6 : Review comment and add unittest #

Total comments: 4

Patch Set 7 : Directly call ContainsWhitelistedHashes to check the killswith #

Patch Set 8 : Address review comment, call ContainsWhitelistedHashes to check killswitch #

Total comments: 2

Patch Set 9 : fix a nit comment #

Patch Set 10 : git pull merge #

Patch Set 11 : Fix the browser test #

Patch Set 12 : git merge #

Patch Set 13 : fix the bug of 'and' -> && #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -6 lines) Patch
M chrome/browser/safe_browsing/client_side_detection_host.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/database_manager.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/database_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database.h View 1 2 3 4 5 6 7 8 9 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +21 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
kewang
Unittests will come after if this approach is okay.
7 years, 7 months ago (2013-05-09 07:16:15 UTC) #1
Brian Ryner
I'm not sure I follow why you store the killswitch status in ClientSideDetectionService, rather than ...
7 years, 7 months ago (2013-05-09 20:31:36 UTC) #2
kewang
On Fri, May 10, 2013 at 4:31 AM, <bryner@chromium.org> wrote: > I'm not sure I ...
7 years, 7 months ago (2013-05-09 22:49:13 UTC) #3
kewang
On 2013/05/09 22:49:13, kewang wrote: > On Fri, May 10, 2013 at 4:31 AM, <mailto:bryner@chromium.org> ...
7 years, 7 months ago (2013-05-13 06:15:17 UTC) #4
mattm
https://codereview.chromium.org/14999008/diff/1/chrome/browser/safe_browsing/safe_browsing_database.h File chrome/browser/safe_browsing/safe_browsing_database.h (right): https://codereview.chromium.org/14999008/diff/1/chrome/browser/safe_browsing/safe_browsing_database.h#newcode168 chrome/browser/safe_browsing/safe_browsing_database.h:168: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa https://codereview.chromium.org/14999008/diff/1/chrome/browser/safe_browsing/safe_browsing_database.h#newcode284 chrome/browser/safe_browsing/safe_browsing_database.h:284: virtual bool GetMalwareKillSwitch() const { name ...
7 years, 7 months ago (2013-05-13 20:39:25 UTC) #5
Brian Ryner
On 2013/05/09 22:49:13, kewang wrote: > On Fri, May 10, 2013 at 4:31 AM, <mailto:bryner@chromium.org> ...
7 years, 7 months ago (2013-05-13 23:26:32 UTC) #6
kewang
https://codereview.chromium.org/14999008/diff/1/chrome/browser/safe_browsing/safe_browsing_database.h File chrome/browser/safe_browsing/safe_browsing_database.h (right): https://codereview.chromium.org/14999008/diff/1/chrome/browser/safe_browsing/safe_browsing_database.h#newcode168 chrome/browser/safe_browsing/safe_browsing_database.h:168: On 2013/05/13 20:39:25, mattm wrote: > aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa yes, this ...
7 years, 7 months ago (2013-05-14 08:21:40 UTC) #7
mattm
https://codereview.chromium.org/14999008/diff/10001/chrome/browser/safe_browsing/client_side_detection_host.cc File chrome/browser/safe_browsing/client_side_detection_host.cc (right): https://codereview.chromium.org/14999008/diff/10001/chrome/browser/safe_browsing/client_side_detection_host.cc#newcode388 chrome/browser/safe_browsing/client_side_detection_host.cc:388: if (!malware_killswitch_on_) { On 2013/05/14 08:21:41, kewang wrote: > ...
7 years, 7 months ago (2013-05-15 07:12:37 UTC) #8
kewang
https://codereview.chromium.org/14999008/diff/10001/chrome/browser/safe_browsing/client_side_detection_host.cc File chrome/browser/safe_browsing/client_side_detection_host.cc (right): https://codereview.chromium.org/14999008/diff/10001/chrome/browser/safe_browsing/client_side_detection_host.cc#newcode388 chrome/browser/safe_browsing/client_side_detection_host.cc:388: if (!malware_killswitch_on_) { On 2013/05/15 07:12:37, mattm wrote: > ...
7 years, 7 months ago (2013-05-15 13:45:07 UTC) #9
mattm
https://codereview.chromium.org/14999008/diff/15001/chrome/browser/safe_browsing/database_manager.cc File chrome/browser/safe_browsing/database_manager.cc (right): https://codereview.chromium.org/14999008/diff/15001/chrome/browser/safe_browsing/database_manager.cc#newcode280 chrome/browser/safe_browsing/database_manager.cc:280: return database_->MalwareIPMatchKillSwitchOn(); On 2013/05/15 13:45:07, kewang wrote: > On ...
7 years, 7 months ago (2013-05-15 23:46:26 UTC) #10
kewang
I found there are two whitelists: csd_whitelist and download_whitelist. I assume the malware IP killswitch ...
7 years, 7 months ago (2013-05-20 10:23:37 UTC) #11
mattm
https://codereview.chromium.org/14999008/diff/32001/chrome/browser/safe_browsing/safe_browsing_database.cc File chrome/browser/safe_browsing/safe_browsing_database.cc (right): https://codereview.chromium.org/14999008/diff/32001/chrome/browser/safe_browsing/safe_browsing_database.cc#newcode1438 chrome/browser/safe_browsing/safe_browsing_database.cc:1438: if (!check_malware_killswitch) { I tihnk it would be clearer ...
7 years, 7 months ago (2013-05-21 02:14:09 UTC) #12
kewang
https://codereview.chromium.org/14999008/diff/32001/chrome/browser/safe_browsing/safe_browsing_database.cc File chrome/browser/safe_browsing/safe_browsing_database.cc (right): https://codereview.chromium.org/14999008/diff/32001/chrome/browser/safe_browsing/safe_browsing_database.cc#newcode1438 chrome/browser/safe_browsing/safe_browsing_database.cc:1438: if (!check_malware_killswitch) { On 2013/05/21 02:14:09, mattm wrote: > ...
7 years, 7 months ago (2013-05-22 10:14:00 UTC) #13
mattm
lgtm with nit https://codereview.chromium.org/14999008/diff/43001/chrome/browser/safe_browsing/safe_browsing_database.h File chrome/browser/safe_browsing/safe_browsing_database.h (right): https://codereview.chromium.org/14999008/diff/43001/chrome/browser/safe_browsing/safe_browsing_database.h#newcode357 chrome/browser/safe_browsing/safe_browsing_database.h:357: // and |malware_kill_switch_|. update comment
7 years, 7 months ago (2013-05-23 06:59:40 UTC) #14
kewang
https://codereview.chromium.org/14999008/diff/43001/chrome/browser/safe_browsing/safe_browsing_database.h File chrome/browser/safe_browsing/safe_browsing_database.h (right): https://codereview.chromium.org/14999008/diff/43001/chrome/browser/safe_browsing/safe_browsing_database.h#newcode357 chrome/browser/safe_browsing/safe_browsing_database.h:357: // and |malware_kill_switch_|. On 2013/05/23 06:59:41, mattm wrote: > ...
7 years, 7 months ago (2013-05-23 08:22:33 UTC) #15
mattm
lgtm
7 years, 7 months ago (2013-05-23 19:37:02 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kewang@google.com/14999008/50001
7 years, 7 months ago (2013-05-23 19:38:01 UTC) #17
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-23 20:13:59 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kewang@google.com/14999008/100001
7 years, 6 months ago (2013-05-31 11:56:54 UTC) #19
commit-bot: I haz the power
7 years, 6 months ago (2013-05-31 13:32:09 UTC) #20
Message was sent while issue was closed.
Change committed as 203400

Powered by Google App Engine
This is Rietveld 408576698