<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)">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        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;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></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="HR" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have encountered issue when trying to use StrongSwan 5.3.0dr2 built with NDK android-ndk-9b. VoIP App which is using StrongSwan as an VPN client (StrongSwan is imported as .jar) has target set to 23.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So when this app is installed to 5.x Android phone everything works fine.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When App is installed to the Android M phone and all Permissions manually accepted, StrongSwan fails to start opening VPN connection having the following error log:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">Apr 13 15:17:55 00[DMN] Starting IKE charon daemon (strongSwan 5.3.0dr2, Linux 3.10.40-ge42477a, armv7l)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">Apr 13 15:17:55 00[LIB] feature CUSTOM:libcharon-receiver in critical plugin 'charon' has unmet dependency: CUSTOM:socket<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">Apr 13 15:17:55 00[LIB] feature CUSTOM:libcharon in critical plugin 'charon' has unmet dependency: CUSTOM:libcharon-receiver<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">Apr 13 15:17:55 00[LIB] feature CUSTOM:android-backend in critical plugin 'androidbridge' has unmet dependency: CUSTOM:libcharon<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">Apr 13 15:17:55 00[LIB] failed to load 3 critical plugin features<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Since issue is observed only on Android M phone (same App on Android 5.x phones works fine, so I suppose it is properly built), suspicion is that observed issue is somehow related to Permissions.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Can StrongSwan 5.3.0dr2 (App forces targetSdkVersion = 23) work on Android M phones, or I need to move to newer one? Has anyone observed similar issues?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks and best regards,<o:p></o:p></p>
<p class="MsoNormal">Zeljko<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p><font face="Helv,Arial" size="1"></p>
<hr>
NOTE: This e-mail (including any attachments) is for the sole use of the intended recipient(s) and may contain information that is confidential and/or protected by legal privilege. Any unauthorized review, use, copy, disclosure or distribution of this e-mail
 is strictly prohibited. If you are not the intended recipient, please notify Mitel immediately and destroy all copies of this e-mail. Mitel does not accept any liability for breach of security, error or virus that may result from the transmission of this message.
</font>
<p></p>
</body>
</html>