<div dir="ltr">Hi,<div>It was a bit of confusion in the previous mail about InPkts (as they have nothing to do with IKE). But I was wondering about those tunnel counters that can be also counted in IKE, for e.g. OutDiscNoSa, where each packet that does not find a outgoing SA is reported to IKE stack for starting a new child SA negotiation. </div>
<div><br></div><div>BR,</div><div>/Sima</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 30, 2013 at 10:24 AM, sima hooshyar <span dir="ltr"><<a href="mailto:sima.hooshyar@gmail.com" target="_blank">sima.hooshyar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Strong Swan:)<div><br></div><div>I am a new to SS and have a question regarding the counters.</div><div>
I could find the IKE counters in stroke_counter.h in libcharon.</div><div><br></div><div>enum stroke_counter_type_t {</div>
<div> /** initiated IKE_SA rekeyings */</div><div> COUNTER_INIT_IKE_SA_REKEY,</div><div> /** responded IKE_SA rekeyings */</div><div> COUNTER_RESP_IKE_SA_REKEY,</div><div> /** completed CHILD_SA rekeyings */</div>
<div> COUNTER_CHILD_SA_REKEY,</div><div> /** messages with invalid types, length, or a value out of range */</div><div> COUNTER_IN_INVALID,</div><div> /** messages with an invalid IKE SPI */</div>
<div> COUNTER_IN_INVALID_IKE_SPI,</div><div> ....</div><div><br></div><div>But I am wondering where I can find IPSEC tunnel related counters. Such as OutDiscNoSa, the number of outgoing packets that are discarded because SA is not present, or InPkts, the number of incoming packets for a particular tunnel.<span class="HOEnZb"><font color="#888888"><br clear="all">
<div><br></div>-- <br>Best regards<br>Sima Hooshyar<br><br>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards<br>Sima Hooshyar<br><br>
</div>