]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
packetpool: debug message to assist drop checks
authorVictor Julien <vjulien@oisf.net>
Fri, 14 Oct 2022 09:27:13 +0000 (11:27 +0200)
committerVictor Julien <vjulien@oisf.net>
Wed, 19 Oct 2022 21:03:24 +0000 (23:03 +0200)
src/tmqh-packetpool.c

index f715c393f840785b08e3f22e0aeee9989d9e90d6..169856abe5e328b1535622cbbd83e84b3b0760c9 100644 (file)
@@ -434,6 +434,11 @@ void TmqhOutputPacketpool(ThreadVars *t, Packet *p)
         SCLogDebug("tunnel stuff done, move on (proot %d)", proot);
     }
 
+    SCLogDebug("[packet %p][%s] %s", p,
+            IS_TUNNEL_PKT(p) ? IS_TUNNEL_ROOT_PKT(p) ? "tunnel::root" : "tunnel::leaf"
+                             : "no tunnel",
+            (p->action & ACTION_DROP) ? "DROP" : "no drop");
+
     /* we're done with the tunnel root now as well */
     if (proot == true) {
         SCLogDebug("getting rid of root pkt... alloc'd %s", p->root->flags & PKT_ALLOC ? "true" : "false");