From d57a4df3b26f09fd099651448b5a7160485438e2 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Thu, 10 Oct 2019 08:05:11 +0000 Subject: [PATCH] enhancement(probe): debug message for initial connection --- probe/endpoint/ebpf.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/probe/endpoint/ebpf.go b/probe/endpoint/ebpf.go index b35674cd1..744b2cb4c 100644 --- a/probe/endpoint/ebpf.go +++ b/probe/endpoint/ebpf.go @@ -329,6 +329,8 @@ func (t *EbpfTracker) feedInitialConnections(conns procspy.ConnIter, seenTuples tuple, namespaceID, incoming := connectionTuple(conn, seenTuples) if _, ok := t.closedDuringInit[tuple]; !ok { if _, ok := t.openConnections[tuple]; !ok { + log.Debugf("initialConnection([%v], in=%v, pid=%v, netNS=%v)", + tuple, incoming, conn.Proc.PID, namespaceID) t.openConnections[tuple] = ebpfConnection{ incoming: incoming, tuple: tuple,