-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reconnect #2
Closed
Closed
Reconnect #2
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…e string. git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@790255 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@790636 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@794704 13f79535-47bb-0310-9956-ffa450edef68
…o socket reuse and failure to close client (phunt via mahadev) git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@794887 13f79535-47bb-0310-9956-ffa450edef68
…mahadev) git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@794899 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@794932 13f79535-47bb-0310-9956-ffa450edef68
…adev) git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@796045 13f79535-47bb-0310-9956-ffa450edef68
…ia mahadev) git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@796531 13f79535-47bb-0310-9956-ffa450edef68
…buted by Giridharan Kesavan) git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@798038 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@799452 13f79535-47bb-0310-9956-ffa450edef68
…failure. (chris via mahadev) git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@799460 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@799702 13f79535-47bb-0310-9956-ffa450edef68
…r) embedded clients git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@799741 13f79535-47bb-0310-9956-ffa450edef68
…ahadev) git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@800574 13f79535-47bb-0310-9956-ffa450edef68
…avio via mahadev) git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@800597 13f79535-47bb-0310-9956-ffa450edef68
…cert git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@800652 13f79535-47bb-0310-9956-ffa450edef68
…ng and add vote of follower (flavio via mahadev) git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@800891 13f79535-47bb-0310-9956-ffa450edef68
…o via mahadev) git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@800895 13f79535-47bb-0310-9956-ffa450edef68
… specified on the command line git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@800981 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@800990 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@801747 13f79535-47bb-0310-9956-ffa450edef68
…m follower to a leader. (mahadev) git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@801839 13f79535-47bb-0310-9956-ffa450edef68
…mplete git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@802108 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@802188 13f79535-47bb-0310-9956-ffa450edef68
…unt via mahadev) git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@802943 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@802964 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@802995 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@803000 13f79535-47bb-0310-9956-ffa450edef68
…via mahadev) git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@803300 13f79535-47bb-0310-9956-ffa450edef68
…rom the leader to the followers is buggy. (mahadev and ben via mahadev) git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@807484 13f79535-47bb-0310-9956-ffa450edef68
request to pull some commit
zhaxiancheng
pushed a commit
to zhaxiancheng/zookeeper
that referenced
this pull request
Sep 8, 2016
Fixed cluster scripting commands build test
zhaxiancheng
pushed a commit
to zhaxiancheng/zookeeper
that referenced
this pull request
Sep 8, 2016
Ssl tls support with tests
ztzg
pushed a commit
to ztzg/zookeeper
that referenced
this pull request
Aug 12, 2019
…apache#1 This first patch implements the zookeeper sasl operations, extends the zkServer.sh test script with the ability to start a sasl enabled server and adds a test that checks the initial DIGEST-MD5 response. It introduces no external requirements but provides zoo_sasl/zoo_asasl functions that allow applications (or the addon from patch apache#2) to communicate with the sasl server backend. Patch apache#2 will add a simple api for sasl authentication, patch apache#3 includes a sasl enabled command line client. (Forward-ported from https://reviews.apache.org/r/2252/ by Damien Diederen.)
ztzg
pushed a commit
to ztzg/zookeeper
that referenced
this pull request
Aug 12, 2019
…apache#2 2nd patch * provides a simple api for sasl authentication (zoo_sasl_init, zoo_sasl_connect, zoo_sasl_authenticate) * requires libsasl2 (and plugins) * autoconf/make configuration * test for digest-md5 authentication * extended configuration for digest-md5 sasl server required by sasl2 (Forward-ported from https://reviews.apache.org/r/2315/ by Damien Diederen.)
ztzg
pushed a commit
to ztzg/zookeeper
that referenced
this pull request
Aug 14, 2019
…apache#2 2nd patch * provides a simple api for sasl authentication (zoo_sasl_init, zoo_sasl_connect, zoo_sasl_authenticate) * requires libsasl2 (and plugins) * autoconf/make configuration * test for digest-md5 authentication * extended configuration for digest-md5 sasl server required by sasl2 (Forward-ported from https://reviews.apache.org/r/2315/ by Damien Diederen.)
ztzg
pushed a commit
to ztzg/zookeeper
that referenced
this pull request
Aug 21, 2019
…apache#2 2nd patch * provides a simple api for sasl authentication (zoo_sasl_init, zoo_sasl_connect, zoo_sasl_authenticate) * requires libsasl2 (and plugins) * autoconf/make configuration * test for digest-md5 authentication * extended configuration for digest-md5 sasl server required by sasl2 (Forward-ported from https://reviews.apache.org/r/2315/ by Damien Diederen.)
ztzg
pushed a commit
to ztzg/zookeeper
that referenced
this pull request
Aug 25, 2019
…apache#1 This first patch implements the zookeeper sasl operations, extends the zkServer.sh test script with the ability to start a sasl enabled server and adds a test that checks the initial DIGEST-MD5 response. It introduces no external requirements but provides zoo_sasl/zoo_asasl functions that allow applications (or the addon from patch apache#2) to communicate with the sasl server backend. Patch apache#2 will add a simple api for sasl authentication, patch apache#3 includes a sasl enabled command line client. (Forward-ported from https://reviews.apache.org/r/2252/ by Damien Diederen.)
ztzg
pushed a commit
to ztzg/zookeeper
that referenced
this pull request
Aug 25, 2019
…apache#2 2nd patch * provides a simple api for sasl authentication (zoo_sasl_init, zoo_sasl_connect, zoo_sasl_authenticate) * requires libsasl2 (and plugins) * autoconf/make configuration * test for digest-md5 authentication * extended configuration for digest-md5 sasl server required by sasl2 (Forward-ported from https://reviews.apache.org/r/2315/ by Damien Diederen.)
ztzg
pushed a commit
to ztzg/zookeeper
that referenced
this pull request
Sep 19, 2019
…apache#1 This first patch implements the zookeeper sasl operations, extends the zkServer.sh test script with the ability to start a sasl enabled server and adds a test that checks the initial DIGEST-MD5 response. It introduces no external requirements but provides zoo_sasl/zoo_asasl functions that allow applications (or the addon from patch apache#2) to communicate with the sasl server backend. Patch apache#2 will add a simple api for sasl authentication, patch apache#3 includes a sasl enabled command line client. (Forward-ported from https://reviews.apache.org/r/2252/ by Damien Diederen.)
ztzg
pushed a commit
to ztzg/zookeeper
that referenced
this pull request
Sep 19, 2019
…apache#2 2nd patch * provides a simple api for sasl authentication (zoo_sasl_init, zoo_sasl_connect, zoo_sasl_authenticate) * requires libsasl2 (and plugins) * autoconf/make configuration * test for digest-md5 authentication * extended configuration for digest-md5 sasl server required by sasl2 (Forward-ported from https://reviews.apache.org/r/2315/ by Damien Diederen.)
ztzg
added a commit
to ztzg/zookeeper
that referenced
this pull request
Nov 6, 2019
…ibrary This changeset allows C clients to use SASL to authenticate with the ZooKeeper server. It is loosely based on patches apache#1 and apache#2 by Tom Klonikowski, at https://reviews.apache.org/r/2252/, but the result has been extensively reworked to follow the semantics of the Java client: * No SASL operations are exposed through the API; * The configuration is provided, and stored, at "handle init time"; * SASL authentication is automatically performed after each (re)connect. It introduces an optional dependency on the Cyrus SASL library, which can either be autodetected (default) or configured using the --without-sasl/--with-sasl[=DIR] flags. TestServerRequireClientSASLAuth.cc has been renamed to TestSASLAuth.cc, and a test has been added which successfully (re)authenticates using the DIGEST-MD5 mechanism. An earlier version of this code has been used to successfully authenticate clients via Kerberos. While cli.c is not modified by this commit, we are planning to submit a subsequent contribution which enables SASL support in that client using the ZOOKEEPER-3599 (use getopt if available) mechanism. Co-authored-by: Tom Klonikowski <[email protected]>
ztzg
added a commit
to ztzg/zookeeper
that referenced
this pull request
Nov 19, 2019
…ibrary This changeset allows C clients to use SASL to authenticate with the ZooKeeper server. It is loosely based on patches apache#1 and apache#2 by Tom Klonikowski, at https://reviews.apache.org/r/2252/, but the result has been extensively reworked to follow the semantics of the Java client: * No SASL operations are exposed through the API; * The configuration is provided, and stored, at "handle init time"; * SASL authentication is automatically performed after each (re)connect. It introduces an optional dependency on the Cyrus SASL library, which can either be autodetected (default) or configured using the --without-sasl/--with-sasl[=DIR] flags. TestServerRequireClientSASLAuth.cc has been renamed to TestSASLAuth.cc, and a test has been added which successfully (re)authenticates using the DIGEST-MD5 mechanism. An earlier version of this code has been used to successfully authenticate clients via Kerberos. While cli.c is not modified by this commit, we are planning to submit a subsequent contribution which enables SASL support in that client using the ZOOKEEPER-3599 (use getopt if available) mechanism. Co-authored-by: Tom Klonikowski <[email protected]>
ztzg
added a commit
to ztzg/zookeeper
that referenced
this pull request
Nov 21, 2019
…ibrary This changeset allows C clients to use SASL to authenticate with the ZooKeeper server. It is loosely based on patches apache#1 and apache#2 by Tom Klonikowski, at https://reviews.apache.org/r/2252/, but the result has been extensively reworked to follow the semantics of the Java client: * No SASL operations are exposed through the API; * The configuration is provided, and stored, at "handle init time"; * SASL authentication is automatically performed after each (re)connect. It introduces an optional dependency on the Cyrus SASL library, which can either be autodetected (default) or configured using the --without-sasl/--with-sasl[=DIR] flags. TestServerRequireClientSASLAuth.cc has been renamed to TestSASLAuth.cc, and a test has been added which successfully (re)authenticates using the DIGEST-MD5 mechanism. An earlier version of this code has been used to successfully authenticate clients via Kerberos. While cli.c is not modified by this commit, we are planning to submit a subsequent contribution which enables SASL support in that client using the ZOOKEEPER-3599 (use getopt if available) mechanism. Co-authored-by: Tom Klonikowski <[email protected]>
ztzg
added a commit
to ztzg/zookeeper
that referenced
this pull request
Dec 12, 2019
…ibrary This changeset allows C clients to use SASL to authenticate with the ZooKeeper server. It is loosely based on patches apache#1 and apache#2 by Tom Klonikowski, at https://reviews.apache.org/r/2252/, but the result has been extensively reworked to follow the semantics of the Java client: * No SASL operations are exposed through the API; * The configuration is provided, and stored, at "handle init time"; * SASL authentication is automatically performed after each (re)connect. It introduces an optional dependency on the Cyrus SASL library, which can either be autodetected (default) or configured using the --without-sasl/--with-sasl[=DIR] flags. TestServerRequireClientSASLAuth.cc has been renamed to TestSASLAuth.cc, and a test has been added which successfully (re)authenticates using the DIGEST-MD5 mechanism. An earlier version of this code has been used to successfully authenticate clients via Kerberos. While cli.c is not modified by this commit, we are planning to submit a subsequent contribution which enables SASL support in that client using the ZOOKEEPER-3599 (use getopt if available) mechanism. Co-authored-by: Tom Klonikowski <[email protected]>
ztzg
added a commit
to ztzg/zookeeper
that referenced
this pull request
Dec 12, 2019
…ibrary This changeset allows C clients to use SASL to authenticate with the ZooKeeper server. It is loosely based on patches apache#1 and apache#2 by Tom Klonikowski, at https://reviews.apache.org/r/2252/, but the result has been extensively reworked to follow the semantics of the Java client: * No SASL operations are exposed through the API; * The configuration is provided, and stored, at "handle init time"; * SASL authentication is automatically performed after each (re)connect. It introduces an optional dependency on the Cyrus SASL library, which can either be autodetected (default) or configured using the --without-sasl/--with-sasl[=DIR] flags. TestServerRequireClientSASLAuth.cc has been renamed to TestSASLAuth.cc, and a test has been added which successfully (re)authenticates using the DIGEST-MD5 mechanism. An earlier version of this code has been used to successfully authenticate clients via Kerberos. While cli.c is not modified by this commit, we are planning to submit a subsequent contribution which enables SASL support in that client using the ZOOKEEPER-3599 (use getopt if available) mechanism. Co-authored-by: Tom Klonikowski <[email protected]>
ztzg
added a commit
to ztzg/zookeeper
that referenced
this pull request
Dec 15, 2019
…ibrary This changeset allows C clients to use SASL to authenticate with the ZooKeeper server. It is loosely based on patches apache#1 and apache#2 by Tom Klonikowski, at https://reviews.apache.org/r/2252/, but the result has been extensively reworked to follow the semantics of the Java client: * No SASL operations are exposed through the API; * The configuration is provided, and stored, at "handle init time"; * SASL authentication is automatically performed after each (re)connect. It introduces an optional dependency on the Cyrus SASL library, which can either be autodetected (default) or configured using the --without-sasl/--with-sasl[=DIR] flags. TestServerRequireClientSASLAuth.cc has been renamed to TestSASLAuth.cc, and a test has been added which successfully (re)authenticates using the DIGEST-MD5 mechanism. An earlier version of this code has been used to successfully authenticate clients via Kerberos. While cli.c is not modified by this commit, we are planning to submit a subsequent contribution which enables SASL support in that client using the ZOOKEEPER-3599 (use getopt if available) mechanism. Co-authored-by: Tom Klonikowski <[email protected]>
ztzg
added a commit
to ztzg/zookeeper
that referenced
this pull request
Dec 15, 2019
…ibrary This changeset allows C clients to use SASL to authenticate with the ZooKeeper server. It is loosely based on patches apache#1 and apache#2 by Tom Klonikowski, at https://reviews.apache.org/r/2252/, but the result has been extensively reworked to follow the semantics of the Java client: * No SASL operations are exposed through the API; * The configuration is provided, and stored, at "handle init time"; * SASL authentication is automatically performed after each (re)connect. It introduces an optional dependency on the Cyrus SASL library, which can either be autodetected (default) or configured using the --without-sasl/--with-sasl[=DIR] flags, or -DWITH_CYRUS_SASL for CMake/Windows. TestServerRequireClientSASLAuth.cc has been renamed to TestSASLAuth.cc, and a test has been added which successfully (re)authenticates using the DIGEST-MD5 mechanism. The code has also been used to successfully authenticate clients via Kerberos. This commit also adds SASL support to the cli.c client. Co-authored-by: Tom Klonikowski <[email protected]>
asfgit
pushed a commit
that referenced
this pull request
Jan 22, 2020
…ibrary This is a "respin" of #1054, which I withdrew due to some annoying shortcomings. This changeset allows C clients to use SASL to authenticate with the ZooKeeper server. It is loosely based on patches #1 and #2 by Tom Klonikowski, at https://reviews.apache.org/r/2252/, but the result has been extensively reworked to follow the semantics of the Java client: * No SASL operations are exposed through the API; * The configuration is provided, and stored, at "handle init time"; * SASL authentication is automatically performed after each (re)connect. It introduces an optional dependency on the Cyrus SASL library, which can either be autodetected (default) or configured using the `--without-sasl`/`--with-sasl[=DIR]` flags, or -DWITH_CYRUS_SASL for CMake/Windows. `TestServerRequireClientSASLAuth.cc` has been renamed to `TestSASLAuth.cc`, and a test has been added which successfully (re)authenticates using the `DIGEST-MD5` mechanism. The code has also been used to successfully authenticate clients via `GSSAPI`/Kerberos. This commit also adds SASL support to the `cli.c` client. Co-authored-by: Tom Klonikowski <klonik_tinformatik.haw-hamburg.de> Author: Damien Diederen <[email protected]> Reviewers: Mate Szalay-Beko <[email protected]>, Norbert Kalmar <[email protected]> Closes #1134 from ztzg/ZOOKEEPER-1112-c-client-sasl-support-v2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.