[v3,5/7] collectd.conf: Fix bug12981 - This creates in and out drop hostile data collection

Message ID 20240121114553.5182-5-adolf.belka@ipfire.org
State Staged
Commit d2b423b1dc866dccf70dba93d779da36871c1b84
Headers
Series [v3,1/7] optionsfw.cgi: Fix bug12981 - Add option to log or not log dropped hostile traffic |

Commit Message

Adolf Belka Jan. 21, 2024, 11:45 a.m. UTC
  - In this v3 version of the patch set the splitting of drop hostile logging into incoming
   and outgoing logging means that the data collection and graphs need to have drop hostile
   also split into incoming and outgoing.

Fixes: bug12981
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/collectd/collectd.conf | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Patch

diff --git a/config/collectd/collectd.conf b/config/collectd/collectd.conf
index 4ef34ea07..cc49f0ba7 100644
--- a/config/collectd/collectd.conf
+++ b/config/collectd/collectd.conf
@@ -51,7 +51,8 @@  include "/etc/collectd.precache"
 	Chain filter POLICYOUT DROP_OUTPUT
 	Chain filter POLICYIN DROP_INPUT
 	Chain filter SPOOFED_MARTIAN DROP_SPOOFED_MARTIAN
-	Chain filter HOSTILE_DROP DROP_HOSTILE
+	Chain filter HOSTILE_DROP_IN DROP_HOSTILE
+	Chain filter HOSTILE_DROP_OUT DROP_HOSTILE
 </Plugin>
 
 #<Plugin logfile>