Update x-ui.sh

fix(fail2ban): escape percent signs in x-ui datepattern
This commit is contained in:
Aleksandr 2026-05-13 02:13:52 +03:00 committed by GitHub
parent da97eef65c
commit fa1ae0d95b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2092,7 +2092,7 @@ EOF
cat << EOF > /etc/fail2ban/filter.d/3x-ipl.conf
[Definition]
datepattern = ^%Y/%m/%d %H:%M:%S
datepattern = ^%%Y/%%m/%%d %%H:%%M:%%S
failregex = \[LIMIT_IP\]\s*Email\s*=\s*<F-USER>.+</F-USER>\s*\|\|\s*Disconnecting OLD IP\s*=\s*<ADDR>\s*\|\|\s*Timestamp\s*=\s*\d+
ignoreregex =
EOF