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

[FEATURE] Add support for multiple CIDR ranges #26

Closed
dbwiddis opened this issue May 4, 2023 · 2 comments
Closed

[FEATURE] Add support for multiple CIDR ranges #26

dbwiddis opened this issue May 4, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@dbwiddis
Copy link
Member

dbwiddis commented May 4, 2023

Is your feature request related to a problem?

The restrictServerAccessTo option to include a CIDR only allows for one IP block, e.g. 10.10.10.10/32. When setting up clusters to test Extensions (see opensearch-project/opensearch-sdk-java#652) there is a need for multiple CIDR blocks, e.g., one for the extension and one for a user to access.

What solution would you like?

Allow a user to specify multiple CIDRs. Format options include:

  • Comma-delimited: 10.10.10.10/32,10.10.10.20/32
  • Array-style [10.10.10.10/32, 10.10.10.20/32] or ['10.10.10.10/32', '10.10.10.20/32']
  • A --context which appends to the existing restriction, e.g. --context restrictServerAccessTo=10.10.10.10/32 --context restrictServerAccessAlsoTo=10.10.10.20/32

What alternatives have you considered?

A security group can be configured to allow multiple subnets. However, configuring these requires more detailed knowledge of filtering rules and is more prone to error than CIDR restrictions.

Do you have any additional context?

Other classic subnet combinations include hybrid on-prem+cloud IP ranges.

@dbwiddis dbwiddis added enhancement New feature or request untriaged labels May 4, 2023
@jordarlu jordarlu removed the untriaged label May 9, 2023
@jordarlu
Copy link

jordarlu commented May 9, 2023

Thank you, @dbwiddis ..
@rishabh6788 will comment , and in the mean time, it will be great if you can also contribue on the changes in PR ..

@dbwiddis
Copy link
Member Author

Closing this issue as it's solvable by specifying a security group in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants