summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2024-02-27 10:01:16 +0100
committerPatrick Spek <p.spek@tyil.nl>2024-02-27 10:01:16 +0100
commit83e3f3aed2e9fc3b86bee25855c7eca56b63be1e (patch)
tree739c6460a0902ac74b857e3c1f07f75a2eeba4f5
parentc3f1866b75bc782a1f55a427379274871217157c (diff)
Add a logging rule
-rw-r--r--playbooks.d/fw-nftables/playbook.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/playbooks.d/fw-nftables/playbook.bash b/playbooks.d/fw-nftables/playbook.bash
index 927e414..fcdb40a 100644
--- a/playbooks.d/fw-nftables/playbook.bash
+++ b/playbooks.d/fw-nftables/playbook.bash
@@ -60,6 +60,7 @@ playbook_sync() {
# Add fallback policy
printf "\n"
+ printf "\t\tlog prefix \"[nftables] \" counter drop;\n"
printf "\t\tpolicy %s;\n" "$(config "$BASHTARD_PLAYBOOK.input.policy" "drop")"
printf "\t}\n"