Skip to content

Possible to set "whitelisted ips" in ratelimiting #36442

@zetaab

Description

@zetaab

Title: Set ratelimiting to all cidrs with exceptions

Description:

I have usecase that I should add ratelimiting to all addresses (0.0.0.0/0) EXCEPT few "whitelisted ips". As I see it, it is quite common use case that people want to set rate limits to everything except few internal api ips (whitelist services that should work always, no matter what).

Relevant Links:
https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#envoy-v3-api-msg-config-route-v3-ratelimit-action

currently envoy does not support exceptions to the remote_address matcher. But it could have "not logic"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/http_filterarea/ratelimitquestionQuestions that are neither investigations, bugs, nor enhancementsstalestalebot believes this issue/PR has not been touched recently

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions