<div dir="ltr"><div dir="ltr"><div><div>Hi Andreas <br><br></div>On server side, I am using :- <br>Linux strongSwan U4.6.2/<br><br></div>And, on modem side :-<br>Linux[Debian, Voyage] strongSwan U4.4.1<br></div><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><b style="color:rgb(136,136,136);font-family:"trebuchet ms",sans-serif;font-size:13px">Best Regards</b><br></div><div><b style="color:rgb(136,136,136);font-family:'trebuchet ms',sans-serif;font-size:13px">Nitin Agarwal</b><br></div><div><span><b style="color:rgb(136,136,136);font-family:'trebuchet ms',sans-serif;font-size:13px">Team Leader R&D</b></span><br style="color:rgb(136,136,136);font-family:'trebuchet ms',sans-serif;font-size:13px"></div><div><b style="color:rgb(136,136,136);font-family:'trebuchet ms',sans-serif;font-size:13px">Symstream Technology Group</b><br style="color:rgb(136,136,136);font-family:'trebuchet ms',sans-serif;font-size:13px">
<span style="font-family:'trebuchet ms',sans-serif;font-size:13px;color:rgb(102,102,102)">M +91 9818893018<br><u><a href="mailto:nitin.agarwal@symstream.com" target="_blank">nitin.agarwal@symstream.com</a></u> | Skype: nitin_symstream</span><br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> </blockquote><div><br></div><br><br></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Jul 28, 2015 at 3:22 PM, Andreas Steffen <span dir="ltr"><<a href="mailto:andreas.steffen@strongswan.org" target="_blank">andreas.steffen@strongswan.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Nitin,<br>
<br>
what VPN product is running on the server, since 1) it produces<br>
notifications in an invalid format and 2) it probably speaks<br>
IKEv1 only, because it replies with INVALID_MAJOR_VERSION to<br>
an IKEv2 request?<br>
<br>
Best regards<br>
<br>
Andreas<span class=""><br>
<br>
On 28.07.2015 10:40, Nitin Agarwal wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Hi Noel<br>
<br>
I have done the changes, But still the tunnels are down for upto 10<br>
minutes, sometime.<br>
This is what I got from Syslog, and these errors are different at<br>
different times :-<br>
<br>
1)<br>
Jul 28 09:28:36 alix6f2-619703 charon: 12[IKE] initiating IKE_SA<br>
52.64.105.113_cnc[2] to 52.74.240.246<br>
Jul 28 09:28:36 alix6f2-619703 charon: 12[ENC] generating IKE_SA_INIT<br>
request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) ]<br>
Jul 28 09:28:36 alix6f2-619703 charon: 12[NET] sending packet: from<br>
100.116.187.100[500] to 52.74.240.246[500]<br>
Jul 28 09:28:37 alix6f2-619703 charon: 16[NET] received packet: from<br>
52.74.240.246[500] to 100.116.187.100[500]<br>
Jul 28 09:28:37 alix6f2-619703 charon: 16[ENC] invalid notify data<br>
length for INVALID_MAJOR_VERSION (20)<br></span>
Jul 28 09:28:37 alix6f2-619703 charon: 16[ENC] *NOTIFY payload<br>
verification failed *<span class=""><br>
Jul 28 09:28:37 alix6f2-619703 charon: 16[IKE] IKE_SA_INIT response with<br>
message ID 0 processing failed<br>
Jul 28 09:28:40 alix6f2-619703 charon: 13[IKE] retransmit 1 of request<br>
with message ID 0<br>
<br>
<br>
2) Jul 28 09:29:40 alix6f2-619703 charon: 13[ENC] generating IKE_SA_INIT<br>
request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) ]<br>
Jul 28 09:29:40 alix6f2-619703 charon: 13[NET] sending packet: from<br>
100.116.187.100[500] to 52.74.240.246[500]<br>
Jul 28 09:29:41 alix6f2-619703 charon: 16[NET] received packet: from<br>
52.74.240.246[500] to 100.116.187.100[500]<br>
Jul 28 09:29:41 alix6f2-619703 charon: 16[ENC] parsed IKE_SA_INIT<br>
response 0 [ N(INVAL_SYN) ]<br></span>
Jul 28 09:29:41 alix6f2-619703 charon: 16[IKE]*received INVALID_SYNTAX<br>
notify error *<span class=""><br>
<br>
<br>
can anybody please suggest why this is happening ?<br>
<br>
<br>
<br>
<br></span>
*Best Regards*<br>
*Nitin Agarwal*<span class=""><br>
<br>
<br>
<br>
<br>
<br>
<br>
On Wed, Jul 22, 2015 at 3:59 PM, Noel Kuntze <<a href="mailto:noel@familie-kuntze.de" target="_blank">noel@familie-kuntze.de</a><br></span><div><div class="h5">
<mailto:<a href="mailto:noel@familie-kuntze.de" target="_blank">noel@familie-kuntze.de</a>>> wrote:<br>
<br>
<br>
    -----BEGIN PGP SIGNED MESSAGE-----<br>
    Hash: SHA256<br>
<br>
    Hello Nitin,<br>
<br>
    You're using IKEv2, which uses a global timeout setting in<br>
    strongswan.conf,<br>
    not dpdtimeout.<br>
    - From the man page for ipsec.conf:<br>
            dpdtimeout = 150s | <time><br>
                   defines the timeout interval, after which all<br>
    connections to a peer are deleted in case of inactivity. This only<br>
    applies to IKEv1,  in  IKEv2  the  default  retransmission<br>
                   timeout applies, as every exchange is used to detect<br>
    dead peers.<br>
<br>
    Look at the "IKEv2 RETRANSMISSION" section of the man page for<br>
    strongswan.conf.<br>
<br>
    Alternatively, use IKEv1.<br>
<br>
    Mit freundlichen Grüßen/Kind Regards,<br>
    Noel Kuntze<br>
<br>
    GPG Key ID: 0x63EC6658<br>
    Fingerprint: 23CA BB60 2146 05E7 7278 6592 3839 298F 63EC 6658<br>
<br>
    Am 22.07.2015 um 07:26 schrieb Nitin Agarwal:<br>
    > Hello Guys<br>
    ><br>
    > I am trying to achieve stable tunnel connectivity between two systems.<br>
    > My System 1 is a modem having ppp connection.And, System 2 is a server.<br>
    ><br>
    > On System 1, IP use to change and whenever IP changes, sometime system takes upto 20 minutes to form stable tunnel. Sometime is just 50 seconds also. PPP connection takes around 25 seconds to release old IP and acquire new one.<br>
    ><br>
    > I am attaching the existing configuration.<br>
    > Please suggest, if I need to modify the configurations or I am missing something.<br>
    ><br>
    ><br>
    ><br>
    ><br>
     > *Best Regards*<br>
     > *Nitin Agarwal*<br>
     ><br>
     ><br>
     ><br>
     ><br>
     ><br>
     ><br>
     ><br>
     ><br>
     > This message (and any associated files) is intended only for the<br>
    use of the individual or entity to which it is addressed and may<br>
    contain information that is confidential, subject to copyright or<br>
    constitutes a trade secret. If you are not the intended recipient<br>
    you are hereby notified that any dissemination, copying or<br>
    distribution of this message, or files associated with this message,<br>
    is strictly prohibited. If you have received this message in error,<br>
    please notify Symstream Technology Group immediately by replying to<br>
    the message and deleting it from your computer. Messages sent to and<br>
    from us may be monitored. Internet communications cannot be<br>
    guaranteed to be secure or error-free as information could be<br>
    intercepted, corrupted, lost, destroyed, arrive late or incomplete,<br>
    or contain viruses. Therefore, we do not accept responsibility for<br>
    any errors or omissions that are present in this message, or any<br>
    attachment, that have arisen as a result of e-mail transmission. If<br>
    verification is required, please request a hard-copy version. Any<br>
    views or opinions presented are solely those of the author and do<br>
    not necessarily represent those of the company.<br>
     > -------------------------<br>
     ><br>
     ><br>
     > _______________________________________________<br>
     > Users mailing list<br></div></div>
     > <a href="mailto:Users@lists.strongswan.org" target="_blank">Users@lists.strongswan.org</a> <mailto:<a href="mailto:Users@lists.strongswan.org" target="_blank">Users@lists.strongswan.org</a>><span class=""><br>
     > <a href="https://lists.strongswan.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.strongswan.org/mailman/listinfo/users</a><br>
<br>
    -----BEGIN PGP SIGNATURE-----<br>
    Version: GnuPG v2<br>
<br>
    iQIcBAEBCAAGBQJVr3CcAAoJEDg5KY9j7GZYMJ0P/RJRVW32kd9fkJfJhof4WB6q<br>
    bdmddVmBtM7f+ftXkde1NyDrkiMyig4Ye4/xYJMvSmqItwR+f64r+jh3JH+Z4Jbv<br>
    vkIbbfikTPt0KPKhqPAJUuEjDZFvKiVJf4dkMHbx9+kPDr3WtvJGHlJyN3OyVcli<br>
    gfIIjSt8T6PrDVin5l4REZ5mG5uATiZpcMyFakLamRExzY5iXXhz+Ai++hY3fuRG<br>
    TedEo2XyfqaXqxN5GP/EVvPMZ3VHa7eJu5R4xvZ8lrTY46Iu7/TerUXUYDpcspbx<br>
    hGmSJVi/704DgOy6XxG/TkLyapd/ojXlPk/zU7Z1DRzpBz29nb3QCykbtNmyXUwt<br>
    G+uqDOQsQeYztjr98sWVUMROLcOH4UoF3RhWkX0WdbqeTXfRpWGOoKvgtvnWVkXq<br>
    24ODFzV53XEiOp5urtbevevJfIp+8pfXE/IL6sq08w0Zcucjix/h+1DfwnBlD7MO<br>
    Y4ZEttzztCxDwr3qmUBi2ULrSqz77KK8pQgacWHE1sr8wTKA9X45akTZgL6/ojZq<br>
    QjTwcbH9W7gHI3XHCWJleo6YrUc1OgIOhmtFefZGJoFaQR8m7Y3bYv2v69y2WDbI<br>
    EOi2f2pOfytCvhf22PfhAbeHK3AWub2hRTqvrR45qIbpb91GFqU6Y/aYg9hJlhUE<br>
    2HE/OCNfW/CiQx6Ckd2+<br>
    =/9V8<br>
    -----END PGP SIGNATURE-----<br>
<br>
<br>
<br>
<br></span><span class="">
This message (and any associated files) is intended only for the use of<br>
the individual or entity to which it is addressed and may contain<br>
information that is confidential, subject to copyright or constitutes a<br>
trade secret. If you are not the intended recipient you are hereby<br>
notified that any dissemination, copying or distribution of this<br>
message, or files associated with this message, is strictly prohibited.<br>
If you have received this message in error, please notify Symstream<br>
Technology Group immediately by replying to the message and deleting it<br>
from your computer. Messages sent to and from us may be monitored.<br>
Internet communications cannot be guaranteed to be secure or error-free<br>
as information could be intercepted, corrupted, lost, destroyed, arrive<br>
late or incomplete, or contain viruses. Therefore, we do not accept<br>
responsibility for any errors or omissions that are present in this<br>
message, or any attachment, that have arisen as a result of e-mail<br>
transmission. If verification is required, please request a hard-copy<br>
version. Any views or opinions presented are solely those of the author<br>
and do not necessarily represent those of the company.<br></span>
------------------------------------------------------------------------<span class=""><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.strongswan.org" target="_blank">Users@lists.strongswan.org</a><br>
<a href="https://lists.strongswan.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.strongswan.org/mailman/listinfo/users</a><br>
<br>
</span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
======================================================================<br>
Andreas Steffen                         <a href="mailto:andreas.steffen@strongswan.org" target="_blank">andreas.steffen@strongswan.org</a><br>
strongSwan - the Open Source VPN Solution!          <a href="http://www.strongswan.org" rel="noreferrer" target="_blank">www.strongswan.org</a><br>
Institute for Internet Technologies and Applications<br>
University of Applied Sciences Rapperswil<br>
CH-8640 Rapperswil (Switzerland)<br>
===========================================================[ITA-HSR]==<br>
<br>
</font></span></blockquote></div><br></div>

<br>
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify Symstream Technology Group immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.</span><hr>