You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Edward Ribeiro (JIRA)" <ji...@apache.org> on 2016/08/11 17:39:20 UTC

[jira] [Comment Edited] (ZOOKEEPER-2238) Support limiting the maximum number of connections/clients to a zookeeper server.

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-2238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15416962#comment-15416962 ] 

Edward Ribeiro edited comment on ZOOKEEPER-2238 at 8/11/16 5:38 PM:
--------------------------------------------------------------------

Hey [~arshad.mohammad], thanks for the feedback. This patch is old and I changed my mind since then wrt its implementation. **Totally agree with you, so, please, ignore my former discussion regarding the addition of new params and such.**

PS: If you want to pick up this issue and submit a patch, then, please, feel free to do it. :) "Latest" patch is incomplete and more a PoC than anything else. 


was (Author: eribeiro):
Hey Arshad, this patch is old and I changed my mind since then regarding its implementation. But If you want to pick up this issue and submit a patch, then, please, feel free to do it. :)

> Support limiting the maximum number of connections/clients to a zookeeper server.
> ---------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2238
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2238
>             Project: ZooKeeper
>          Issue Type: Improvement
>            Reporter: nijel
>            Assignee: Edward Ribeiro
>         Attachments: ZOOKEEPER-2238.2.patch, ZOOKEEPER-2238.3.patch, ZOOKEEPER-2238.4.patch, ZOOKEEPER-2238.diff
>
>
> Currently zookeeper have the feature of limiting the maximum number of connection/client  per IP or Host (maxClientCnxns).
> But to safe guard zookeeper server from DoS attack due to many clients from different IPs,  it is better to have a limit of total number of connections/clients to a a single member of the ZooKeeper ensemble as well.
> So the idea is to introduce a new configuration to limit the maximum number of total connections/clients.
> Please share your thoughts.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)