@MastodonEngineering the ability to block registration requests that match custom rules, would be great.
Those rules would check on various variables with operations like regex, the variables I imagine:
- IP range
- IP country (this may introduce a new dependency on a geoip database)
- Email
- Reason for joining
- A custom question
- Username
- UserAgent
- anything else sent in the POST? We could implement a honeypot or look for any other extra field.
Operatord could be:
- Matches a regex
- Is in a list
- is equals or not
- is on previously rejected registration requests.
In a reverse proxy I was able to deny registrations from whole countries, but is not easy (or sensible) there use POST data for that.
