zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From afine <...@git.apache.org>
Subject [GitHub] zookeeper pull request #184: ZOOKEEPER-236: SSL Support for Atomic Broadcast...
Date Mon, 06 Mar 2017 23:19:11 GMT
GitHub user afine opened a pull request:


    ZOOKEEPER-236: SSL Support for Atomic Broadcast protocol [DO NOT MERGE]

    This is a work in progress, I wanted to get some feedback from the community while I worked
on this. Please do not merge yet. Tests, documentation, and some cleanup still coming. 
    This is a first pass at ssl support for the zookeeper quorum. It supports encrypting both
leader election and normal operation.
    Rolling upgrades are supported via port unification (`portUnification=true`). This should
only be used while performing a rolling upgrade.
    Some open questions:
    - Anyone have any ideas for better names for the configuration options (`sslQuorum` and
`portUnification` currently).
    - I am using the same configuration that points to the truststore/keystore used for server
<-> client ssl. Do they need to be separate?
    - Is port unification the correct approach for rolling upgrades? Is the impact from the
use of `BufferedSocket`s during the upgrade acceptable? See: http://stackoverflow.com/questions/25637039/detecting-ssl-connection-and-converting-socket-to-sslsocket
    - server <-> client ssl is implemented with netty. I did not feel that rewriting
our server <-> server logic with netty was necessary given how easy ssl was to implement
with standard java `SSLSocket`s. Any arguments to the contrary?

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/afine/zookeeper ZOOKEEPER-236

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #184
commit db33552046dea7e8e850945da4f18d18644d8ee5
Author: Abraham Fine <afine@apache.org>
Date:   2017-03-06T23:12:59Z

    ZOOKEEPER-236: SSL Support for Atomic Broadcast protocol


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