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]: configurable option SUBNET in module PERMISSIONS #2636

Closed
fluke87 opened this issue Sep 28, 2021 · 1 comment
Closed

[FEATURE]: configurable option SUBNET in module PERMISSIONS #2636

fluke87 opened this issue Sep 28, 2021 · 1 comment
Assignees
Milestone

Comments

@fluke87
Copy link

fluke87 commented Sep 28, 2021

There is a subnet delimiter in the PERMISSIONS module
https://github.com/OpenSIPS/opensips/blob/3.0/modules/permissions/hash.h#L105
in a production environment, this setting needs to be changed depending on your installation.
however, changing this parameter through the source code is not always optimal and not beneficial.
In this connection, it is proposed to introduce the possibility of setting this parameter through the module configuration.

@fluke87 fluke87 changed the title [FEATURE]: configurable option in module PERMISSIONS [FEATURE]: configurable option SUBNET in module PERMISSIONS Sep 28, 2021
@liviuchircu liviuchircu self-assigned this Jan 29, 2025
@liviuchircu
Copy link
Member

liviuchircu commented Feb 7, 2025

Hello! The removal of the "128" subnets limitation has been implemented in #3560 and is to be merged soon. Together with some big performance improvements on the subnet lookup algorithm which may start to become noticeable if you typically load up large volumes of addresses into your OpenSIPS.

@liviuchircu liviuchircu added this to the 3.6-dev milestone Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants