-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Issue with IP Blocking and Allowing in global configuration #2165
Comments
Hello, Cavid!
Which solution would be more convenient for you? |
Hello @Fabman08,
Consequently, the method should accept two arguments, including global settings:
Would you be able to allocate some time to address this? |
Thank you very much for your help. We will eagerly await the new version. |
I had thought of the first option, but since I have too many services, it will be difficult to control this |
@raman-m just a little question about Global Settings behaviours. I've found three ways to fix the issue:
Which one is the best? |
@Fabman08 Your research is too complicated!
It is best to prioritize the route-specific
Yes, if route options are defined, all global ones should be ignored. We will highlight this in the documentation. There should be no merging whatsoever. This approach is the simplest and most correct solution, as merging properties would be erroneous due to potential conflicts within the algorithm. Therefore, merging is identified as a source of bugs. |
I configured IP blocking and allowing in Ocelot using SecurityOptions, but it's not working.
The IP blocking configuration is not working as expected.
The text was updated successfully, but these errors were encountered: