zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arshadmohammad <...@git.apache.org>
Subject [GitHub] zookeeper pull request #179: ZOOKEEPER-2693: DOS attack on wchp/wchc four le...
Date Fri, 03 Mar 2017 05:43:34 GMT
Github user arshadmohammad commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/179#discussion_r104092091
  
    --- Diff: src/java/test/org/apache/zookeeper/ZKTestCase.java ---
    @@ -51,6 +51,12 @@ public void starting(FrameworkMethod method) {
                 // accidentally attempting to start multiple admin servers on the
                 // same port.
                 System.setProperty("zookeeper.admin.enableServer", "false");
    +            // ZOOKEEPER-2693 disables all 4lw by default.
    +            // Here we enable the 4lw which ZooKeeper tests depends.
    +            System.setProperty("zookeeper.4lw.commands.whitelist",
    +                    "ruok, envi, conf, stat, srvr, cons, dump," +
    --- End diff --
    
    In test cases it is fine to enable all the commands, use zookeeper.4lw.commands.whitelist=*
instead of list of commands


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message