<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Luis , <br> Please try this command and look for your peer id and its corresponding PSK<br>ipsec showhostkey --list<br><br>Alternatively you could also try this PSK syntax in your ipsec.secrets.inc file<br><br><a class="ecxmoz-txt-link-abbreviated" href="mailto:leftid=@ME.example.com">@ME.example.com</a> <a class="ecxmoz-txt-link-abbreviated" href="mailto:rightid=@telefonica.example.com">@telefonica.example.com</a> : PSK "somekey"<br><br> Thanks. <br><br><span style="font-family:Tahoma,Helvetica,Sans-Serif;font-style:italic;font-weight:bold">-<span style="font-family:Times New Roman,Times,Serif"> Simon Charles - </span></span><br><br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Tue, 12 Jun 2012 14:49:52 -0600<br>From: lgramajo@empagua.com<br>To: charlessimon@hotmail.com<br>CC: users@lists.openswan.org<br>Subject: Re: [Openswan Users] STATE_MAIN_I3: sent MI3, expecting MR3, 002 #1: received 1 malformed payload notifies<br><br>
<title></title>
Simon,<br>
<br>
<br>
# this file is managed with debconf and will contain the
automatically created RSA keys<br>
#include /var/lib/openswan/ipsec.secrets.inc<br>
#@telefonica.example.com @digitalgeko.example.com : PSK
"iqUDB1unForT3hw21"<br>
@ME.example.com : PSK "somekey"<br>
@telefonica.example.com : PSK "somekey"<br>
<br>
<br>
And somekey is the key they sent me to build up de connection. Any
ideas, thanks<br>
<br>
El 12/06/12 13:01, simon charles escribió:
<blockquote cite="mid:SNT110-W3572B010478AF196F6812BDBF60@phx.gbl">
<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
--></style>
<div dir="ltr">
Please check your secrets file and ensure that you have <br>
1) The correct syntax for the secrets file<br>
2) The correct pre-shared keys on both the vpn peers<br>
Thanks. <br>
<br>
<span style="font-family:Tahoma,Helvetica,Sans-Serif;font-style:italic;font-weight:bold">-<span style="font-family:Times New Roman,Times,Serif"> Simon
Charles - </span></span><br>
<br>
<br>
<div>> Date: Tue, 12 Jun 2012 12:49:43 -0600<br>
> From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:lgramajo@empagua.com">lgramajo@empagua.com</a><br>
> To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:users@lists.openswan.org">users@lists.openswan.org</a><br>
> Subject: [Openswan Users] STATE_MAIN_I3: sent MI3,
expecting MR3, 002 #1: received 1 malformed payload notifies<br>
> <br>
> Hi everyone,<br>
> <br>
> Ive been cracking my head the for the las day trying to
figure this out.<br>
> <br>
> When I start the ipsec service im getting:<br>
> <br>
> <br>
> ipsec_setup: Starting Openswan IPsec
U2.6.28/K2.6.32-5-xen-amd64...<br>
> 000 initiating all conns with alias='telefonica'<br>
> 002 "telefonica/2x0" #1: initiating Main Mode<br>
> 104 "telefonica/2x0" #1: STATE_MAIN_I1: initiate<br>
> 002 "telefonica/2x0" #1: transition from state
STATE_MAIN_I1 to state <br>
> STATE_MAIN_I2<br>
> 106 "telefonica/2x0" #1: STATE_MAIN_I2: sent MI2,
expecting MR2<br>
> 002 "telefonica/2x0" #1: transition from state
STATE_MAIN_I2 to state <br>
> STATE_MAIN_I3<br>
> 108 "telefonica/2x0" #1: STATE_MAIN_I3: sent MI3,
expecting MR3<br>
> 002 "telefonica/2x0" #1: received 1 malformed payload
notifies<br>
> 010 "telefonica/2x0" #1: STATE_MAIN_I3: retransmission;
will wait 20s <br>
> for response<br>
> 010 "telefonica/2x0" #1: STATE_MAIN_I3: retransmission;
will wait 40s <br>
> for response<br>
> 031 "telefonica/2x0" #1: max number of retransmissions
(2) reached <br>
> STATE_MAIN_I3. Possible authentication failure: no
acceptable response <br>
> to our first encrypted message<br>
> <br>
> <br>
> My config is as follows:<br>
> <br>
> <br>
> # basic configuration<br>
> config setup<br>
> interfaces="%defaultroute"<br>
> klipsdebug=none<br>
> plutodebug=none<br>
> #plutoload=%search<br>
> #plutostart=%search<br>
> plutostderrlog="/var/log/pluto.log"<br>
> protostack=netkey<br>
> # nhelpers=0<br>
> oe=no<br>
> <br>
> # defaults that apply to all connection descriptions<br>
> conn %default<br>
> # How persistent to be in (re)keying negotiations (0
means very).<br>
> keyingtries=0<br>
> # How to authenticate gatways<br>
> authby=secret<br>
> type=tunnel<br>
> <br>
> conn telefonica<br>
> left=MY_PUBLIC_IP<br>
> leftsubnets={10.13.1.35/32 10.13.1.39/32}<br>
> <a class="ecxmoz-txt-link-abbreviated" href="mailto:leftid=@ME.example.com">leftid=@ME.example.com</a><br>
> # leftxauthclient=yes<br>
> right=THEIR_PUBLIC_IP<br>
> rightsubnet=192.168.144.3/32<br>
> # rightxauthserver=yes<br>
> <a class="ecxmoz-txt-link-abbreviated" href="mailto:rightid=@telefonica.example.com">rightid=@telefonica.example.com</a><br>
> keyingtries=1<br>
> pfs=no<br>
> aggrmode=no<br>
> auto=add<br>
> auth=esp<br>
> esp=3DES-SHA1<br>
> keyexchange=ike<br>
> ike=3DES-SHA1-modp1024<br>
> ikelifetime=24h<br>
> # keyingtries=3<br>
> keylife=1h<br>
> authby=secret<br>
> <br>
> <br>
> Can please someone point me in the right direction,
thanks.<br>
> <br>
> -- <br>
> Luis Fernando Gramajo P.<br>
> Redes y Telecomunicaciones<br>
> Sistemas de Información EMPAGUA<br>
> <br>
> _______________________________________________<br>
> <a class="ecxmoz-txt-link-abbreviated" href="mailto:Users@lists.openswan.org">Users@lists.openswan.org</a><br>
> <a class="ecxmoz-txt-link-freetext" href="https://lists.openswan.org/mailman/listinfo/users" target="_blank">https://lists.openswan.org/mailman/listinfo/users</a><br>
> Micropayments:
<a class="ecxmoz-txt-link-freetext" href="https://flattr.com/thing/38387/IPsec-for-Linux-made-easy" target="_blank">https://flattr.com/thing/38387/IPsec-for-Linux-made-easy</a><br>
> Building and Integrating Virtual Private Networks with
Openswan:<br>
>
<a class="ecxmoz-txt-link-freetext" href="http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155" target="_blank">http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155</a><br>
</div>
</div>
</blockquote>
<br>
<pre class="ecxmoz-signature">--
Luis Fernando Gramajo P.
Redes y Telecomunicaciones
Sistemas de Información EMPAGUA
</pre></div>                                            </div></body>
</html>