Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2024-01-21 03:30:58 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2024-01-21 03:30:58 +0300
commit820e302aac04312f8353b1bc839e39be70518441 (patch)
tree59b7d7cabcac9f67aeb58e63be62d1840692ab9a
parentebaabf61509a02090016acae886b2a7df216e814 (diff)
revert fail2ban v1.0.2
it doesn't work well
-rw-r--r--x-ui.sh4
1 files changed, 1 insertions, 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