<div dir="ltr">Hi,<div><br></div><div>I have sent this earlier, but haven't received a reply. Anyone got an idea on why this behaviour is seen... Or should I raise a bug report ?</div><div><br></div><div>"<span style="line-height:1.5">As I understood from the docs, if one uses "uniqueids=keep" in the "config setup" section of the ipsec.conf file, strongswan should send the INIT_CONTACT message with the first IKE_AUTH request sent to the peer.</span></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">But, I also see that if I use "rightid=%any" in the same ipsec.conf file in the "conn" section, this INIT_CONTACT is NOT being sent with IKE_AUTH request. It's only if I use a more specific selector in the rightid parameter that INIT_CONTACT is being sent with IKE_AUTH request when bringing the connection up.</div><div class="gmail_msg"><br class="gmail_msg"></div><div><span style="line-height:1.5">What is the reason for this ? Is it the expected behaviour ?</span>"</div><div><br></div><div>Thanks again.</div><div><br></div><div>Regards,</div><div>Marko.<br><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 9, 2016 at 4:04 PM Marko Burazin <<a href="mailto:morkitz@gmail.com">morkitz@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Hi,<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">As I understood from the docs, if one uses "uniqueids=keep" in the "config setup" section of the ipsec.conf file, strongswan should send the INIT_CONTACT message with the first IKE_AUTH request sent to the peer.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">But, I also see that if I use "rightid=%any" in the same ipsec.conf file in the "conn" section, this INIT_CONTACT is NOT being sent with IKE_AUTH request. It's only if I use a more specific selector in the rightid parameter that INIT_CONTACT is being sent with IKE_AUTH request when bringing the connection up.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">What is the reason for this ? Is it the expected behaviour ?</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Thanks in advance.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Regards,</div><div class="gmail_msg">Marko.</div></div></blockquote></div></div></div>