mirror of
https://github.com/YunoHost-Apps/ssh_chroot_dir_ynh.git
synced 2024-09-03 20:26:26 +02:00
commit
82c14ba294
5 changed files with 10 additions and 5 deletions
|
@ -18,7 +18,7 @@ In addition to the chroot, the user has a limited space available.
|
|||
|
||||
So, you can provide to a distant user a limited part of your hard disk to let him put his backup, without any risk for your own server.
|
||||
|
||||
**Shipped version:** 1.1
|
||||
**Shipped version:** 1.2
|
||||
|
||||
## Screenshots
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ En plus du chroot, l'utilisateur dispose d'un espace limité.
|
|||
|
||||
Ainsi, vous pouvez fournir à un utilisateur distant une partie limitée de votre disque dur pour lui permettre de mettre sa sauvegarde, sans aucun risque pour votre propre serveur.
|
||||
|
||||
**Version embarquée:** 1.1
|
||||
**Version embarquée:** 1.2
|
||||
|
||||
## Captures d'écran
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/maniackcrudelis/ssh_chroot/archive/v1.1.tar.gz
|
||||
SOURCE_SUM=fb6fef96a59a22cff69bface2c2b5baa
|
||||
SOURCE_URL=https://github.com/maniackcrudelis/ssh_chroot/archive/v1.2.tar.gz
|
||||
SOURCE_SUM=64216c872af56ad39535202137338bb5
|
||||
SOURCE_SUM_PRG=md5sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "ssh chroot directories with quotas disk.",
|
||||
"fr": "Dossier ssh en chroot avec gestion de quotas."
|
||||
},
|
||||
"version": "1.1~ynh1",
|
||||
"version": "1.2~ynh1",
|
||||
"url": "https://github.com/maniackcrudelis/ssh_chroot",
|
||||
"license": "GPL-3.0",
|
||||
"maintainer": {
|
||||
|
|
|
@ -454,6 +454,11 @@ EOF
|
|||
ynh_store_file_checksum "$finalfail2banfilterconf"
|
||||
|
||||
sudo systemctl restart fail2ban
|
||||
if local fail2ban_error="$(tail -n50 /var/log/fail2ban.log | grep "WARNING Command.*$app.*addfailregex")"
|
||||
then
|
||||
echo "[ERR] Fail2ban fail to load the jail for $app" >&2
|
||||
echo "WARNING${fail2ban_error#*WARNING}" >&2
|
||||
fi
|
||||
}
|
||||
|
||||
# Remove the dedicated fail2ban config (jail and filter conf files)
|
||||
|
|
Loading…
Add table
Reference in a new issue