From cc7cd2c7a6e0c03f610443cb63e8450ed2904d07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pavel=20K=C3=A1cha?= <ph@cesnet.cz>
Date: Wed, 19 Jun 2013 07:13:34 +0200
Subject: [PATCH] Added ICMP to target_proto

---
 src/contrib/wardenWatchdog/WardenWatchdogOfflinecheck.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/contrib/wardenWatchdog/WardenWatchdogOfflinecheck.conf b/src/contrib/wardenWatchdog/WardenWatchdogOfflinecheck.conf
index dff2db7..73414c1 100644
--- a/src/contrib/wardenWatchdog/WardenWatchdogOfflinecheck.conf
+++ b/src/contrib/wardenWatchdog/WardenWatchdogOfflinecheck.conf
@@ -65,7 +65,7 @@ END;');
  {query => "SELECT clients.* FROM clients JOIN events ON clients.service=events.service WHERE events.detected > '\$date' AND NOT FIND_IN_SET(events.source_type, 'IP,URL,Reply-To:') AND events.valid = 't' GROUP BY requestor;",
   text => "Tito klienti posilaji udalosti s \"source_type\", ktery neni ve slovniku",
   contact => 'jakubcegan@cesnet.cz'},
- {query => "SELECT clients.* FROM clients JOIN events ON clients.service=events.service WHERE events.detected > '\$date' AND NOT FIND_IN_SET(events.target_proto, 'IP,HTTP,TCP,UDP') AND events.valid = 't' GROUP BY requestor;",
+ {query => "SELECT clients.* FROM clients JOIN events ON clients.service=events.service WHERE events.detected > '\$date' AND NOT FIND_IN_SET(events.target_proto, 'IP,HTTP,TCP,UDP,ICMP') AND events.valid = 't' GROUP BY requestor;",
   text => "Tito klienti posilaji udalosti s \"target_proto\", ktery neni ve slovniku",
   contact => 'jakubcegan@cesnet.cz'},
  {query => "SELECT clients.* FROM clients JOIN events ON clients.service=events.service WHERE events.detected > '\$date' AND events.target_port NOT REGEXP ('[0-9]+') AND events.target_port IS NOT NULL AND events.valid = 't' GROUP BY requestor;",
-- 
GitLab