From 67438b8bbaa4ef6343d79387b876618ef8b91879 Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Thu, 26 Oct 2023 10:00:04 +1000 Subject: [PATCH] * tune exec/ipfw backend --- configs/conf-available/10-backend-exec-ipfw.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configs/conf-available/10-backend-exec-ipfw.conf b/configs/conf-available/10-backend-exec-ipfw.conf index 0f8c74c..0c6dbc7 100644 --- a/configs/conf-available/10-backend-exec-ipfw.conf +++ b/configs/conf-available/10-backend-exec-ipfw.conf @@ -1,6 +1,8 @@ +# -q option stops a ipfw table add or delete from failing if the entry +# already exists or is not present. [backend:exec-ipfw] load = backend_exec.so -ban = /sbin/ipfw table add -unban = /sbin/ipfw table delete +ban = /sbin/ipfw -q table add +unban = /sbin/ipfw -q table delete timeout = 2 shared = yes