zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rakeshadr <...@git.apache.org>
Subject [GitHub] zookeeper pull request #179: ZOOKEEPER-2693: DOS attack on wchp/wchc four le...
Date Thu, 16 Feb 2017 17:28:53 GMT
Github user rakeshadr commented on a diff in the pull request:

    --- Diff: src/docs/src/documentation/content/xdocs/zookeeperAdmin.xml ---
    @@ -1155,6 +1155,30 @@ server.3=zoo3:2888:3888</programlisting>
    +          <varlistentry>
    +            <term>4lw.commands.whitelist</term>
    +            <listitem>
    +              <para>(Java system property: <emphasis
    --- End diff --
    >>This new configuration option is provided as both zoo.cfg option and system properties
so users can encode the white list in zoo.cfg and that is the recommended approach as documented
in the admin manual
    Do you meant, you are supporting both options - users can either configure the list in
`zoo.cfg` or set as `system properties`? If yes, I'm OK to this approach.  But in the code
I could see that server reads the value from `System.getProperty(ZOOKEEPER_4LW_COMMANDS_WHITELIST)`
and it is not reading the value from `zoo.cfg`

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.

View raw message