You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Arvanitis Christos <ch...@cern.ch> on 2020/06/16 13:15:12 UTC

Defining IPv6 ACL in ZooKeeper 3.6.1

Is there any way to define an ACL with `ip` schema for an IPv6 address 
in ZooKeeper 3.6.1?

If yes, which notation should be used?

Thank you in advance,

Arvanitis Christos


Re: Defining IPv6 ACL in ZooKeeper 3.6.1

Posted by Szalay-Bekő Máté <sz...@gmail.com>.
Hi Arvanitis,

I don't think it is supported. I haven't found any test for it (only IPv4
tests in the ACLTest.java), and I think the IPv6 support is still missing
in IPAuthenticationProvider:
see
https://github.com/apache/zookeeper/blob/master/zookeeper-server/src/main/java/org/apache/zookeeper/server/auth/IPAuthenticationProvider.java

If it is really missing then I think it would be a nice feature to add, if
you or someone in the community has the time. (I haven't check if there is
any existing Jira for it)

Cheers,
Mate

On Tue, Jun 16, 2020 at 3:14 PM Arvanitis Christos <
christos.arvanitis@cern.ch> wrote:

> Is there any way to define an ACL with `ip` schema for an IPv6 address
> in ZooKeeper 3.6.1?
>
> If yes, which notation should be used?
>
> Thank you in advance,
>
> Arvanitis Christos
>
>