boulder/ratelimits/testdata
James Renken 48d5ad3c19
ratelimits: Add IP address identifier support (#8221)
Change most functions in `ratelimits` to use full ACMEIdentifier(s) as
arguments, instead of using their values as strings. This makes the
plumbing from other packages more consistent, and allows us to:

Rename `FQDNsToETLDsPlusOne` to `coveringIdentifiers` and handle IP
identifiers, parsing IPv6 addresses into their covering /64 prefixes for
CertificatesPerDomain[PerAccount] bucket keys.

Port improved IP/CIDR validation logic to NewRegistrationsPerIPAddress &
PerIPv6Range.

Rename `domain` parts of bucket keys to either `identValue` or
`domainOrCIDR`.

Rename other internal functions to clarify that they now handle
identifier values, not just domains.

Add the new reserved IPv6 address range from RFC 9780.

For deployability, don't (yet) rename rate limits themselves; and
because it remains the name of the database table, preserve the term
`fqdnSets`.

Fixes #8223
Part of #7311
2025-06-12 11:47:32 -07: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: Add IP address identifier support (#8221) 2025-06-12 11:47:32 -07:00
working_override_13371338.yml ratelimits: Auto pause zombie clients (#7763) 2024-11-08 13:51:41 -08:00
working_override_regid_domainorcidr.yml ratelimits: Add IP address identifier support (#8221) 2025-06-12 11:47:32 -07:00
working_overrides.yml ratelimits: Add IP address identifier support (#8221) 2025-06-12 11:47:32 -07:00
working_overrides_regid_fqdnset.yml ratelimits: Add IP address identifier support (#8221) 2025-06-12 11:47:32 -07:00