From 42ccefba57e15cfa1cbec0fb164c5f87130e1d16 Mon Sep 17 00:00:00 2001 From: Pavel Odintsov Date: Mon, 5 Dec 2016 16:04:16 +0000 Subject: [PATCH] Introduced session field. It's suitable for matching multiple DNS TAP messages to particular DNS resolution session. --- dnstap.proto | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dnstap.proto b/dnstap.proto index 1ed1bb0..483093a 100644 --- a/dnstap.proto +++ b/dnstap.proto @@ -38,6 +38,12 @@ message Dnstap { // the payload. No encoding or interpretation is applied or enforced. optional bytes extra = 3; + // Unique session id + // If enabled, this is uniq string for all resolution tasks. + // This field is very useful for matching all DNS requests related to particular + // domain resolution session + optional bytes session = 4; + // Identifies which field below is filled in. enum Type { MESSAGE = 1;