revert fail2ban v1.0.2

it doesn't work well
This commit is contained in:
MHSanaei 2024-01-21 04:00:58 +03:30
parent ebaabf6150
commit 820e302aac

View file

@ -998,9 +998,7 @@ install_iplimit() {
# Check the OS and install necessary packages # Check the OS and install necessary packages
case "${release}" in case "${release}" in
ubuntu | debian) ubuntu | debian)
wget -O fail2ban.deb https://github.com/fail2ban/fail2ban/releases/download/1.0.2/fail2ban_1.0.2-1.upstream1_all.deb apt update && apt install fail2ban -y
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
;; ;;
centos | almalinux | rocky) centos | almalinux | rocky)
yum update -y && yum install epel-release -y yum update -y && yum install epel-release -y