Обновить 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>.*$
|
failregex = ^.*cockpit.*authentication failure.*rhost=<HOST>.*$
|
||||||
^.*pam_unix.*cockpit.*authentication failure.*$
|
^.*pam_unix.*cockpit.*authentication failure.*$
|
||||||
ignoreregex =
|
ignoreregex =
|
||||||
|
maxlines = 1
|
||||||
|
allowipv6 = auto
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
systemctl enable fail2ban
|
systemctl enable fail2ban
|
||||||
|
|||||||
Reference in New Issue
Block a user