Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['8.1', '8.4', '8.5']
# the oldest PHP BFStop runs on, and the newest
php: ['8.2', '8.4', '8.5']
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0
Expand All @@ -99,8 +100,6 @@ jobs:
- name: Check PHP syntax
run: find . -name '*.php' -not -path './.git/*' -print0 | xargs -0 -n1 php -l
- name: Unit tests
# PHPUnit 11 needs PHP >= 8.2
if: matrix.php != '8.1'
run: phpunit -c tests/phpunit.xml.dist --testsuite unit

apache:
Expand Down Expand Up @@ -200,7 +199,8 @@ jobs:

- name: Start database (${{ matrix.db }})
env:
DB_IMAGE: ${{ matrix.db }}
# pinned by its digest, see tests/ci/matrix.json
DB_IMAGE: ${{ matrix.db }}@${{ matrix.digest }}
run: tests/ci/start-database.sh

# the release packages the tests install (Joomla; for the update, the
Expand Down Expand Up @@ -256,7 +256,8 @@ jobs:
ini-values: error_reporting=E_ALL
- name: Start database (${{ matrix.db }})
env:
DB_IMAGE: ${{ matrix.db }}
# pinned by its digest, see tests/ci/matrix.json
DB_IMAGE: ${{ matrix.db }}@${{ matrix.digest }}
run: tests/ci/start-database.sh
# the release packages the tests install (Joomla; for the update, the
# previous BFStop release) are kept between runs instead of being
Expand Down
34 changes: 30 additions & 4 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,56 @@ on:

permissions:
contents: read
issues: write

jobs:
# runs composer (and with it whatever the packages bring) without any
# permission to write: the issue is opened by the job below
geoip-reader:
name: maxmind-db/reader is current and free of advisories
runs-on: ubuntu-latest
outputs:
# what failed: only a finding of a check opens an issue, not a
# download that didn't work
finding: ${{ steps.vendored.outcome == 'failure' || steps.audit.outcome == 'failure' || steps.outdated.outcome == 'failure' }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0
with:
php-version: '8.4'
coverage: none
- run: composer install --no-interaction --no-progress
- name: Vendored copy is the locked version
id: vendored
continue-on-error: true
run: composer check-geoip
- name: Security advisories
id: audit
continue-on-error: true
run: composer audit
- name: Newer release available?
id: outdated
continue-on-error: true
run: composer outdated --direct --strict maxmind-db/reader
- name: Result
if: steps.vendored.outcome == 'failure' || steps.audit.outcome == 'failure' || steps.outdated.outcome == 'failure'
run: |
composer outdated --direct --strict maxmind-db/reader
- name: Open an issue
if: failure()
echo "::error::vendored copy: ${{ steps.vendored.outcome }}, advisories: ${{ steps.audit.outcome }}, newer release: ${{ steps.outdated.outcome }}"
exit 1

issue:
name: Open an issue
needs: geoip-reader
if: always() && needs.geoip-reader.outputs.finding == 'true'
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Open an issue unless there is one
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
run: |
title="Update the vendored GeoIP reader (maxmind-db/reader)"
if [ -z "$(gh issue list --state open --search "in:title $title" --json number --jq '.[0].number')" ]; then
Expand Down
26 changes: 26 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,30 @@
2.0.0 (unreleased)
- Requires PHP 8.2 (was 8.1), the oldest version CI runs the tests on
- Review fixes: an unblock mail is no longer sent with an empty token when
the token can't be stored; failed logins typed with the email address or
in another case get the account's unblock mail (none for a disabled
account) and are cleared by its successful login; "All" in the list of
the .htaccess file shows all entries instead of none; without a
notification address, blocks no longer log an error; group
notifications skip disabled accounts; a block's duration of less than 0
minutes counts as unlimited everywhere (and the block form takes 0 or
more, and a valid start); a broken manifest cache no longer breaks the
settings page; the list controllers no longer offer Joomla's publish,
delete, ... tasks, which ended in an error page; "Save" in the .htaccess
form is offered by the same permissions the save needs, and the form
validates with its own fields and stores the entry in canonical form;
an update that can't migrate the settings says so; known addresses of
two logins at the same time are one row; the log sorts by severity
- Hand-written <If> blocks in the .htaccess block section are kept intact
by every change and by the uninstallation
- Code clean-up: every setting's default is in Settings::Defaults (and
read with Settings::get()), lock files are named by LockHelper::file(),
form rules return their error instead of posting it, unused code removed
(the token unblock without confirmation, the 403 message of .htaccess,
DateRule, UnblockTokenRepository::exists()), duplicates of the library's
origin names and network masks removed
- CI: database images pinned by digest, PostgreSQL 15 instead of 12; the
weekly dependency check runs composer without write permissions
- Code clean-up (issue #283): unblock tokens are 40 hex digits of
random_bytes() without the weaker fallback generator; the notifier's
"one day" is a constant; the log page of the component shows the newest
Expand Down
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,28 @@ of another, only those of the library.
[releases](https://github.com/codeling/bfstop/releases). It contains the
plugin and the component and installs both. Don't install them separately:
they are released together, and need to have the same version.
- Requirements: Joomla! 5.4 or 6, PHP 8.1 or newer, and MySQL, MariaDB or
- Requirements: Joomla! 5.4 or 6, PHP 8.2 or newer, and MySQL, MariaDB or
PostgreSQL. Sites still on Joomla! 4 stay with BFStop 1.5.
- The plugin is enabled when it is installed. Configure BFStop under
*Components → Brute Force Stop → Settings*.
- Joomla! offers updates through its update manager.

### What the delays can and can't do

Blocking is what protects the login: an address (an IPv6 client: its
network) gets only so many failed logins. The delays - the delay of the
response to a failed login, the adaptive delay, the account throttle and the
delay per point of the risk score - only slow down a client which waits for
one answer before it sends the next attempt. Each delayed response holds a
PHP worker for as long as it is delayed, so at most "delayMaxConcurrent"
responses are delayed at the same time (and none longer than 60 seconds);
any further failed login is answered at once. An attacker who sends many
attempts in parallel, from many addresses, therefore gets most answers
without delay: the account throttle in particular doesn't stop a distributed
attack on one account, it only makes it a little slower. Holding many
connections open cheaply is something only the web server or a proxy in
front of it can do (e.g. nginx's `limit_req`).

## Resources

- Documentation: [the bfstop wiki](https://github.com/codeling/bfstop/wiki)
Expand Down
2 changes: 2 additions & 0 deletions component/admin/language/ca-ES/ca-ES.com_bfstop.ini
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ COM_BFSTOP_BLOCK_4HOURS="4 hores"
COM_BFSTOP_BLOCK_8HOURS="8 hores"
COM_BFSTOP_BLOCK_24HOURS="1 dia"
COM_BFSTOP_BLOCK_N_MINUTES="%d minuts"
COM_BFSTOP_BLOCK_DURATION_INVALID="La durada d'un bloqueig és un nombre de minuts: 0 (il·limitat) o més."
COM_BFSTOP_BLOCK_START_INVALID="L'inici d'un bloqueig és una data (i hora) com 2026-01-31 o 2026-01-31 14:30:00."
COM_BFSTOP_BLOCK_N_HOURS="%d hores"
COM_BFSTOP_BLOCK_N_DAYS="%d dies"
COM_BFSTOP_NO_IPINFO_AVAILABLE="No hi ha informació disponible per a aquesta adreça IP"
Expand Down
2 changes: 2 additions & 0 deletions component/admin/language/de-DE/de-DE.com_bfstop.ini
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ COM_BFSTOP_BLOCK_4HOURS="4 Stunden"
COM_BFSTOP_BLOCK_8HOURS="8 Stunden"
COM_BFSTOP_BLOCK_24HOURS="1 Tag"
COM_BFSTOP_BLOCK_N_MINUTES="%d Minuten"
COM_BFSTOP_BLOCK_DURATION_INVALID="Die Dauer einer Sperre ist eine Anzahl von Minuten: 0 (unbegrenzt) oder mehr."
COM_BFSTOP_BLOCK_START_INVALID="Der Beginn einer Sperre ist ein Datum (mit Uhrzeit) wie 2026-01-31 oder 2026-01-31 14:30:00."
COM_BFSTOP_BLOCK_N_HOURS="%d Stunden"
COM_BFSTOP_BLOCK_N_DAYS="%d Tage"
COM_BFSTOP_NO_IPINFO_AVAILABLE="Keine Informationen zu dieser IP-Adresse verfügbar"
Expand Down
2 changes: 2 additions & 0 deletions component/admin/language/en-GB/en-GB.com_bfstop.ini
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ COM_BFSTOP_BLOCK_4HOURS="4 hours"
COM_BFSTOP_BLOCK_8HOURS="8 hours"
COM_BFSTOP_BLOCK_24HOURS="1 day"
COM_BFSTOP_BLOCK_N_MINUTES="%d minutes"
COM_BFSTOP_BLOCK_DURATION_INVALID="The duration of a block is a number of minutes: 0 (unlimited) or more."
COM_BFSTOP_BLOCK_START_INVALID="The start of a block is a date (and time) like 2026-01-31 or 2026-01-31 14:30:00."
COM_BFSTOP_BLOCK_N_HOURS="%d hours"
COM_BFSTOP_BLOCK_N_DAYS="%d days"
COM_BFSTOP_NO_IPINFO_AVAILABLE="No information available for that IP address"
Expand Down
2 changes: 2 additions & 0 deletions component/admin/language/es-ES/es-ES.com_bfstop.ini
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ COM_BFSTOP_BLOCK_4HOURS="4 horas"
COM_BFSTOP_BLOCK_8HOURS="8 horas"
COM_BFSTOP_BLOCK_24HOURS="1 día"
COM_BFSTOP_BLOCK_N_MINUTES="%d minutos"
COM_BFSTOP_BLOCK_DURATION_INVALID="La duración de un bloqueo es un número de minutos: 0 (ilimitado) o más."
COM_BFSTOP_BLOCK_START_INVALID="El inicio de un bloqueo es una fecha (y hora) como 2026-01-31 o 2026-01-31 14:30:00."
COM_BFSTOP_BLOCK_N_HOURS="%d horas"
COM_BFSTOP_BLOCK_N_DAYS="%d días"
COM_BFSTOP_NO_IPINFO_AVAILABLE="No hay información disponible para esa dirección IP"
Expand Down
2 changes: 2 additions & 0 deletions component/admin/language/fr-FR/fr-FR.com_bfstop.ini
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ COM_BFSTOP_BLOCK_4HOURS="4 heures"
COM_BFSTOP_BLOCK_8HOURS="8 heures"
COM_BFSTOP_BLOCK_24HOURS="1 jour"
COM_BFSTOP_BLOCK_N_MINUTES="%d minutes"
COM_BFSTOP_BLOCK_DURATION_INVALID="La durée d'un blocage est un nombre de minutes : 0 (illimité) ou plus."
COM_BFSTOP_BLOCK_START_INVALID="Le début d'un blocage est une date (et une heure) comme 2026-01-31 ou 2026-01-31 14:30:00."
COM_BFSTOP_BLOCK_N_HOURS="%d heures"
COM_BFSTOP_BLOCK_N_DAYS="%d jours"
COM_BFSTOP_NO_IPINFO_AVAILABLE="Aucune information disponible pour cette adresse IP"
Expand Down
2 changes: 2 additions & 0 deletions component/admin/language/it-IT/it-IT.com_bfstop.ini
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ COM_BFSTOP_BLOCK_4HOURS="4 ore"
COM_BFSTOP_BLOCK_8HOURS="8 ore"
COM_BFSTOP_BLOCK_24HOURS="1 giorno"
COM_BFSTOP_BLOCK_N_MINUTES="%d minuti"
COM_BFSTOP_BLOCK_DURATION_INVALID="La durata di un blocco è un numero di minuti: 0 (illimitato) o più."
COM_BFSTOP_BLOCK_START_INVALID="L'inizio di un blocco è una data (e ora) come 2026-01-31 o 2026-01-31 14:30:00."
COM_BFSTOP_BLOCK_N_HOURS="%d ore"
COM_BFSTOP_BLOCK_N_DAYS="%d giorni"
COM_BFSTOP_NO_IPINFO_AVAILABLE="Nessuna informazione disponibile per questo indirizzo IP"
Expand Down
2 changes: 2 additions & 0 deletions component/admin/language/nl-NL/nl-NL.com_bfstop.ini
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ COM_BFSTOP_BLOCK_4HOURS="4 uur"
COM_BFSTOP_BLOCK_8HOURS="8 uur"
COM_BFSTOP_BLOCK_24HOURS="1 dag"
COM_BFSTOP_BLOCK_N_MINUTES="%d minuten"
COM_BFSTOP_BLOCK_DURATION_INVALID="De duur van een blokkering is een aantal minuten: 0 (onbeperkt) of meer."
COM_BFSTOP_BLOCK_START_INVALID="Het begin van een blokkering is een datum (en tijd) zoals 2026-01-31 of 2026-01-31 14:30:00."
COM_BFSTOP_BLOCK_N_HOURS="%d uur"
COM_BFSTOP_BLOCK_N_DAYS="%d dagen"
COM_BFSTOP_NO_IPINFO_AVAILABLE="Geen informatie beschikbaar voor dit IP-adres"
Expand Down
2 changes: 2 additions & 0 deletions component/admin/language/pt-BR/pt-BR.com_bfstop.ini
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ COM_BFSTOP_BLOCK_4HOURS="4 horas"
COM_BFSTOP_BLOCK_8HOURS="8 horas"
COM_BFSTOP_BLOCK_24HOURS="1 dia"
COM_BFSTOP_BLOCK_N_MINUTES="%d minutos"
COM_BFSTOP_BLOCK_DURATION_INVALID="A duração de um bloqueio é um número de minutos: 0 (ilimitado) ou mais."
COM_BFSTOP_BLOCK_START_INVALID="O início de um bloqueio é uma data (e hora) como 2026-01-31 ou 2026-01-31 14:30:00."
COM_BFSTOP_BLOCK_N_HOURS="%d horas"
COM_BFSTOP_BLOCK_N_DAYS="%d dias"
COM_BFSTOP_NO_IPINFO_AVAILABLE="Nenhuma informação disponível para esse endereço IP"
Expand Down
2 changes: 2 additions & 0 deletions component/admin/language/pt-PT/pt-PT.com_bfstop.ini
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ COM_BFSTOP_BLOCK_4HOURS="4 horas"
COM_BFSTOP_BLOCK_8HOURS="8 horas"
COM_BFSTOP_BLOCK_24HOURS="1 dia"
COM_BFSTOP_BLOCK_N_MINUTES="%d minutos"
COM_BFSTOP_BLOCK_DURATION_INVALID="A duração de um bloqueio é um número de minutos: 0 (ilimitado) ou mais."
COM_BFSTOP_BLOCK_START_INVALID="O início de um bloqueio é uma data (e hora) como 2026-01-31 ou 2026-01-31 14:30:00."
COM_BFSTOP_BLOCK_N_HOURS="%d horas"
COM_BFSTOP_BLOCK_N_DAYS="%d dias"
COM_BFSTOP_NO_IPINFO_AVAILABLE="Nenhuma informação disponível para esse endereço IP"
Expand Down
2 changes: 2 additions & 0 deletions component/admin/language/ru-RU/ru-RU.com_bfstop.ini
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ COM_BFSTOP_BLOCK_4HOURS="4 часа"
COM_BFSTOP_BLOCK_8HOURS="8 часов"
COM_BFSTOP_BLOCK_24HOURS="1 день"
COM_BFSTOP_BLOCK_N_MINUTES="%d мин."
COM_BFSTOP_BLOCK_DURATION_INVALID="Длительность блокировки — это число минут: 0 (без ограничения) или больше."
COM_BFSTOP_BLOCK_START_INVALID="Начало блокировки — это дата (и время), например 2026-01-31 или 2026-01-31 14:30:00."
COM_BFSTOP_BLOCK_N_HOURS="%d ч."
COM_BFSTOP_BLOCK_N_DAYS="%d дн."
COM_BFSTOP_NO_IPINFO_AVAILABLE="Для этого IP-адреса нет информации"
Expand Down
9 changes: 7 additions & 2 deletions component/admin/src/Controller/AllowlistController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,16 @@

use Codeling\Component\Bfstop\Administrator\Helper\LogHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\MVC\Controller\AdminController;
use Joomla\CMS\MVC\Controller\BaseController;
use Joomla\CMS\Router\Route;
use Joomla\Utilities\ArrayHelper;

class AllowlistController extends AdminController
/**
* The tasks of the list (see the toolbar of its view): a BaseController, not
* an AdminController, whose tasks (publish, delete, checkin, ...) call
* methods a list model hasn't got - an error page instead of an answer.
*/
class AllowlistController extends BaseController
{
public function getModel($name = 'allowlist', $prefix = '', $config = [])
{
Expand Down
9 changes: 7 additions & 2 deletions component/admin/src/Controller/BlocklistController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,15 @@

use Codeling\Component\Bfstop\Administrator\Helper\LogHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\MVC\Controller\AdminController;
use Joomla\CMS\MVC\Controller\BaseController;
use Joomla\CMS\Router\Route;

class BlocklistController extends AdminController
/**
* The tasks of the list (see the toolbar of its view): a BaseController, not
* an AdminController, whose tasks (publish, delete, checkin, ...) call
* methods a list model hasn't got - an error page instead of an answer.
*/
class BlocklistController extends BaseController
{
public function getModel($name = 'blocklist', $prefix = '', $config = [])
{
Expand Down
4 changes: 2 additions & 2 deletions component/admin/src/Controller/DisplayController.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function warnIfHtAccessNotWorking()
*/
public function warnIfUnblockLinksNeedLiveSite()
{
$setting = (int) ParamHelper::get('notifyBlockedUser', 0);
$setting = (int) ParamHelper::get('notifyBlockedUser');
if (BlockPolicy::effectiveNotifyBlockedUser($setting, BlockPolicy::hasLiveSite()) !== $setting)
{
$this->app->enqueueMessage(Text::sprintf('COM_BFSTOP_WARNING_NOTIFY_ANY_WITHOUT_LIVE_SITE',
Expand All @@ -103,7 +103,7 @@ public function warnIfUnblockLinksNeedLiveSite()

public function checkWhetherProxyConfigured()
{
$useProxy = (bool) ParamHelper::get('useProxy', false);
$useProxy = (bool) ParamHelper::get('useProxy');
if ($useProxy)
{
return;
Expand Down
9 changes: 7 additions & 2 deletions component/admin/src/Controller/FailedloginlistController.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,15 @@
use Codeling\Component\Bfstop\Administrator\Helper\LogHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Log\Log;
use Joomla\CMS\MVC\Controller\AdminController;
use Joomla\CMS\MVC\Controller\BaseController;
use Joomla\CMS\Router\Route;

class FailedloginlistController extends AdminController
/**
* The tasks of the list (see the toolbar of its view): a BaseController, not
* an AdminController, whose tasks (publish, delete, checkin, ...) call
* methods a list model hasn't got - an error page instead of an answer.
*/
class FailedloginlistController extends BaseController
{
public function getModel($name = 'failedloginlist', $prefix = '', $config = [])
{
Expand Down
31 changes: 20 additions & 11 deletions component/admin/src/Controller/HtblockController.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
defined('_JEXEC') or die;

use Codeling\Component\Bfstop\Administrator\Helper\LogHelper;
use Codeling\Component\Bfstop\Administrator\Helper\ParamHelper;
use Codeling\Component\Bfstop\Administrator\Helper\UnblockHelper;
use Codeling\Library\Bfstop\Repository\Repositories;
use Codeling\Library\Bfstop\Helper\HtaccessHelper;
Expand All @@ -23,6 +22,18 @@

class HtblockController extends FormController
{
/**
* Whether $user may add an entry to the .htaccess file: it is part of the
* web server's configuration, which turns addresses away before Joomla
* runs, so nobody in it can lift it from within the site - core.admin as
* well as core.create, like the settings (which choose the file) and the
* allow list. The toolbars ask this too.
*/
public static function mayAdd($user): bool
{
return $user && $user->authorise('core.create', 'com_bfstop') && $user->authorise('core.admin', 'com_bfstop');
}

public function add()
{
$this->setRedirect(
Expand All @@ -46,22 +57,18 @@ public function save($key = null, $urlVar = null)
{
$this->checkToken();
// this fully overrides FormController::save(), so it doesn't
// inherit the base class's automatic allowSave()/core.create check.
// An entry is part of the web server's configuration: it turns
// addresses away before Joomla runs, so nobody can lift it from
// within the site who is in it - core.admin as well, like the
// settings (which choose the file) and the allow list
$user = $this->app->getIdentity();
if (!$user || !$user->authorise('core.create', 'com_bfstop') || !$user->authorise('core.admin', 'com_bfstop'))
// inherit the base class's automatic allowSave()/core.create check
if (!self::mayAdd($this->app->getIdentity()))
{
$this->returnToFormWithMessage('', Text::_('COM_BFSTOP_NOT_AUTHORISED'));
return false;
}
$logger = LogHelper::getLogger();
$htaccessPath = UnblockHelper::getHtaccessPath();
$htaccess = new HtaccessHelper($htaccessPath, null);
$model = $this->getModel('block');
$form = $model->getForm(null, false);
// the form of the view, see HtblockModel
$model = $this->getModel('htblock');
$form = $model->getForm(array(), false);
$input = $this->input;
$data = $input->post->get('jform', array(), 'array');
$validData = $model->validate($form, $data);
Expand All @@ -78,7 +85,9 @@ public function save($key = null, $urlVar = null)
$this->returnToFormWithMessage(is_string($data['ipaddress'] ?? null) ? $data['ipaddress'] : '', $msg);
return false;
}
$ipaddress = $validData['ipaddress'];
// in the spelling the block list has it, which the file's entries
// are compared with (see HtaccessHelper::isEntryOf())
$ipaddress = IpHelper::canonicalEntry($validData['ipaddress']) ?? (string) $validData['ipaddress'];
$repositories = new Repositories($logger);
// the web server knows nothing of the allow list: a network in the
// file would also turn away the allowed addresses in it (and an
Expand Down
Loading