Skip to content

fix(config): map EnableRateLimitAutoBan from PREST_GUARD_AUTO_BAN - #19

Merged
rennf93 merged 1 commit into
masterfrom
fix/map-rate-limit-autoban
Oct 15, 2026
Merged

rennf93 merged 1 commit into
masterfrom
fix/map-rate-limit-autoban

Conversation

@rennf93

@rennf93 rennf93 commented Oct 15, 2026

Copy link
Copy Markdown
Member

Closes #18

buildEngineConfig now sets EnableRateLimitAutoBan together with EnableIPBanning (on when PREST_GUARD_AUTO_BAN is set, off in passive mode), and the stale comment that said the knob was left unmapped is replaced. The fault was in the engine, whose route-aware rate limit check never fed the autoban counter; that is fixed in guard-core-go (Guard-Core/guard-core-go#97). Until this module requires an engine release carrying that fix, the knob is set but has no effect, so there is no behavior change today. A unit test pins the mapping (on, off, passive).

@github-actions github-actions Bot added area: middleware Touches the plugin middleware core tests Test suite changes labels Oct 15, 2026
@rennf93
rennf93 merged commit 974c1ce into master Oct 15, 2026
9 checks passed
@rennf93
rennf93 deleted the fix/map-rate-limit-autoban branch October 15, 2026 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: middleware Touches the plugin middleware core tests Test suite changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Map EnableRateLimitAutoBan from PREST_GUARD_AUTO_BAN

1 participant