From 4a89da80679a131e92f91132ed08685d3faa6486 Mon Sep 17 00:00:00 2001 From: Rahul Thakur Date: Wed, 27 Dec 2023 12:31:42 +0530 Subject: [PATCH] urlfilter: suppress unnecessary error on reload --- urlfilter/Makefile | 4 ++-- urlfilter/files/etc/init.d/urlfilter | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/urlfilter/Makefile b/urlfilter/Makefile index ef8b94e2e..975c7718b 100644 --- a/urlfilter/Makefile +++ b/urlfilter/Makefile @@ -6,13 +6,13 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=urlfilter -PKG_VERSION:=1.1.8 +PKG_VERSION:=1.1.9 LOCAL_DEV:=0 ifneq ($(LOCAL_DEV),1) PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/urlfilter.git -PKG_SOURCE_VERSION:=a726e4ce9fa3322e135cb0dd961f31b4fd7ae22a +PKG_SOURCE_VERSION:=75077256211644443ca30cc994ef16b013c4131c PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz PKG_MIRROR_HASH:=skip endif diff --git a/urlfilter/files/etc/init.d/urlfilter b/urlfilter/files/etc/init.d/urlfilter index 41b0cfab3..bdbcb1a23 100755 --- a/urlfilter/files/etc/init.d/urlfilter +++ b/urlfilter/files/etc/init.d/urlfilter @@ -21,7 +21,7 @@ configure_firewall() iptables -w -I INPUT 2 -p udp --sport 53 -j NFQUEUE --queue-num 0 --queue-bypass # disable acceleration for https packet so that they can be read by urlfilter - ebtables -A FORWARD -p ip --ip-protocol 6 --ip-destination-port 443 -j SKIPLOG + ebtables -A FORWARD -p ip --ip-protocol 6 --ip-destination-port 443 -j SKIPLOG 2> /dev/null fi ip6tables -w -nL FORWARD|grep -iqE "NFQUEUE" if [ "$?" -ne 0 ]; then @@ -62,7 +62,7 @@ stop_service() { iptables -w -D FORWARD -p udp --sport 53 -j NFQUEUE --queue-num 0 --queue-bypass iptables -w -D INPUT -p udp --dport 53 -j NFQUEUE --queue-num 0 --queue-bypass iptables -w -D INPUT -p udp --sport 53 -j NFQUEUE --queue-num 0 --queue-bypass - ebtables -D FORWARD -p ip --ip-protocol 6 --ip-destination-port 443 -j SKIPLOG + ebtables -D FORWARD -p ip --ip-protocol 6 --ip-destination-port 443 -j SKIPLOG 2> /dev/null fi ip6tables -w -nL FORWARD|grep -iqE "NFQUEUE" if [ "$?" -eq 0 ]; then