subdomain-registrar icon indicating copy to clipboard operation
subdomain-registrar copied to clipboard

Reset rate limiting by IP address every 24 hours

Open markmhendrickson opened this issue 5 years ago • 2 comments

This would prevent both PBC and non-PBC developers from getting blocked for a lifetime based on their IP addresses, forcing them to switch to another network as they invest more time developing and testing with new usernames.

markmhendrickson avatar Jun 12 '20 13:06 markmhendrickson

@kantai is this possible in the config or via restarting the process? or is this something that is stored in the local db ?

wileyj avatar Jun 12 '20 18:06 wileyj

This would require some updates to the IP rate-limiting logic. Currently, the registrar stores the IP for each request in its local DB, and just counts the entries associated with an IP address to figure out if they have crossed the limit. To reset this on some configurable interval, we'd need to update that query.

kantai avatar Jun 12 '20 18:06 kantai