Skip to content
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

KAFKA-4759: Add support for subnet masks in SimpleACLAuthorizer #2541

Open
wants to merge 6 commits into
base: trunk
Choose a base branch
from

Conversation

takebayashi
Copy link
Contributor

No description provided.

@asfbot
Copy link

asfbot commented Feb 12, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.11/1649/
Test PASSed (JDK 8 and Scala 2.11).

@asfbot
Copy link

asfbot commented Feb 12, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/1646/
Test PASSed (JDK 8 and Scala 2.12).

@asfbot
Copy link

asfbot commented Feb 12, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.10/1646/
Test PASSed (JDK 7 and Scala 2.10).

@omkreddy
Copy link
Contributor

omkreddy commented Feb 12, 2017

looks like apache commons net does not support ipv6. Can we use any other third party library?
otherwise, +1 for the change.

@takebayashi
Copy link
Contributor Author

I found commons-ip-math, which is maintained by RIPE NCC and licensed under the MIT license.
I will reimplement using it.

@asfbot
Copy link

asfbot commented Feb 13, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.11/1669/
Test FAILed (JDK 8 and Scala 2.11).

@asfbot
Copy link

asfbot commented Feb 13, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.10/1666/
Test FAILed (JDK 7 and Scala 2.10).

@asfbot
Copy link

asfbot commented Feb 13, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/1666/
Test PASSed (JDK 8 and Scala 2.12).

@asfbot
Copy link

asfbot commented Feb 24, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.11/1830/
Test FAILed (JDK 8 and Scala 2.11).

@asfbot
Copy link

asfbot commented Feb 24, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.10/1827/
Test FAILed (JDK 7 and Scala 2.10).

@asfbot
Copy link

asfbot commented Feb 24, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/1828/
Test FAILed (JDK 8 and Scala 2.12).

@takebayashi
Copy link
Contributor Author

Can anyone review this change?
The test failure seems to be caused by other reasons.

@asfbot
Copy link

asfbot commented Mar 12, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.11/2135/
Test PASSed (JDK 8 and Scala 2.11).

@asfbot
Copy link

asfbot commented Mar 12, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.10/2132/
Test PASSed (JDK 7 and Scala 2.10).

@asfbot
Copy link

asfbot commented Mar 12, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/2133/
Test PASSed (JDK 8 and Scala 2.12).

@takebayashi
Copy link
Contributor Author

I've rebased it on the trunk.
@ijuma can you review this? Thanks.

@mofakhar
Copy link

mofakhar commented Sep 4, 2018

Since we do see Kafka 2.0.0 been pushed; Is there a plan/ETA when the support for subnet masks in SimpleACLAuthorizer can be implemented!!!?

Tested this with Kafka 1.0.0 as per below:
User:ANONYMOUS has Allow permission for operations: Write from hosts: 172.24.228.0/22 --> This is not working when defined
User:ANONYMOUS has Allow permission for operations: Write from hosts: 172.24.228.224 --> This working when its defined (with and without the line above)

Looking forward to hearing from you.
Cheers
Mo

@billygout
Copy link

+1. I need this. Can this be merged?

@aar6ncai
Copy link

+1

@saulius
Copy link

saulius commented Nov 20, 2019

--allow-host is more or less useless without this. Cattle not pets!

@jhanssenfavaro
Copy link

Hi folks, any news about this ?
Would be very helpfull to have this CIDR annotation !!!

@rgo
Copy link

rgo commented Oct 6, 2020

I've been working on it. I'm going to open a new PR and I'll link it to this one.

PR: #9387

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
9 participants