From 4c9aec402c69df7b4c69410aa66e0c27ca605678 Mon Sep 17 00:00:00 2001 From: Paul Chaignon Date: Wed, 6 Dec 2023 15:58:30 +0100 Subject: [PATCH] defaults: Add expected drop reasons We currently have many packet drops that are more or less expected. Some like "Authentication required" are expected for specific features and others like "Stale or unroutable IP" are known and understood even though we'd prefer to avoid them. Signed-off-by: Paul Chaignon --- defaults/defaults.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/defaults/defaults.go b/defaults/defaults.go index 70626a1d22..addad43d0f 100644 --- a/defaults/defaults.go +++ b/defaults/defaults.go @@ -194,5 +194,13 @@ var ( ExpectedDropReasons = []string{ "Policy denied", "Policy denied by denylist", + "Unsupported L3 protocol", + "Stale or unroutable IP", + "Authentication required", + "Service backend not found", + "Unsupported protocol for NAT masquerade", + "Invalid source ip", + "Unknown L3 target address", + "No tunnel/encapsulation endpoint (datapath BUG!)", } )