|
@ -813,7 +813,7 @@ f_bgsrv() { |
|
|
ban_search="${ban_search}luci: failed login|" |
|
|
ban_search="${ban_search}luci: failed login|" |
|
|
fi |
|
|
fi |
|
|
if printf "%s\n" "${ban_logterms}" | grep -q "nginx"; then |
|
|
if printf "%s\n" "${ban_logterms}" | grep -q "nginx"; then |
|
|
ban_search="${ban_search}nginx\[[0-9]+\]:.*\[error\].*open().*client: [[:alnum:].:]+|" |
|
|
|
|
|
|
|
|
ban_search="${ban_search}nginx(\[[0-9]+\])?:.*\[error\].*open().*client: [[:alnum:].:]+|" |
|
|
fi |
|
|
fi |
|
|
( |
|
|
( |
|
|
"${ban_logservice}" "${ban_search%?}" & |
|
|
"${ban_logservice}" "${ban_search%?}" & |
|
|