banip: update 0.8.0-4
authorDirk Brenken <dev@brenken.org>
Tue, 21 Feb 2023 20:42:24 +0000 (21:42 +0100)
committerDirk Brenken <dev@brenken.org>
Tue, 21 Feb 2023 20:43:21 +0000 (21:43 +0100)
* remove bogus log limit

Signed-off-by: Dirk Brenken <dev@brenken.org>
net/banip/Makefile
net/banip/files/banip-functions.sh

index edfe0182d23db3e206e2ea7c290e151dae645876..a25f8b26450aab452ec85efb7c91f62d6d44fe07 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=banip
 PKG_VERSION:=0.8.0
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 PKG_LICENSE:=GPL-3.0-or-later
 PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
 
index 532b3b1837b5ca3566b58037968689e76a8a4ede..f1a71dd8d2fcb51be951499a9b2c8c9567487dd7 100644 (file)
@@ -426,8 +426,8 @@ f_down() {
        tmp_flush="${ban_tmpfile}.${feed}.flush"
        tmp_nft="${ban_tmpfile}.${feed}.nft"
 
-       [ "${ban_loginput}" = "1" ] && nft_loginput="limit rate 2/second log level ${ban_loglevel} prefix \"banIP_drp/${feed}: \""
-       [ "${ban_logforward}" = "1" ] && nft_logforward="limit rate 2/second log level ${ban_loglevel} prefix \"banIP_rej/${feed}: \""
+       [ "${ban_loginput}" = "1" ] && nft_loginput="log level ${ban_loglevel} prefix \"banIP_drp/${feed}: \""
+       [ "${ban_logforward}" = "1" ] && nft_logforward="log level ${ban_loglevel} prefix \"banIP_rej/${feed}: \""
 
        # set source block direction
        #