boulder/ratelimits/testdata
Kruti Sutaria a79a830f3b
ratelimits: Auto pause zombie clients (#7763)
- Added a new key-value ratelimit
`FailedAuthorizationsForPausingPerDomainPerAccount` which is incremented
each time a client fails a validation.
- As long as capacity exists in the bucket, a successful validation
attempt will reset the bucket back to full capacity.
- Upon exhausting bucket capacity, the RA will send a gRPC to the SA to
pause the `account:identifier`. Further validation attempts will be
rejected by the [WFE](https://github.com/letsencrypt/boulder/pull/7599).
- Added a new feature flag, `AutomaticallyPauseZombieClients`, which
enables automatic pausing of zombie clients in the RA.
- Added a new RA metric `paused_pairs{"paused":[bool],
"repaused":[bool], "grace":[bool]}` to monitor use of this new
functionality.
- Updated `ra_test.go` `initAuthorities` to allow accessing the
`*ratelimits.RedisSource` for checking that the new ratelimit functions
as intended.

Co-authored-by: @pgporada 

Fixes https://github.com/letsencrypt/boulder/issues/7738

---------

Co-authored-by: Phil Porada <pporada@letsencrypt.org>
Co-authored-by: Phil Porada <philporada@gmail.com>
2024-11-08 13:51:41 -08:00
..
busted_default_burst_0.yml Initial implementation of key-value rate limits (#6947) 2023-07-21 12:57:18 -04:00
busted_default_empty_name.yml Initial implementation of key-value rate limits (#6947) 2023-07-21 12:57:18 -04:00
busted_default_invalid_name.yml Initial implementation of key-value rate limits (#6947) 2023-07-21 12:57:18 -04:00
busted_defaults_second_entry_bad_name.yml Initial implementation of key-value rate limits (#6947) 2023-07-21 12:57:18 -04:00
busted_override_burst_0.yml ratelimits: Support new Comment field for each Id entry (#7480) 2024-05-13 14:16:51 -04:00
busted_override_empty_id.yml ratelimits: More compact overrides format (#7199) 2023-12-11 11:23:39 -08:00
busted_override_empty_name.yml ratelimits: Support new Comment field for each Id entry (#7480) 2024-05-13 14:16:51 -04:00
busted_override_invalid_name.yml ratelimits: Support new Comment field for each Id entry (#7480) 2024-05-13 14:16:51 -04:00
busted_overrides_second_entry_bad_name.yml ratelimits: Support new Comment field for each Id entry (#7480) 2024-05-13 14:16:51 -04:00
busted_overrides_third_entry_bad_id.yml ratelimits: Support new Comment field for each Id entry (#7480) 2024-05-13 14:16:51 -04:00
working_default.yml Initial implementation of key-value rate limits (#6947) 2023-07-21 12:57:18 -04:00
working_defaults.yml Initial implementation of key-value rate limits (#6947) 2023-07-21 12:57:18 -04:00
working_override.yml ratelimits: Support new Comment field for each Id entry (#7480) 2024-05-13 14:16:51 -04:00
working_override_13371338.yml ratelimits: Auto pause zombie clients (#7763) 2024-11-08 13:51:41 -08:00
working_override_regid_domain.yml ratelimits: Support new Comment field for each Id entry (#7480) 2024-05-13 14:16:51 -04:00
working_overrides.yml ratelimits: Auto pause zombie clients (#7763) 2024-11-08 13:51:41 -08:00
working_overrides_regid_fqdnset.yml ratelimits: Support new Comment field for each Id entry (#7480) 2024-05-13 14:16:51 -04:00