-
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
#1400 Manage multiple patterns for allowed/blocked IPs via Security Options config section #1399
#1400 Manage multiple patterns for allowed/blocked IPs via Security Options config section #1399
Conversation
Hi Fabrizio! |
0e90108
to
681952b
Compare
@raman-m I've solve the issue, but now the error raised is not about my code...
Can anyone check the error? |
OK. Probably this test "should_reload_config_on_change" is unstable. I've seen this strange behavior multiple times in another CI builds... |
Local unit tests are successfully passed also "should_reload_config_on_change" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, fix the issues!
test/Ocelot.UnitTests/Configuration/SecurityOptionsCreatorTests.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor issues to fix, plz!
Same previous build error |
…e qualified. Sort usings. Convert to file-scoped namespace.
Co-authored-by: Raynald Messié <[email protected]>
…r.cs" This reverts commit a77a30e.
15fbb1f
to
50c37ab
Compare
Closes #1400
Proposed Changes
Description
This feature is designed to allow greater IP management in order to include or exclude a wide IP range via CIDR notation or IP range.
The current patterns managed are the following:
The allowed and block list are evaluated on configuration loaded.
The ExcludeAllowedFromBlocked is meant to give the possibility to specify a wide range of blocked IP and allow a sub range of IPs
Default value: false
Missing property in SecurityOptions allowed, it assume default value.
e.g.