<br><br><div class="gmail_quote">On Tue, May 22, 2012 at 1:25 PM, Nick Barcet <span dir="ltr"><<a href="mailto:nick.barcet@canonical.com" target="_blank">nick.barcet@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 05/22/2012 03:26 PM, Doug Hellmann wrote:<br>
> -> In addition to a signature, I think we would need a sequence number<br>
> to be embedded by the agent for each message sent, so that loss of<br>
> messages, or forgery of messages, can be detected by the collector and<br>
> further audit process.<br>
><br>
><br>
> OK. We have a message id, but I assumed those would be used to eliminate<br>
> duplicates so this sounds like something different or new. It implies<br>
> that the agent knows its own id (not hard) and keeps up with a sequence<br>
> counter (more difficult, though not impossible). Did you have something<br>
> in mind for how to implement that?<br>
<br>
</div>Actually, this was my intent in the original blueprint when I specified<br>
the "message_id" field then a couple lines bellow: "a process may verify<br>
that messages were not lost". On the implementation side, I was<br>
thinking that each agent would maintain its own sequence count, as a<br>
global instance count would be pricier. In my mind, non repudiation was<br>
built from the message_signature + message_id which should be unique for<br>
each agent.<br></blockquote><div><br></div><div>OK. That brings a couple of more specific questions to mind:</div><div><br></div><div>Does the agent save its sequence counter through a restart? How and where? What about an upgrade?</div>
<div><br class="Apple-interchange-newline">What would the down-stream consumer of the data do if it discovered there was a missing event? Who should do that detection work?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
Nick<br>
<br>
</font></span></blockquote></div><br>