From e113ba745dc07495a7689445efb0bc52c4cab28b Mon Sep 17 00:00:00 2001 From: MilesTEG Date: Fri, 30 Apr 2021 18:48:21 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20=20jour=20des=20fichier=20fail2?= =?UTF-8?q?ban=20pour=20refl=C3=A9ter=20les=20changements=20pour=20Vaultwa?= =?UTF-8?q?rden=20(ancienement=20Bitwarden=5FRS)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose/fail2ban/TUTO--fail2ban_docker-compose.yml | 2 +- .../{bitwarden_rs-admin.local => vaultwarden-admin.local} | 2 +- .../filter.d/{bitwarden_rs.local => vaultwarden.local} | 2 +- .../{bitwarden_rs-admin.local => vaultwarden-admin.local} | 8 ++++---- .../jail.d/{bitwarden_rs.local => vaultwarden.local} | 8 ++++---- 5 files changed, 11 insertions(+), 11 deletions(-) rename docker-compose/fail2ban/fail2ban--fichiers/filter.d/{bitwarden_rs-admin.local => vaultwarden-admin.local} (64%) rename docker-compose/fail2ban/fail2ban--fichiers/filter.d/{bitwarden_rs.local => vaultwarden.local} (73%) rename docker-compose/fail2ban/fail2ban--fichiers/jail.d/{bitwarden_rs-admin.local => vaultwarden-admin.local} (86%) rename docker-compose/fail2ban/fail2ban--fichiers/jail.d/{bitwarden_rs.local => vaultwarden.local} (87%) diff --git a/docker-compose/fail2ban/TUTO--fail2ban_docker-compose.yml b/docker-compose/fail2ban/TUTO--fail2ban_docker-compose.yml index c292330..04857d6 100644 --- a/docker-compose/fail2ban/TUTO--fail2ban_docker-compose.yml +++ b/docker-compose/fail2ban/TUTO--fail2ban_docker-compose.yml @@ -79,7 +79,7 @@ services: # Les différents chemins d'accès vers les fichiers log des services à protéger par fail2ban # On ajoute ro pour read-only (lecture seule) - - "/volume1/docker/bitwarden_rs/bitwarden-data:/bitwarden:ro" # Bitwarden_RS + - "/volume1/docker/vaultwarden/vaultwarden-data:/vaultwarden:ro" # Vaultwarden - "/volume1/docker/gitea/data/gitea/log:/gitea:ro" # Gitea #- "/var/log/auth.log:/log/host_ssh_auth.log:ro" # SSH sur l'hôte (Synology) diff --git a/docker-compose/fail2ban/fail2ban--fichiers/filter.d/bitwarden_rs-admin.local b/docker-compose/fail2ban/fail2ban--fichiers/filter.d/vaultwarden-admin.local similarity index 64% rename from docker-compose/fail2ban/fail2ban--fichiers/filter.d/bitwarden_rs-admin.local rename to docker-compose/fail2ban/fail2ban--fichiers/filter.d/vaultwarden-admin.local index 9001a13..2fa0ab7 100644 --- a/docker-compose/fail2ban/fail2ban--fichiers/filter.d/bitwarden_rs-admin.local +++ b/docker-compose/fail2ban/fail2ban--fichiers/filter.d/vaultwarden-admin.local @@ -1,4 +1,4 @@ -# /volume1/docker/fail2ban/filter.d/bitwarden_rs-admin.conf +# /volume1/docker/fail2ban/filter.d/vaultwarden-admin.conf [INCLUDES] before = common.conf diff --git a/docker-compose/fail2ban/fail2ban--fichiers/filter.d/bitwarden_rs.local b/docker-compose/fail2ban/fail2ban--fichiers/filter.d/vaultwarden.local similarity index 73% rename from docker-compose/fail2ban/fail2ban--fichiers/filter.d/bitwarden_rs.local rename to docker-compose/fail2ban/fail2ban--fichiers/filter.d/vaultwarden.local index dc58a80..31dac76 100644 --- a/docker-compose/fail2ban/fail2ban--fichiers/filter.d/bitwarden_rs.local +++ b/docker-compose/fail2ban/fail2ban--fichiers/filter.d/vaultwarden.local @@ -1,4 +1,4 @@ -# /volume1/docker/fail2ban/filter.d/bitwarden_rs.conf +# /volume1/docker/fail2ban/filter.d/vaultwarden.conf [INCLUDES] before = common.conf diff --git a/docker-compose/fail2ban/fail2ban--fichiers/jail.d/bitwarden_rs-admin.local b/docker-compose/fail2ban/fail2ban--fichiers/jail.d/vaultwarden-admin.local similarity index 86% rename from docker-compose/fail2ban/fail2ban--fichiers/jail.d/bitwarden_rs-admin.local rename to docker-compose/fail2ban/fail2ban--fichiers/jail.d/vaultwarden-admin.local index 1983f6e..553bdce 100644 --- a/docker-compose/fail2ban/fail2ban--fichiers/jail.d/bitwarden_rs-admin.local +++ b/docker-compose/fail2ban/fail2ban--fichiers/jail.d/vaultwarden-admin.local @@ -1,4 +1,4 @@ -# /volume1/docker/fail2ban/jail.d/bitwarden_rs-admin.conf +# /volume1/docker/fail2ban/jail.d/vaultwarden-admin.conf [DEFAULT] # "ignoreip" can be an IP address, a CIDR mask or a DNS host. Fail2ban will not @@ -27,11 +27,11 @@ action = %(action_mwl)s backend = auto -[bitwarden_rs-admin] +[vaultwarden-admin] enabled = true port = 882,3012 # Doit correspondre au nom du fichier .conf dans le dossier filter.d -filter = bitwarden_rs-admin +filter = vaultwarden-admin -logpath = /bitwarden/bitwarden.log \ No newline at end of file +logpath = /vaultwarden/vaultwarden.log \ No newline at end of file diff --git a/docker-compose/fail2ban/fail2ban--fichiers/jail.d/bitwarden_rs.local b/docker-compose/fail2ban/fail2ban--fichiers/jail.d/vaultwarden.local similarity index 87% rename from docker-compose/fail2ban/fail2ban--fichiers/jail.d/bitwarden_rs.local rename to docker-compose/fail2ban/fail2ban--fichiers/jail.d/vaultwarden.local index 627a400..51231d0 100644 --- a/docker-compose/fail2ban/fail2ban--fichiers/jail.d/bitwarden_rs.local +++ b/docker-compose/fail2ban/fail2ban--fichiers/jail.d/vaultwarden.local @@ -1,4 +1,4 @@ -# /volume1/docker/fail2ban/jail.d/bitwarden_rs.conf +# /volume1/docker/fail2ban/jail.d/vaultwarden.conf [DEFAULT] # "ignoreip" can be an IP address, a CIDR mask or a DNS host. Fail2ban will not @@ -27,11 +27,11 @@ action = %(action_mwl)s backend = auto -[bitwarden_rs] +[vaultwarden] enabled = true port = 882,3012 # Doit correspondre au nom du fichier .conf dans le dossier filter.d -filter = bitwarden_rs +filter = vaultwarden -logpath = /bitwarden/bitwarden.log \ No newline at end of file +logpath = /vaultwarden/vaultwarden.log \ No newline at end of file