Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Using IpWhitelist while IpThrottling = false #91

Open
asdegani opened this issue Mar 2, 2017 · 3 comments
Open

Using IpWhitelist while IpThrottling = false #91

asdegani opened this issue Mar 2, 2017 · 3 comments

Comments

@asdegani
Copy link

asdegani commented Mar 2, 2017

Hi,
I need to use throttling NOT based on user IP (i.e. a total of 100 requests per second from all users), but I want local requests to pass without being throttled. I tried setting IpThrottling = false and populating IpWhitelist, but the local requests are still being throttled.
Is there a way to configure the throttler so my scenario will work?
Thanks

@stefanprodan
Copy link
Owner

The IpWhitelist works only if you have enabled IpThrottling, see here

I could change this behavior and allow IP white listing no matter the policy.

@avesse
Copy link

avesse commented May 21, 2017

I have a similar situation. I want to do only IpThrottling, i.e. you get throttled based on all requests from an IP, but have a list of white-listed endpoints.

@avesse
Copy link

avesse commented May 21, 2017

FYI, my workaround is to not use a whitelist, but to use EndpointRules (or IpRules) with very high limits.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants