<div dir="ltr">Thank you, Tobias for the answer.<div><br></div><div>> Other than the overhead, I guess not.</div><div><br></div><div>Is querying for use time via policy much faster than querying bytes from SA?</div><div><br></div><div>regards,</div><div>sk</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 17, 2019 at 8:34 AM Tobias Brunner <<a href="mailto:tobias@strongswan.org">tobias@strongswan.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
<br>
> Is there a reason why policy is done<br>
> over SA?<br>
<br>
The SA/state has no last use time on Linux.<br>
<br>
> I was wondering if there is any harm in changing the call to<br>
> query for SA usage, which seems to return bytes and pkts received.<br>
<br>
Other than the overhead, I guess not.<br>
<br>
Regards,<br>
Tobias<br>
<br>
</blockquote></div>