canonical / canonical/haproxy-operator

deny_paths config enhancements

Open
#378 7 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
4
Forks
12
Avg merge
1d 8h
Merged PRs (30d)
22

Description

### Enhancement Proposal

Feature requests for enhancement to the "deny_paths" configuration on the `haproxy-ddos-protection-configurator` charm

1. Per-site deny_paths support. Currently deny_paths is applied to all hosts haproxy serves traffic for
2. Configurable deny behavior akin to `limit-policy-http`. In cases where we want traffic to only be allowed from specific subnets, we will set `ip-allow-list` accordingly and want to `silent-drop` or `deny-503` traffic from other subnets.

### Impact

High (The feature has short-term technical value)

### Impact Rationale

HAProxy is used in the PS7 ingress solution.

Here, deployments serve backends for many domains. In these situations it is difficult to use deny_paths config as this applies to all served domains. It would be preferable to set deny_paths per-domain, so that this configuration is not used on some sites, and enabled on differing paths per-site.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.