From 9e7cb1e393f55de9f0abce4080f2c780bccd7800 Mon Sep 17 00:00:00 2001 From: bserie Date: Mon, 18 Feb 2019 09:46:59 +0100 Subject: [PATCH] =?UTF-8?q?mettre=20=C3=A0=20jour=20les=20param=C3=A8tres?= =?UTF-8?q?=20d'une=20jail=20=C3=A0=20chaud?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoFail2Ban.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/HowtoFail2Ban.md b/HowtoFail2Ban.md index 0d4bccf5..4c61986f 100644 --- a/HowtoFail2Ban.md +++ b/HowtoFail2Ban.md @@ -170,6 +170,12 @@ The following regular expression are defined: [...] ~~~ +On pourra mettre à jour les paramètres d'une jail à chaud avec `set`. Ça évite un couteux redémarrage de Fail2ban. + +~~~ +# fail2ban-client set ssh bantime 300 +~~~ + ## Ajouter ses propres jails On peut bien sûr ajouter ses propres _jails_ en ajoutant dans le fichier `jail.local`, un exemple :