Repository navigation
Configuration 2.x
This page is for BFStop 2.x (2.0.0 is not released yet). For BFStop 1.5.x, see Configuration 1.5.
BFStop 2.x is configured in the component, not in the plugin: go to Components → Brute Force Stop → Settings. The plugin System - Brute Force Stop only points there; it has to be enabled, which the installation does. (In 1.x, the settings were in the Plugin Manager; the update to 2.0 moves them, see Upgrading to 2.0.)
BFStop protects your site with its default settings as soon as it is installed: an address is blocked for a day after 10 failed logins within a week (fewer if its attempts look risky), in the frontend, the backend and the Web Services API. Most settings can stay at their defaults. These are the things worth checking:
Enter one or more Email Address(es) (separated by semicolons), Select a User, or enable User group notification and choose a User group. By default you get at most 5 mails a day about blocked addresses and none about individual failed logins. Press Test Notification in the toolbar to check that mails arrive. If they don't, see the FAQ 2.x.
If it is, BFStop sees the proxy's address for every request, and would block the proxy. Enable Behind a proxy / load balancer, choose the header your proxy sets (usually X-Forwarded-For) and enter the proxy's addresses. The tab shows which address BFStop makes of your own request with the saved settings: it should be your own public address. If the backend shows a warning about a forwarding header, check this tab. Details: Feature Descriptions 2.x.
BFStop only puts links into its mails, and only sends unblock emails, if $live_site is set in Joomla!'s configuration.php (for example public $live_site = 'https://www.example.org';). Without it, Joomla! takes the host from the request, which an attacker can choose. The backend shows a warning with the line to add.
With User Block Message set to "enabled, only if the user has logged in from that IP address before", a user who locks themselves out gets an email with a link to unblock their address. It needs $live_site (step 3). Details: Feature Descriptions 2.x.
Block Mode "Full Site" (the default) refuses every request of a blocked address. "Login Only" only refuses its login attempts, "Reporting Only" blocks nothing. On Apache, "Full Site + .htaccess" also lets the web server refuse blocked addresses: press Check .htaccess in the toolbar to test that the web server honours it. On nginx, use "Full Site" with an nginx Deny File (tab Advanced). Details: Feature Descriptions 2.x.
The package installs a task Brute Force Stop maintenance in Joomla!'s System → Manage → Scheduled Tasks, which purges old data once a day. It works with the Task Scheduler's default (lazy) mode; on busy sites you may want to run the scheduler by cron (php cli/joomla.php scheduler:run). Details: Feature Descriptions 2.x.
Add your own static address (or your office network) to the Allow List if you have one. Addresses on it are never blocked. Should you lock yourself out anyway, see the FAQ 2.x.
Don't forget to save the settings.
All settings with their defaults are listed on Feature Descriptions 2.x.
BFStop 2.x (upcoming)
- Download and Installation 2.x
- Configuration 2.x
- Feature Descriptions 2.x
- FAQ 2.x
- Known issues 2.x
- Upgrading to 2.0
- Why No Delay Options in 2.0
- Design Decision No Response Delays
BFStop 1.5.x (current stable)
General