Release 1755
Trello card
Context
We want to protect the app from hostile bots which pollute our db with spam and can also cause DDoS attacks.
Changes proposed in this pull request
Add Fail2Ban to ban hostile bots and Rack::Attack to throttle requests to transaction endpoints.
The ban is set to 5mins per ip and the throttling to 5 req/ip.
If a user encounters a rate limit, the app will redirect the request to a 'Too many requests' error page.