From 21e3b28263c5d281e2d73615d875e048186432f0 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Wed, 1 Jul 2020 12:50:31 +0200 Subject: [PATCH] Fixed F2B failing to start after install Added command to create vsftpd log , because fail2ban wil crash without it Also added vsftpd user list because the vsftpd service wil spam errors without it --- setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.sh b/setup.sh index ba7256a..af1be63 100644 --- a/setup.sh +++ b/setup.sh @@ -61,6 +61,7 @@ echo "y" | ufw enable wget -q -t7 "$mrepo"/raw/branch/"$mbranch"/config/fail2ban/jail.local -O /etc/fail2ban/jail.local wget -q -t7 "$mrepo"/raw/branch/"$mbranch"/config/fail2ban/jail-vsftp.local -O /etc/fail2ban/jail.d/vsftp.local wget -q -t7 "$mrepo"/raw/branch/"$mbranch"/config/fail2ban/filter-vsftpd.local -O /etc/fail2ban/filter.d/vsftpd.local +touch /etc/vsftpd.user_list /var/log/vsftpd.log #Restarting and enableing services systemctl enable vsftpd sshd fail2ban