<html><body><div>Hi Prakash, I think you misunderstood me (as I didn't make myself very clear)</div><div><br></div><div>I think the issues you're getting are configuration related at either side and not related to the EC2 instance specifically.</div><div><br></div><div>Can you post your config file from both sizes, it looks like - from your logs that Phase1/2 are not negotiating correctly and there's some kind of mismatch in timings .</div><div><br></div><div>Where im working, we have setup an EC2 instance, t2.small to a client in the USA, on a Cisco ASA 5510.. 3des-md5.. the tunnel has been up for months.. we're using the same version of OpenSwan/racoon that you are.</div><div><br></div><div>What I did originally was to remove any options to set phase1/2 algorithms and commented them out in my config until i got a working config on the openswan side.</div><div><br></div><div>if you run 'ipsec auto status' what do you see ?</div><div><br></div><div>it should look *something* like this </div><div><br></div><div><p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);"># ipsec auto status</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">ipsec auto: warning: obsolete command syntax used</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 using kernel interface: netkey</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 interface lo/lo ::1</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 interface lo/lo 127.0.0.1</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 interface lo/lo 127.0.0.1</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 interface eth0/eth0 172.11.44.240</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 interface eth0/eth0 172.11.44.240</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 interface tun0/tun0 10.8.0.1</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 interface tun0/tun0 10.8.0.1</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 %myid = (none)</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 debug none</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 </p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 virtual_private (%priv):</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 - allowed 0 subnets: </p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 - disallowed 0 subnets: </p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 WARNING: Either virtual_private= is not specified, or there is a syntax </p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 error in that line. 'left/rightsubnet=vhost:%priv' will not work!</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 WARNING: Disallowed subnets in virtual_private= is empty. If you have </p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 private address space in internal use, it should be excluded!</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 </p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP encrypt: id=2, name=ESP_DES, ivlen=8, keysizemin=64, keysizemax=64</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP encrypt: id=3, name=ESP_3DES, ivlen=8, keysizemin=192, keysizemax=192</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP encrypt: id=6, name=ESP_CAST, ivlen=8, keysizemin=40, keysizemax=128</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP encrypt: id=7, name=ESP_BLOWFISH, ivlen=8, keysizemin=40, keysizemax=448</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP encrypt: id=11, name=ESP_NULL, ivlen=0, keysizemin=0, keysizemax=0</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP encrypt: id=12, name=ESP_AES, ivlen=8, keysizemin=128, keysizemax=256</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP encrypt: id=13, name=ESP_AES_CTR, ivlen=8, keysizemin=160, keysizemax=288</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP encrypt: id=14, name=ESP_AES_CCM_A, ivlen=8, keysizemin=128, keysizemax=256</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP encrypt: id=15, name=ESP_AES_CCM_B, ivlen=8, keysizemin=128, keysizemax=256</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP encrypt: id=16, name=ESP_AES_CCM_C, ivlen=8, keysizemin=128, keysizemax=256</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP encrypt: id=18, name=ESP_AES_GCM_A, ivlen=8, keysizemin=128, keysizemax=256</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP encrypt: id=19, name=ESP_AES_GCM_B, ivlen=8, keysizemin=128, keysizemax=256</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP encrypt: id=20, name=ESP_AES_GCM_C, ivlen=8, keysizemin=128, keysizemax=256</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP encrypt: id=22, name=ESP_CAMELLIA, ivlen=8, keysizemin=128, keysizemax=256</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP encrypt: id=252, name=ESP_SERPENT, ivlen=8, keysizemin=128, keysizemax=256</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP encrypt: id=253, name=ESP_TWOFISH, ivlen=8, keysizemin=128, keysizemax=256</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP auth attr: id=1, name=AUTH_ALGORITHM_HMAC_MD5, keysizemin=128, keysizemax=128</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP auth attr: id=2, name=AUTH_ALGORITHM_HMAC_SHA1, keysizemin=160, keysizemax=160</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP auth attr: id=5, name=AUTH_ALGORITHM_HMAC_SHA2_256, keysizemin=256, keysizemax=256</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP auth attr: id=6, name=AUTH_ALGORITHM_HMAC_SHA2_384, keysizemin=384, keysizemax=384</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP auth attr: id=7, name=AUTH_ALGORITHM_HMAC_SHA2_512, keysizemin=512, keysizemax=512</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP auth attr: id=8, name=AUTH_ALGORITHM_HMAC_RIPEMD, keysizemin=160, keysizemax=160</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP auth attr: id=9, name=AUTH_ALGORITHM_AES_CBC, keysizemin=128, keysizemax=128</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm ESP auth attr: id=251, name=AUTH_ALGORITHM_NULL_KAME, keysizemin=0, keysizemax=0</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 </p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm IKE encrypt: id=0, name=(null), blocksize=16, keydeflen=131</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm IKE encrypt: id=5, name=OAKLEY_3DES_CBC, blocksize=8, keydeflen=192</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm IKE encrypt: id=7, name=OAKLEY_AES_CBC, blocksize=16, keydeflen=128</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm IKE hash: id=1, name=OAKLEY_MD5, hashsize=16</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm IKE hash: id=2, name=OAKLEY_SHA1, hashsize=20</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm IKE hash: id=4, name=OAKLEY_SHA2_256, hashsize=32</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm IKE hash: id=6, name=OAKLEY_SHA2_512, hashsize=64</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm IKE dh group: id=2, name=OAKLEY_GROUP_MODP1024, bits=1024</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm IKE dh group: id=5, name=OAKLEY_GROUP_MODP1536, bits=1536</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm IKE dh group: id=14, name=OAKLEY_GROUP_MODP2048, bits=2048</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm IKE dh group: id=15, name=OAKLEY_GROUP_MODP3072, bits=3072</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm IKE dh group: id=16, name=OAKLEY_GROUP_MODP4096, bits=4096</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm IKE dh group: id=17, name=OAKLEY_GROUP_MODP6144, bits=6144</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm IKE dh group: id=18, name=OAKLEY_GROUP_MODP8192, bits=8192</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm IKE dh group: id=22, name=OAKLEY_GROUP_DH22, bits=1024</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm IKE dh group: id=23, name=OAKLEY_GROUP_DH23, bits=2048</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 algorithm IKE dh group: id=24, name=OAKLEY_GROUP_DH24, bits=2048</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 </p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 stats db_ops: {curr_cnt, total_cnt, maxsz} :context={0,11,64} trans={0,11,3072} attrs={0,11,2048} </p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 </p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 "idc-dr/1x1": 172.11.44.0/16===172.11.44.240[52.x.x.x]...172.11.44.1---72.11.62.33<72.11.62.33>===192.168.30.0/24; erouted; eroute owner: #171</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 "idc-dr/1x1": myip=172.11.44.240; hisip=unset;</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 "idc-dr/1x1": ike_life: 86400s; ipsec_life: 28800s; rekey_margin: 540s; rekey_fuzz: 100%; keyingtries: 0 </p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 "idc-dr/1x1": policy: PSK+ENCRYPT+TUNNEL+UP+IKEv2ALLOW+SAREFTRACK+lKOD+rKOD; prio: 16,24; interface: eth0; </p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 "idc-dr/1x1": newest ISAKMP SA: #169; newest IPsec SA: #171; </p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 "idc-dr/1x1": aliases: idc-dr </p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 "idc-dr/1x1": IKE algorithms wanted: 3DES_CBC(5)_000-MD5(1)_000-MODP1536(5), 3DES_CBC(5)_000-MD5(1)_000-MODP1024(2); flags=-strict</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 "idc-dr/1x1": IKE algorithms found: 3DES_CBC(5)_192-MD5(1)_128-MODP1536(5)3DES_CBC(5)_192-MD5(1)_128-MODP1024(2)</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 "idc-dr/1x1": IKE algorithm newest: 3DES_CBC_192-MD5-MODP1024</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 "idc-dr/1x1": ESP algorithms wanted: 3DES(3)_000-MD5(1)_000; flags=-strict</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 "idc-dr/1x1": ESP algorithms loaded: 3DES(3)_192-MD5(1)_128</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 "idc-dr/1x1": ESP algorithm newest: 3DES_000-HMAC_MD5; pfsgroup=<N/A></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 </p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 #171: "idc-dr/1x1":4500 STATE_QUICK_R2 (IPsec SA established); EVENT_SA_REPLACE in 24593s; newest IPSEC; eroute owner; isakmp#169; idle; import:not set</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 #171: "idc-dr/1x1" esp.ace0ffe6@72.11.62.33 esp.7cc12623@172.11.44.240 tun.0@72.11.62.33 tun.0@172.11.44.240 ref=0 refhim=4294901761</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 #169: "idc-dr/1x1":4500 STATE_MAIN_R3 (sent MR3, ISAKMP SA established); EVENT_SA_REPLACE in 45423s; newest ISAKMP; lastdpd=-1s(seq in:0 out:0); idle; import:not set</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'PT Mono'; background-color: rgb(255, 247, 171);">000 </p></div><div><br></div><div>start off by posting the configs from both sides (ipsec.conf / cisco asa) and check your phase 1/2 key times</div><div> </div><div>On Aug 27, 2015, at 10:14 AM, Prakash Palanisamy <ppalanisamy@sdl.com> wrote:<br><br></div><div><div><blockquote type="cite"><div class="msg-quote" lang="EN-US"><div class="WordSection1"><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Hi Daniel,</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;"> </span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Thanks for your input. I tried different instance types, even with m4.2xlarge which got High Network performance & Enhanced Networking I could see the connection is getting reset after 90 seconds.</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;"> </span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Thanks,</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Prakash</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;"> </span></p><div><br></div></div><br> <a><img src="http://dr0muzwhcp26z.cloudfront.net/static/corporate/SDL-logo-2014.png" alt="" width="150" height="68" data-mce-src="http://dr0muzwhcp26z.cloudfront.net/static/corporate/SDL-logo-2014.png"></a><br> <a href="http://www.sdl.com" data-mce-href="http://www.sdl.com">http://www.sdl.com</a> <br> <br><div class="WordSection1"><div><br></div></div><br><table class="ImprintUniqueIDTable mceItemTable" style="border-collapse: collapse" border="0" cellspacing="0" cellpadding="0" data-mce-style="border-collapse: collapse;"><tbody><tr><td width="800"><span data-mce-style="color: #a1a1a1; font-size: 8pt;" style="color: #a1a1a1; font-size: 8pt;" size="+0">SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us.<br> <br> SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. <br> Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. </span></td></tr></tbody></table><br><div class="WordSection1"><div><div style="border: none ; border-top: solid #e1e1e1 1.0pt ; padding: 3.0pt 0in 0in 0in" data-mce-style="border: none; border-top: solid #e1e1e1 1.0pt; padding: 3.0pt 0in 0in 0in;"><p class="MsoNormal"><strong>From:</strong> Daniel Cave [mailto:dan.cave@me.com] <br> <strong>Sent:</strong> Wednesday, August 26, 2015 10:36 PM<br> <strong>To:</strong> Prakash Palanisamy <ppalanisamy@sdl.com><br> <strong>Cc:</strong> <a href="mailto:users@lists.openswan.org" data-mce-href="mailto:users@lists.openswan.org">users@lists.openswan.org</a><br> <strong>Subject:</strong> Re: [Openswan Users] Connection is getting reset every few seconds</p></div></div><p class="MsoNormal"> </p><div><p class="MsoNormal">If you search the archives I had a similar problem about four months ago with an Asa except my instance in aws was too small for the volume of traffic I was using it for and my openSwan tunnel kept collapsing randomly. </p></div><div><p class="MsoNormal"><br> Sent from my iPhone</p></div><div><p class="MsoNormal" style="margin-bottom: 12.0pt" data-mce-style="margin-bottom: 12.0pt;"><br> On 26 Aug 2015, at 18:22, Prakash Palanisamy <<a href="mailto:ppalanisamy@sdl.com" data-mce-href="mailto:ppalanisamy@sdl.com">ppalanisamy@sdl.com</a>> wrote:</p></div><blockquote style="margin-top: 5.0pt ; margin-bottom: 5.0pt" data-mce-style="margin-top: 5.0pt; margin-bottom: 5.0pt;"><div><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">I have modified the config to set “rekey=no” based on feedback from lots of other threads, but this doesn’t help. I have requested for details at ASA to check the renegotiation policy at the other end.</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;"> </span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">What would be the other possible reasons for continuous reset?</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;"> </span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Thanks,</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Prakash</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;"> </span></p><p class="MsoNormal" style="margin-bottom: 12.0pt" data-mce-style="margin-bottom: 12.0pt;"><span style="font-size: 12.0pt ; font-family: "times new roman" , serif" data-mce-style="font-size: 12.0pt; font-family: 'times new roman' , serif;"><br> <a><span style="border: solid 1.0pt ; padding: 0in ; text-decoration: none" data-mce-style="border: solid 1.0pt; padding: 0in; text-decoration: none;"><img id="_x0000_i1025" src="cid:cffa17bf-0b0f-4e61-9f29-7577ee1d90a8@icloud.com" border="0" alt="Image removed by sender." width="150" height="68" data-inline-image="true" data-mce-src="cid:cffa17bf-0b0f-4e61-9f29-7577ee1d90a8@icloud.com" ></span></a><br> <a href="http://www.sdl.com" data-mce-href="http://www.sdl.com">www.sdl.com</a> </span></p><table class="MsoNormalTable mceItemTable" style="border-collapse: collapse" border="0" cellspacing="0" cellpadding="0" data-mce-style="border-collapse: collapse;"><tbody><tr><td style="padding: 0in 0in 0in 0in" data-mce-style="padding: 0in 0in 0in 0in;"> </td></tr></tbody></table><p class="MsoNormal"><span style="font-size: 12.0pt ; font-family: "times new roman" , serif ; display: none" data-mce-style="font-size: 12.0pt; font-family: 'times new roman' , serif; display: none;"> </span></p><table class="MsoNormalTable mceItemTable" style="border-collapse: collapse" border="0" cellspacing="0" cellpadding="0" data-mce-style="border-collapse: collapse;"><tbody><tr><td style="padding: 0in 0in 0in 0in" data-mce-style="padding: 0in 0in 0in 0in;"> </td></tr></tbody></table><p class="MsoNormal"><span style="font-size: 12.0pt ; font-family: "times new roman" , serif" data-mce-style="font-size: 12.0pt; font-family: 'times new roman' , serif;"> </span></p><table class="MsoNormalTable mceItemTable" style="border-collapse: collapse" border="0" cellspacing="0" cellpadding="0" data-mce-style="border-collapse: collapse;"><tbody><tr><td style="width: 600.0pt ; padding: 0in 0in 0in 0in" width="800" data-mce-style="width: 600.0pt; padding: 0in 0in 0in 0in;"><p class="MsoNormal"><span style="font-size: 8.0pt ; font-family: "times new roman" , serif ; color: #a1a1a1" data-mce-style="font-size: 8.0pt; font-family: 'times new roman' , serif; color: #a1a1a1;">SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us.<br> <br> SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. <br> Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. </span></p></td></tr></tbody></table><p class="MsoNormal"><span style="font-size: 12.0pt ; font-family: "times new roman" , serif" data-mce-style="font-size: 12.0pt; font-family: 'times new roman' , serif;"> </span></p><div><div style="border: none ; border-top: solid #e1e1e1 1.0pt ; padding: 3.0pt 0in 0in 0in" data-mce-style="border: none; border-top: solid #e1e1e1 1.0pt; padding: 3.0pt 0in 0in 0in;"><p class="MsoNormal"><strong>From:</strong> Prakash Palanisamy <br> <strong>Sent:</strong> Monday, August 24, 2015 4:54 PM<br> <strong>To:</strong> '<a href="mailto:users@lists.openswan.org" data-mce-href="mailto:users@lists.openswan.org">users@lists.openswan.org</a>' <<a href="mailto:users@lists.openswan.org" data-mce-href="mailto:users@lists.openswan.org">users@lists.openswan.org</a>><br> <strong>Subject:</strong> Connection is getting reset every few seconds</p></div></div><p class="MsoNormal"> </p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">VPN connection between Linux Openswan U2.6.38 (Ubuntu EC2 instance in VPC with EIP) & Cisco ASA 5510 is getting reset every few seconds. Earlier today with the help of the community I solved the another problem with “pending phase 2” issue and after that we see that the connection is being very flaky.</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;"> </span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Other details about the setup can be found in my previous thread - <a href="https://lists.openswan.org/pipermail/users/2015-August/023391.html" data-mce-href="https://lists.openswan.org/pipermail/users/2015-August/023391.html">https://lists.openswan.org/pipermail/users/2015-August/023391.html</a> </span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;"> </span></p><p class="MsoNormal"><strong><span style="color: #2f5496" data-mce-style="color: #2f5496;">Auth logs:</span></strong></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:52 gateway3 pluto[31154]: "Connection1/1x1" #1: initiating Main Mode</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:52 gateway3 pluto[31154]: "Connection1/1x1" #1: ignoring Vendor ID payload [Cisco IKE Fragmentation]</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:52 gateway3 pluto[31154]: "Connection1/1x1" #1: transition from state STATE_MAIN_I1 to state STATE_MAIN_I2</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:52 gateway3 pluto[31154]: "Connection1/1x1" #1: STATE_MAIN_I2: sent MI2, expecting MR2</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:52 gateway3 pluto[31154]: "Connection1/1x1" #1: received Vendor ID payload [Cisco-Unity]</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:52 gateway3 pluto[31154]: "Connection1/1x1" #1: received Vendor ID payload [XAUTH]</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:52 gateway3 pluto[31154]: "Connection1/1x1" #1: ignoring unknown Vendor ID payload [ec43b53de4bd9e2ec73fcf4ea211143f]</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:52 gateway3 pluto[31154]: "Connection1/1x1" #1: ignoring Vendor ID payload [Cisco VPN 3000 Series]</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:52 gateway3 pluto[31154]: "Connection1/1x1" #1: transition from state STATE_MAIN_I2 to state STATE_MAIN_I3</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:52 gateway3 pluto[31154]: "Connection1/1x1" #1: STATE_MAIN_I3: sent MI3, expecting MR3</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:52 gateway3 pluto[31154]: "Connection1/1x1" #1: received Vendor ID payload [Dead Peer Detection]</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:52 gateway3 pluto[31154]: "Connection1/1x1" #1: Main mode peer ID is ID_FQDN: '@Connection1-ASA.global.sdl.corp'</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:52 gateway3 pluto[31154]: "Connection1/1x1" #1: transition from state STATE_MAIN_I3 to state STATE_MAIN_I4</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:52 gateway3 pluto[31154]: "Connection1/1x1" #1: STATE_MAIN_I4: ISAKMP SA established {auth=OAKLEY_PRESHARED_KEY cipher=aes_256 prf=oakley_sha group=modp1536}</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:52 gateway3 pluto[31154]: "Connection1/1x1" #2: initiating Quick Mode PSK+ENCRYPT+TUNNEL+PFS+UP+IKEv2ALLOW+SAREFTRACK {using isakmp#1 msgid:b9dab225 proposal=AES(12)_256-SHA1(2)_160 pfsgroup=OAKLEY_GROUP_MODP1536}</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:52 gateway3 pluto[31154]: "Connection1/1x1" #1: ignoring informational payload, type NO_PROPOSAL_CHOSEN msgid=00000000</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:52 gateway3 pluto[31154]: "Connection1/1x1" #1: received and ignored informational message</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:52 gateway3 pluto[31154]: "Connection1/1x1" #1: received Delete SA payload: deleting ISAKMP State #1</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:52 gateway3 pluto[31154]: packet from 87.213.46.220:500: received and ignored informational message</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: packet from 87.213.46.220:500: received Vendor ID payload [draft-ietf-ipsec-nat-t-ike-02_n] meth=106, but port floating is off</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: packet from 87.213.46.220:500: received Vendor ID payload [draft-ietf-ipsec-nat-t-ike-03] meth=108, but port floating is off</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: packet from 87.213.46.220:500: received Vendor ID payload [RFC 3947] meth=115, but port floating is off</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: packet from 87.213.46.220:500: ignoring Vendor ID payload [Cisco IKE Fragmentation]</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #3: responding to Main Mode</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #3: Oakley Transform [OAKLEY_3DES_CBC (192), OAKLEY_SHA1, OAKLEY_GROUP_MODP1024] refused due to strict flag</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #3: Oakley Transform [OAKLEY_3DES_CBC (192), OAKLEY_MD5, OAKLEY_GROUP_MODP1024] refused due to strict flag</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #3: Oakley Transform [OAKLEY_AES_CBC (128), OAKLEY_SHA1, OAKLEY_GROUP_MODP1024] refused due to strict flag</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #3: Oakley Transform [OAKLEY_AES_CBC (128), OAKLEY_SHA1, OAKLEY_GROUP_MODP1024] refused due to strict flag</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #3: Oakley Transform [OAKLEY_AES_CBC (256), OAKLEY_SHA1, OAKLEY_GROUP_MODP1024] refused due to strict flag</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #3: transition from state STATE_MAIN_R0 to state STATE_MAIN_R1</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #3: STATE_MAIN_R1: sent MR1, expecting MI2</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #3: received Vendor ID payload [Cisco-Unity]</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #3: received Vendor ID payload [XAUTH]</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #3: ignoring unknown Vendor ID payload [f7d4c0744bc4c632afa9ec7e85bf857b]</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #3: ignoring Vendor ID payload [Cisco VPN 3000 Series]</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #3: transition from state STATE_MAIN_R1 to state STATE_MAIN_R2</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #3: STATE_MAIN_R2: sent MR2, expecting MI3</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #3: received Vendor ID payload [Dead Peer Detection]</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #3: Main mode peer ID is ID_FQDN: '@Connection1-ASA.global.sdl.corp'</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #3: transition from state STATE_MAIN_R2 to state STATE_MAIN_R3</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #3: STATE_MAIN_R3: sent MR3, ISAKMP SA established {auth=OAKLEY_PRESHARED_KEY cipher=aes_256 prf=oakley_sha group=modp1536}</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #3: ignoring informational payload, type IPSEC_INITIAL_CONTACT msgid=00000000</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #3: the peer proposed: 172.21.8.0/24:0/0 -> 10.100.0.0/16:0/0</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #4: responding to Quick Mode proposal {msgid:b23b46bc}</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #4: us: 172.21.8.0/24===172.21.8.43[52.17.237.123]</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #4: them: 87.213.46.220<87.213.46.220>[@Connection1-ASA.global.sdl.corp]===10.100.0.0/16</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #4: transition from state STATE_QUICK_R0 to state STATE_QUICK_R1</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #4: STATE_QUICK_R1: sent QR1, inbound IPsec SA installed, expecting QI2</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #4: transition from state STATE_QUICK_R1 to state STATE_QUICK_R2</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Aug 24 13:35:58 gateway3 pluto[31154]: "Connection1/1x1" #4: STATE_QUICK_R2: IPsec SA established tunnel mode {ESP=>0x22ef875d <0x409dd686 xfrm=AES_256-HMAC_SHA1 NATOA=none NATD=none DPD=none}</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;"> </span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Thanks,</span></p><p class="MsoNormal"><span style="color: #2f5496" data-mce-style="color: #2f5496;">Prakash</span></p><p class="MsoNormal" style="margin-bottom: 12.0pt" data-mce-style="margin-bottom: 12.0pt;"><span style="font-size: 12.0pt ; font-family: "times new roman" , serif" data-mce-style="font-size: 12.0pt; font-family: 'times new roman' , serif;"> </span></p><p style="text-align: center" data-mce-style="text-align: center;"><span style="background: white" data-mce-style="background: white;">This message has been scanned for malware by Websense. </span><a href="http://www.websense.com/" data-mce-href="http://www.websense.com/"><span style="color: black ; background: white" data-mce-style="color: black; background: white;">www.websense.com</span></a></p></div></blockquote><blockquote style="margin-top: 5.0pt ; margin-bottom: 5.0pt" data-mce-style="margin-top: 5.0pt; margin-bottom: 5.0pt;"><div><p class="MsoNormal"><span style="font-size: 12.0pt ; font-family: "times new roman" , serif" data-mce-style="font-size: 12.0pt; font-family: 'times new roman' , serif;">_______________________________________________<br> <a href="mailto:Users@lists.openswan.org" data-mce-href="mailto:Users@lists.openswan.org">Users@lists.openswan.org</a><br> <a href="https://lists.openswan.org/mailman/listinfo/users" data-mce-href="https://lists.openswan.org/mailman/listinfo/users">https://lists.openswan.org/mailman/listinfo/users</a><br> Micropayments: <a href="https://flattr.com/thing/38387/IPsec-for-Linux-made-easy" data-mce-href="https://flattr.com/thing/38387/IPsec-for-Linux-made-easy"> https://flattr.com/thing/38387/IPsec-for-Linux-made-easy</a><br> Building and Integrating Virtual Private Networks with Openswan:<br> <a href="http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155" data-mce-href="http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155">http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155</a></span></p></div></blockquote><p class="MsoNormal" style="margin-bottom: 12.0pt" data-mce-style="margin-bottom: 12.0pt;"><span style="font-size: 12.0pt ; font-family: "times new roman" , serif ; background: white" data-mce-style="font-size: 12.0pt; font-family: 'times new roman' , serif; background: white;"> </span></p><p style="text-align: center" data-mce-style="text-align: center;"><span style="background: white" data-mce-style="background: white;">Click <a href="https://www.mailcontrol.com/sr/d9CXhEllK63GX2PQPOmvUnS2K3gDJIy6lzRXt7oNsiicPNUt9nJV030BY+HvHblPiMAdEB7HuPeCTIJSz5pNWQ==" data-mce-href="https://www.mailcontrol.com/sr/d9CXhEllK63GX2PQPOmvUnS2K3gDJIy6lzRXt7oNsiicPNUt9nJV030BY+HvHblPiMAdEB7HuPeCTIJSz5pNWQ=="> here</a> to report this email as spam.</span></p></div></div></blockquote></div></div><style class="_message-styles">.msg-quote p.imprintuniqueid {margin: 0cm 0cm 0pt;}
.msg-quote li.imprintuniqueid {margin: 0cm 0cm 0pt;}
.msg-quote div.imprintuniqueid {margin: 0cm 0cm 0pt;}
.msg-quote table.imprintuniqueidtable {margin: 0cm 0cm 0pt;}
.msg-quote div.section1 {page: Section1;}
.msg-quote p.imprintuniqueid {margin: 0cm 0cm 0pt;}
.msg-quote li.imprintuniqueid {margin: 0cm 0cm 0pt;}
.msg-quote div.imprintuniqueid {margin: 0cm 0cm 0pt;}
.msg-quote table.imprintuniqueidtable {margin: 0cm 0cm 0pt;}
.msg-quote div.section1 {page: Section1;}
.msg-quote .shape {}
</style></body></html>