<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>Dear all:</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>I meet two problems with strongswan 4.6.4 in linux<SPAN style="mso-spacerun: yes">      </SPAN>. </FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>The first problem, I establish 70 ipsec tunnels per second with an </FONT><A name=OLE_LINK2></A><A name=OLE_LINK1><SPAN style="mso-bookmark: OLE_LINK2"><FONT face=Calibri>instrument</FONT></SPAN></A><FONT face=Calibri>, at first the tunnels were established successfully. But about 3 hours later, the instrument send out the IKE INIT packet with nonzero message ID, so that the linux not respond the IKE INIT, the ipsec tunnels could not established and the memory of charon keep rising until exhaust the memory of linux. The message shows me such information:</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>=========================================</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>Mar<SPAN style="mso-spacerun: yes">  </SPAN>1 17:18:47 (none) daemon.info charon: 899[IKE] received message ID 31, expected 0. Ignored </FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>Mar<SPAN style="mso-spacerun: yes">  </SPAN>1 17:18:47 (none) daemon.info charon: 134[ENC] parsed IKE_SA_INIT request 28 [ SA KE No V ] </FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>Mar<SPAN style="mso-spacerun: yes">  </SPAN>1 17:18:47 (none) daemon.info charon: 134[IKE] received message ID 28, expected 0. Ignored </FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>Mar<SPAN style="mso-spacerun: yes">  </SPAN>1 17:18:47 (none) daemon.info charon: 965[NET] received packet: from 10.0.41.39[500] to 10.2.0.5[500] </FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>Mar<SPAN style="mso-spacerun: yes">  </SPAN>1 17:18:47 (none) daemon.info charon: 142[NET] received packet: from 10.0.24.166[500] to 10.2.0.5[500] </FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>Mar<SPAN style="mso-spacerun: yes">  </SPAN>1 17:18:47 (none) daemon.info charon: 51[NET] received packet: from 10.0.33.68[500] to 10.2.0.5[500] </FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>Mar<SPAN style="mso-spacerun: yes">  </SPAN>1 17:18:47 (none) daemon.info charon: 978[ENC] parsed IKE_SA_INIT request 26 [ SA KE No V ] </FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>Mar<SPAN style="mso-spacerun: yes">  </SPAN>1 17:18:47 (none) daemon.info charon: 978[IKE] received message ID 26, expected 0. Ignored </FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>Mar<SPAN style="mso-spacerun: yes">  </SPAN>1 17:18:47 (none) daemon.info charon: 14[NET] received packet: from 10.0.41.25[500] to 10.2.0.5[500] </FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>Mar<SPAN style="mso-spacerun: yes">  </SPAN>1 17:18:47 (none) daemon.info charon: 904[ENC] parsed IKE_SA_INIT request 477 [ SA KE No V ] </FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>Mar<SPAN style="mso-spacerun: yes">  </SPAN>1 17:18:47 (none) daemon.info charon: 904[IKE] received message ID 477, expected 0. Ignored </FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>Mar<SPAN style="mso-spacerun: yes">  </SPAN>1 17:18:47 (none) daemon.info charon: 937[ENC] parsed IKE_SA_INIT request 61 [ SA KE No V ] </FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>Mar<SPAN style="mso-spacerun: yes">  </SPAN>1 17:18:47 (none) daemon.info charon: 937[IKE] received message ID 61, expected 0. Ignored</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>==================================================</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>I want to know why the memory of charon keep rising? How to solve such problem?</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>The second problem, we modify some fields of the IKE INIT and send out to linux with instrument. Then </FONT><A name=OLE_LINK4></A><A name=OLE_LINK3><SPAN style="mso-bookmark: OLE_LINK4"><FONT face=Calibri>strongswan seems abnormal because it couldn¡¯t handle the following normal IKE INIT packet</FONT></SPAN></A><FONT face=Calibri>. Why such abnormal IKE INIT packet lead to the strongswan couldn¡¯t handle the following normal IKE INIT packet?</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>yourth</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face=Calibri>anna</FONT></SPAN></P></DIV>