Обновить cockpit/cockpit-installer.sh
This commit is contained in:
@@ -174,6 +174,8 @@ cat > /etc/fail2ban/filter.d/cockpit.conf <<EOF
|
||||
failregex = ^.*cockpit.*authentication failure.*rhost=<HOST>.*$
|
||||
^.*pam_unix.*cockpit.*authentication failure.*$
|
||||
ignoreregex =
|
||||
maxlines = 1
|
||||
allowipv6 = auto
|
||||
EOF
|
||||
|
||||
systemctl enable fail2ban
|
||||
|
||||
Reference in New Issue
Block a user