Browse Source

Merge pull request #17137 from oskarirauta/banip

banip: update nginx matching
lilik-openwrt-22.03
Dirk Brenken 3 years ago
committed by GitHub
parent
commit
4be2a5b737
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      net/banip/Makefile
  2. +1
    -1
      net/banip/files/banip.sh

+ 1
- 1
net/banip/Makefile View File

@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=banip PKG_NAME:=banip
PKG_VERSION:=0.7.10 PKG_VERSION:=0.7.10
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_LICENSE:=GPL-3.0-or-later PKG_LICENSE:=GPL-3.0-or-later
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org> PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>


+ 1
- 1
net/banip/files/banip.sh View File

@ -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%?}" &


Loading…
Cancel
Save