Browse Source

revert fail2ban v1.0.2

it doesn't work well
MHSanaei 1 year ago
parent
commit
820e302aac
1 changed files with 1 additions and 3 deletions
  1. 1 3
      x-ui.sh

+ 1 - 3
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