<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.EmailStyle19
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:991325828;
        mso-list-type:hybrid;
        mso-list-template-ids:1406585338 1991682180 134807577 134807579 134807567 134807577 134807579 134807567 134807577 134807579;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1
        {mso-list-id:996499174;
        mso-list-template-ids:-799608400;}
@list l1:level2
        {mso-level-start-at:0;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level3
        {mso-level-start-at:0;
        mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level4
        {mso-level-start-at:0;
        mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level5
        {mso-level-start-at:0;
        mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level6
        {mso-level-start-at:0;
        mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level7
        {mso-level-start-at:0;
        mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level8
        {mso-level-start-at:0;
        mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level9
        {mso-level-start-at:0;
        mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">I have a problem with the VICI LIST_SA (Child_SA) “bytes-in”, “bytes-out”, “packets-in” and “packets-out” values for a passive connection in a HA enabled two node cluster.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<ol style="margin-top:0cm" start="1" type="1">
<li class="MsoListParagraph" style="margin-left:0cm;mso-list:l0 level1 lfo3">How can I detect whether a LIST_SA is reporting an active or passive IKE_SA (Child_SA) connection?<o:p></o:p></li><li class="MsoListParagraph" style="margin-left:0cm;mso-list:l0 level1 lfo3">Are the Child_SA byte and packet counters always set to zero for a passive connection?<o:p></o:p></li></ol>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If my code is not correctly detecting a passive connection, then it is possible that the byte and packet counters are ignored by my code, leaving them set to zero.<o:p></o:p></p>
<p class="MsoNormal">The current active / passive determination is made on whether IKE_SA state is “ESTABLISHED” - the code is only reporting on established connections with one or more Child_SA.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have tried a few searches but not yet found anything that answers my question.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Thank you<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:12.05pt;text-autospace:none"><b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:EN-GB">Philip Taylor
</span></b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:EN-GB">| Technical Consultant | IRIS & SODOR<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:EN-GB">Space, Defence and Intelligence | CGI</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:EN-GB">Keats House, The Office Park, Springfield Drive, Leatherhead, Surrey, KT22 7LP
</span><span style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:EN-GB">| United Kingdom<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-GB">Please note that I currently work from home Thursday-Friday.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:12.05pt;text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-GB">Contactable via MS Teams: video, voice and text<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.05pt;text-autospace:none"><span style="color:#1F497D;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:12.05pt;text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#A29791;mso-fareast-language:EN-GB">E:
</span><a href="mailto:ph.taylor@logica.com"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#0563C1;mso-fareast-language:EN-GB">ph.taylor@cgi.com</span></a><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:gray;mso-fareast-language:EN-GB">
 | </span><a href="http://www.logica.com/"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#0563C1;mso-fareast-language:EN-GB">www.cgi.com</span></a><a href="http://www.logica.com/"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#A29791;mso-fareast-language:EN-GB"><br>
</span></a><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#A29791;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="color:#1F497D;mso-fareast-language:EN-GB"><img border="0" width="45" height="25" style="width:.4666in;height:.2583in" id="Picture_x0020_1" src="cid:image001.png@01D87B38.DFA90250"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="SV" style="font-size:8.0pt;color:#1F497D;mso-fareast-language:SV"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB"><img border="0" width="61" height="33" style="width:.6333in;height:.3416in" id="Picture_x0020_4" src="cid:image002.jpg@01D87B38.DFA90250"></span><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-GB">  <span style="position:relative;top:-9.0pt;mso-text-raise:9.0pt">CGI
 is committed to supporting our Armed Forces<o:p></o:p></span></span></b></p>
<p class="MsoNormal"><a href="http://www.cgi-group.co.uk/careers/experienced-professionals/careers-in-space"><span style="color:blue;mso-fareast-language:SV">Career Opportunities in CGI Space</span></a><span style="color:#1F497D;mso-fareast-language:SV">
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<br>
<p class="msipfooterd9ab6e03" align="Center" style="margin:0"><span style="font-size:10.0pt;font-family:Arial;color:#000000">Public</span></p>
</div>
</body>
</html>