Install ruby-rack-attack by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-rack-attack
Description:
Block & throttle abusive requests
A rack middleware for throttling and blocking abusive requests. It protects your web app from bad clients. It allows *whitelisting*, *blacklisting*, *throttling*, and *tracking* based on arbitrary properties of the request.
Homepage: http://github.com/kickstarter/rack-attack
Version: 4.4.1-1
Section: universe/ruby