From 820e302aac04312f8353b1bc839e39be70518441 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Sun, 21 Jan 2024 04:00:58 +0330 Subject: [PATCH] revert fail2ban v1.0.2 it doesn't work well --- x-ui.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/x-ui.sh b/x-ui.sh index 9fa43960..20336c18 100644 --- a/x-ui.sh +++ b/x-ui.sh @@ -998,9 +998,7 @@ install_iplimit() { # Check the OS and install necessary packages case "${release}" in ubuntu | debian) - wget -O fail2ban.deb https://github.com/fail2ban/fail2ban/releases/download/1.0.2/fail2ban_1.0.2-1.upstream1_all.deb - wget -O fail2ban.deb.asc https://github.com/fail2ban/fail2ban/releases/download/1.0.2/fail2ban_1.0.2-1.upstream1_all.deb.asc - dpkg -i fail2ban.deb + apt update && apt install fail2ban -y ;; centos | almalinux | rocky) yum update -y && yum install epel-release -y