<p class="MsoNormal"><span style="color:#17365d">Hi All, </span></p>
<p class="MsoNormal"><span style="color:#17365d"> </span></p>
<p class="MsoNormal"><span style="color:#17365d">Strongswan: 4.5.3</span></p>
<p class="MsoNormal"><span style="color:#17365d"> </span></p>
<p class="MsoNormal"><span style="color:#17365d">Strongswan is selecting the different ESP encryption priority for <b>IKEv1</b> and <b>IKEv2. </b></span></p>
<p class="MsoNormal"><span style="color:#17365d"> </span></p><p class="MsoNormal"><span style="color:#17365d">Wha is the reason for this?</span></p><p class="MsoNormal"><span style="color:#17365d"><br></span></p>
<p class="MsoNormal"><span style="color:#17365d">Node A: (Initiator) </span></p>
<p class="MsoNormal"><span style="color:#17365d">=======</span></p>
<p class="MsoNormal"><span style="color:#17365d">conn conn1</span></p>
<p class="MsoNormal"><span style="color:#17365d"> type=tunnel</span></p>
<p class="MsoNormal"><span style="color:#17365d">
ike=aes128-sha1-modp1024,3des-sha1-modp1024!</span></p>
<p class="MsoNormal"><span style="color:#17365d"> <span style="background:yellow">esp=aes128-sha1, 3des-sha1!</span></span></p>
<p class="MsoNormal"><span style="color:#17365d"> </span></p>
<p class="MsoNormal"><span style="color:#17365d">Node B: (Responder) </span></p>
<p class="MsoNormal"><span style="color:#17365d">=======</span></p>
<p class="MsoNormal"><a name="_MailAutoSig"><span style="color:#17365d">conn conn1</span></a></p>
<p class="MsoNormal"><span style="color:#17365d"> type=tunnel</span></p>
<p class="MsoNormal"><span style="color:#17365d"> ike=aes128-sha1-modp1024,3des-sha1-modp1024!</span></p>
<p class="MsoNormal"><span style="color:#17365d"> <span style="background:yellow">esp=3des-sha1,aes128-sha1!</span></span></p>
<p class="MsoNormal"><span style="color:#17365d"> </span></p>
<p class="MsoNormal"><span style="color:#17365d"><snip>
IKEv1 O/P</span></p>
<p class="MsoNormal"><span style="color:#17365d">ip
x s</span></p>
<p class="MsoNormal"><span style="color:#17365d">src
10.10.10.11 dst 10.10.10.10</span></p>
<p class="MsoNormal"><span style="color:#17365d"> proto esp spi 0xc39d392e reqid 16384
mode tunnel</span></p>
<p class="MsoNormal"><span style="color:#17365d"> replay-window 0 flag nopmtudisc 20</span></p>
<p class="MsoNormal"><span style="color:#17365d"> auth hmac(sha1)
0xd64a2161bbcb15cc8214e92a7e741ee7f6a42354</span></p>
<p class="MsoNormal"><span style="color:#17365d"> enc cbc(</span><b><span style="color:red">des3_ede</span></b><span style="color:#17365d">)
0x49ef278b1f67549994c7d249a116a30214d30cee8970bdd9</span></p>
<p class="MsoNormal"><span style="color:#17365d">src
10.10.10.10 dst 10.10.10.11</span></p>
<p class="MsoNormal"><span style="color:#17365d"> proto esp spi 0xc8ea85c3 reqid 16384
mode tunnel</span></p>
<p class="MsoNormal"><span style="color:#17365d"> replay-window 0 flag nopmtudisc 20</span></p>
<p class="MsoNormal"><span style="color:#17365d"> auth hmac(sha1)
0x08c788a2d2ce7a589eff32d9247e83a6ebd51c68</span></p>
<p class="MsoNormal"><span style="color:#17365d"> enc cbc(</span><b><span style="color:red">des3_ede</span></b><span style="color:#17365d">)
0xc8114a2f0b28fe1f38a452798a63c786ba3fa909d5426e95</span></p>
<p class="MsoNormal"><span style="color:#17365d"></snip></span></p>
<p class="MsoNormal"><span style="color:#17365d"> </span></p>
<p class="MsoNormal"><b><span style="color:#17365d">IKEv1</span></b><span style="color:#17365d">: Strongswan is selecting the <b>3DES</b> encryption method.</span></p>
<p class="MsoNormal"><b><span style="color:#17365d">IKEv2</span></b><span style="color:#17365d">: Strongswan is selecting the <b>AES</b> encryption method.</span></p>
<p class="MsoNormal"><span style="color:#17365d"> </span></p>
<p class="MsoNormal"><span style="color:#17365d">Could
anyone clarify me the reason different encryption method chosen for <b>IKEv1</b> and <b>IKEv2</b>?</span></p>
<p class="MsoNormal"><span style="color:#17365d"> </span></p>
<p class="MsoNormal"><span style="color:#17365d">Thanks.
</span></p>
<p class="MsoNormal"><span style="color:#17365d"> </span></p>
<p class="MsoNormal"><span style="color:#17365d">Regards,</span></p>
<p class="MsoNormal"><span style="color:#17365d">Jegathesh.M</span></p>
<p class="MsoNormal"><span style="color:#17365d"> </span></p>