Skip to content
Claude edited this page Nov 22, 2026 · 1 revision

This page is for BFStop 2.x (2.0.0 is not released yet). For BFStop 1.5.x, see FAQ 1.5.

What can I do in case I have locked myself out?

First, if User Block Message is enabled and you tried an existing account, check your mail: the unblock link lets you unblock your address (from the same address, within 3 days). In Full Site mode, the password reset of the site also stays reachable for a blocked address.

Otherwise, you have these options:

  • From another address (for example your phone's mobile connection, not over your Wi-Fi), log in to the backend and unblock your address in Components → Brute Force Stop → Blocked IPs (database). Note that an IPv6 client is blocked by its network (a /56 by default), so another device on the same connection is blocked too.
  • In the database (e.g. with phpMyAdmin; replace #__ with your table prefix):
    • delete the entry for your address in the table #__bfstop_bannedip. For an IPv6 address, the entry is your network, like 2001:db8:1:200::/56;
    • or add your address to the table #__bfstop_allowlist (column ipaddress). The entry must be in canonical form: IPv4 as usual, IPv6 in lower case and compressed (2001:db8::1, not 2001:0DB8:0:0:0:0:0:1), a network by its network address (2001:db8:1::/48);
    • or disable the plugin: in the table #__extensions, set enabled to 0 for the row with type = 'plugin', folder = 'system' and element = 'bfstop'. Enable it again afterwards (System → Manage → Plugins, "System - Brute Force Stop").
  • Through FTP/SSH: rename the folder plugins/system/bfstop (for example to bfstop.off). Joomla! then doesn't load the plugin, so nothing is blocked. Log in, unblock your address, and rename the folder back.

If the web server blocks you as well, you also have to remove the address there; the database block alone is not enough (and vice versa):

  • Full Site + .htaccess: edit the .htaccess file in the site's root (or the directory of .htaccess path). Your address is in one of the <If "... -R 'your address' ..."> lines between # BEGIN BFStop Blocks and # END BFStop Blocks: remove -R 'your address' (and the || next to it) from the condition, or remove the whole block from <If to </If> if it is the only address. For an IPv6 client, the entry is its /64.
  • nginx deny file: remove the deny line of your address from the file and reload nginx.

What can I do if something doesn't work as expected?

Take a look at your web server's and PHP's error logs first. If there's nothing there, turn on BFStop's logging (see below), repeat what leads to the unexpected behavior, and see if something meaningful turns up in the log. BFStop logs database failures in the form "Database failure in (fail-open|fail-closed|unknown)". If you find something that you think is an error in BFStop, create an issue: https://github.com/codeling/bfstop/issues. Please report security issues by email to security@bfstop.de instead, see SECURITY.md.

How do I turn on logging?

  • Go to Components → Brute Force Stop → Settings, tab Advanced.
  • Set Logging to "Detailed information" (or "Informational message" for less).

The log file is plg_system_bfstop.log.php in Joomla!'s log folder (by default administrator/logs); you can also read it in Components → Brute Force Stop → Log. Once it is bigger than Log File Size Limit (MB), it is moved to plg_system_bfstop.1.log.php. Entries older than Keep Log Entries (Days) are deleted. Set Logging back to "Error" when you're done: detailed logging writes a lot.

Where did the plugin's settings go?

Into the component: Components → Brute Force Stop → Settings. The settings of BFStop are the component's since 2.0; the update moves them. The plugin's page in the Plugin Manager only has a link there. The permissions are a tab of that settings page, too.

Do I need to do anything with the "Task - Brute Force Stop" plugin and the scheduled task?

No. They run BFStop's daily maintenance (purging old data, tidying the .htaccess file and the log) in Joomla!'s Task Scheduler, and are set up by the installation. If you switch the scheduler or the task off, BFStop does the maintenance in a visitor's request once it hasn't run for two days. See Maintenance.

How do I find out what has changed in a new version?

See the CHANGELOG, the release notes and the milestones. The code changes are in the commit log; plugins, component and package are in one repository since 2.0. For the update from 1.x, see Upgrading to 2.0.

How can I find out what is planned for future releases?

See the milestones for the upcoming versions and the list of issues (also the closed ones, to see what is already implemented in the repository).

What can I do if I don't get any notifications / email sending fails?

BFStop uses Joomla!'s mail configuration, so first check it under System → Global Configuration, tab Server (Mail Settings). Then make sure a recipient is configured (Components → Brute Force Stop → Settings, tab Notification), at least one of:

  • a valid address in Email Address(es) (several separated by semicolons),
  • a user in Select a User,
  • User group notification enabled, with a group that has enabled members.

Then press Test Notification in the toolbar of the settings. It reports problems it encounters right away; check your inbox for bounces too. Invalid recipient addresses are left out and logged, so also check the log.

Keep in mind that Blocked msgs per day (default: 5) and Failed msgs per day (default: never) limit the mails, and Failed msgs only for existing accounts skips failed logins with unknown usernames.

Why don't unblock emails get sent?

Unblock emails ("User Block Message") are not sent if:

  • the site's address is not set: add $live_site to configuration.php (the backend shows a warning with the line to add). Without it, an attacker could make the link point to their own server;
  • the setting is "only if the user has logged in from that IP address before" and the user hasn't (from that address, or for IPv6 from its /64);
  • the setting is "for any IP address" and the user already has a link that can still be used;
  • the failed logins that led to the block also went against other existing accounts;
  • the username doesn't belong to an enabled account.

With Logging at "Informational message" or more, the log says why no email was sent.

Why does BFStop block my proxy / everybody at once / the wrong addresses?

Your site is probably behind a reverse proxy, load balancer or CDN, and the proxy settings aren't configured: BFStop then sees the proxy's address for every request. Configure the tab Proxy / Load Balancer, see Proxies and load balancers. The tab shows which address BFStop takes for your own request.

If many users of one provider get blocked together, they may share an IPv6 /56. You can make IPv6 Tracking Granularity smaller (/64), at the cost of making it easier for an attacker to switch addresses.

Why does a user get blocked after fewer (or more) than Block threshold failed logins?

Because of the adaptive risk scoring: an attempt with a common username, without a User-Agent, or against an account that is under attack from many addresses gets fewer attempts; an attempt from an address the user has logged in from before gets more. With Logging at "Detailed information", the log shows the allowed and counted attempts of each failed login. To switch it off, set Block Threshold Change Per Risk Point to 0.

Can I block/allow a subnet / IP range (block by "wildcard")?

Yes, both in the allow list and in the block list, for IPv4 and IPv6. Enter the network in CIDR notation: the address, a slash and the number of bits that have to match.

Examples:

  • "10.1.0.0/16" covers 10.1.0.0 to 10.1.255.255 (like the "wildcard" 10.1.*).
  • "192.168.0.0/24" covers 192.168.0.0 to 192.168.0.255 ("192.168.0.*").
  • "2001:db8:1::/48" covers all addresses starting with 2001:db8:1.

Networks larger than /8 (IPv4) or /16 (IPv6) are refused, and blocks of networks larger than /24 or /48 need the Configure permission. The block form warns you before you block your own address.

Why don't I see the password from the attempted login?

The Joomla! security experts consider this an information disclosure problem, as was reported for the Login Failed Log extension (http://docs.joomla.org/Vulnerable_Extensions_List#Login_Failed_Log). BFStop never stores passwords. Since 2.0, it also hides usernames that don't belong to an account by default, because users often type their password into the username field (Usernames Not Matching an Account, see Feature Descriptions 2.x).

Why are there no delay options in BFStop 2.0?

BFStop 2.0 answers failed logins at once; the Delay and Adaptive Delay settings of 1.x are gone. A delayed answer keeps one of the server's PHP workers busy for the whole delay. Attackers send their attempts in parallel and don't wait for the answer, so the delay hardly slowed them down, but it could be used to make the site unavailable. Blocking works as before, and an account attacked from many addresses now gets those addresses blocked sooner. To slow clients down, use the rate limiting of your web server (e.g. nginx's limit_req). Details: Why No Delay Options in 2.0 and Design Decision No Response Delays.

Which Joomla! versions does BFStop support?

BFStop 2.x supports Joomla! 5.4 and 6, with PHP 8.2 or newer. Joomla! 4 and 5.0–5.3 are supported by BFStop 1.5.x, which the update manager keeps offering to sites on those versions. Generally, BFStop supports the Joomla! versions that are actively maintained.

Does BFStop work on nginx / LiteSpeed / with PostgreSQL?

  • nginx: yes, with Block Mode "Full Site" (or "Login Only"). nginx doesn't read .htaccess files, so "Full Site + .htaccess" is refused; use the nginx Deny File to let nginx refuse blocked addresses.
  • LiteSpeed: reads .htaccess files, but whether it honours BFStop's <If> sections depends on its edition and version. Use Check .htaccess in the toolbar of the settings to find out, or use "Full Site".
  • PostgreSQL: yes, since 2.0 (as are MySQL and MariaDB).

Does BFStop protect logins of other extensions (social login, SSO, passkeys, Community Builder)?

In Full Site mode, a blocked address can't reach anything, so it can't use them either. But BFStop only counts failed logins that Joomla! reports as such (the onUserLoginFailure event), and Login Only only recognises Joomla!'s own login forms and API credentials. For Community Builder, see also https://github.com/codeling/bfstop/issues/72.

How do I change the number of items shown in the lists in the administrator backend?

Each list has its own control for the number of shown items. By default, BFStop uses Joomla!'s global "Default List Limit" (Global Configuration → Site).

How can I support BFStop?

BFStop is a fun project I do in my spare time; I currently do not accept monetary donations, and do not plan to do so any time soon. I would however be very happy about feedback in BFStop's Joomla! Extensions Directory entry or, preferred in case it is a bug or feature request, in the issues section here on github. Testing release candidates is a great help as well, see Developer Notes.

Clone this wiki locally