<div dir="ltr"><div><div><div>Hi Noel <br><br></div>I have done the changes, But still the tunnels are down for upto 10 minutes, sometime. <br></div>This is what I got from Syslog, and these errors are different at different times :- <br><br>1) <br>Jul 28 09:28:36 alix6f2-619703 charon: 12[IKE] initiating IKE_SA 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 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 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 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 length for INVALID_MAJOR_VERSION (20) <br>Jul 28 09:28:37 alix6f2-619703 charon: 16[ENC] <b>NOTIFY payload verification failed </b><br>Jul 28 09:28:37 alix6f2-619703 charon: 16[IKE] IKE_SA_INIT response with message ID 0 processing failed <br>Jul 28 09:28:40 alix6f2-619703 charon: 13[IKE] retransmit 1 of request with message ID 0 <br><br><br>2) Jul 28 09:29:40 alix6f2-619703 charon: 13[ENC] generating IKE_SA_INIT 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 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 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 response 0 [ N(INVAL_SYN) ] <br>Jul 28 09:29:41 alix6f2-619703 charon: 16[IKE]<b> received INVALID_SYNTAX notify error </b><br><br><br></div><div><div><div>can anybody please suggest why this is happening ?<br><br></div><div><br><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div><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><br><div><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 Wed, Jul 22, 2015 at 3:59 PM, Noel Kuntze <span dir="ltr"><<a href="mailto:noel@familie-kuntze.de" target="_blank">noel@familie-kuntze.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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 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 connections to a peer are deleted in case of inactivity. This only applies to IKEv1, in IKEv2 the default retransmission<br>
timeout applies, as every exchange is used to detect dead peers.<br>
<br>
Look at the "IKEv2 RETRANSMISSION" section of the man page for 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>
<span><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>
</span>> *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 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<br>
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.<br>
> -------------------------<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>
-----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>
</blockquote></div><br></div></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>