<div dir="ltr">I also want to know are there any special configurations to install strongswan for ikev2 mobike?<div><br></div><div>For install strongswan to my pc, I just </div><div><i>./configure</i></div><div><i>make</i></div>
<div><i>make install</i></div><div><i><br></i></div><div>Thanks,</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-18 21:08 GMT+08:00 <span dir="ltr"><<a href="mailto:amysue.z@gmail.com" target="_blank">amysue.z@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Noel,<div>The output of "<span style="font-family:arial,sans-serif;font-size:14px">ipsec statusall" is </span></div>
<div><div><font face="arial, sans-serif"><span style="font-size:14px"><i>Status of IKE charon daemon (strongSwan 5.0.2, Linux 2.6.18-348.1.1.el5, i686):</i></span></font></div>
<div><font face="arial, sans-serif"><span style="font-size:14px"><i> uptime: 14 minutes, since Aug 18 18:21:46 2014</i></span></font></div><div><font face="arial, sans-serif"><span style="font-size:14px"><i> malloc: sbrk 135168, mmap 0, used 86616, free 48552</i></span></font></div>
<div><font face="arial, sans-serif"><span style="font-size:14px"><i> worker threads: 8 of 16 idle, 7/1/0/0 working, job queue: 0/0/0/0, scheduled: 0</i></span></font></div><div><font face="arial, sans-serif"><span style="font-size:14px"><i> loaded plugins: charon aes des sha1 sha2 md5 random nonce x509 revocation constraints pubkey pkcs1 pkcs8 pgp dnskey pem fips-prf gmp xcbc cmac hmac attr kernel-netlink resolve socket-default stroke updown eap-md5 eap-radius xauth-generic</i></span></font></div>
<div><font face="arial, sans-serif"><span style="font-size:14px"><i>Listening IP addresses:</i></span></font></div><div><font face="arial, sans-serif"><span style="font-size:14px"><i> 192.168.2.6</i></span></font></div>
<div><font face="arial, sans-serif"><span style="font-size:14px"><i> 12.12.1.203</i></span></font></div><div><font face="arial, sans-serif"><span style="font-size:14px"><i>Connections:</i></span></font></div>
<div><font face="arial, sans-serif"><span style="font-size:14px"><i>Security Associations (0 up, 0 connecting):</i></span></font></div><div><font face="arial, sans-serif"><span style="font-size:14px"><i> none</i></span></font></div>
<div style="font-family:arial,sans-serif;font-size:14px"><br></div></div><div style="font-family:arial,sans-serif;font-size:14px">AndŁ¬ how do I enable logging[1] ? I don't use strongswan much, So it feel difficult for me.</div>
<div style="font-family:arial,sans-serif;font-size:14px">Thank you again for your help</div><div style="font-family:arial,sans-serif;font-size:14px"><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-08-18 21:02 GMT+08:00 Noel Kuntze <span dir="ltr"><<a href="mailto:noel@familie-kuntze.de" target="_blank">noel@familie-kuntze.de</a>></span>:<div><div class="h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hello,<br>
<br>
Check your system log for errors and show us the output of "ipsec statusall".<br>
Sometimes, it takes a couple of seconds for the daemon to load the configuration. Waiting a bit can help in this case.<br>
The reason for this is, that all the ipsec commands are asynchronous.<br>
If the configuration isn't loaded for a couple of seconds, please enable logging[1].<br>
StrongSwan can handle Mobike. It's a daemon thing, not a kernel thing.<br>
<br>
[1] <a href="https://wiki.strongswan.org/projects/strongswan/wiki/LoggerConfiguration" target="_blank">https://wiki.strongswan.org/projects/strongswan/wiki/LoggerConfiguration</a><br>
<br>
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 18.08.2014 um 14:56 schrieb <a href="mailto:amysue.z@gmail.com" target="_blank">amysue.z@gmail.com</a>:<br>
<div>> Hello,<br>
><br>
> My OS is centos 5.9 and i have installed Linux strongSwan U5.0.2/K2.6.18-348.1.1.el5.<br>
> After installation,i start strongswan:<br>
> ipsec start<br>
> then i up an connection:<br>
> ipsec up client<br>
</div>> then I get an error:*no config named 'client'*<br>
<div>> Actually, I define an connection in /etc/ipsec.conf.<br>
><br>
> Below is my /etc/ipsec.conf<br>
><br>
</div>> /config setup/<br>
> / strictcrlpolicy=no/<br>
> / charonstart=yes/<br>
> /<br>
> /<br>
> /conn %default/<br>
> / ikelifetime=28800s/<br>
> / keylife=28800s/<br>
> / rekeymargin=3m/<br>
> / keyingtries=3/<br>
> / keyexchange=ikev2/<br>
> / ike=3des-sha1-modp1024/<br>
> / esp=3des-sha1/<br>
> /<br>
> /<br>
> /conn client/<br>
> / left=<a href="http://12.12.1.203/" target="_blank">12.12.1.203/</a><br>
> / leftsourceip=%config/<br>
> / leftcert=client1_cert.pem/<br>
> / leftid="/C=CN/ST=SH/O=CS/CN=IKEv2_Client1"/<br>
> / right=<a href="http://11.11.11.200/" target="_blank">11.11.11.200/</a><br>
> / rightid="/C=CN/ST=SH/O=CS/CN=11.11.11.200"/<br>
> / rightsubnet=<a href="http://192.168.168.0/24" target="_blank">192.168.168.0/24</a> <<a href="http://192.168.168.0/24" target="_blank">http://192.168.168.0/24</a>>/<br>
> / auto=add/<br>
> /<br>
<div>> /<br>
> I have no idea what to do now, I really need your help, any one could help me?<br>
> Thank you very much<br>
><br>
><br>
><br>
</div>> _______________________________________________<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" target="_blank">https://lists.strongswan.org/mailman/listinfo/users</a><br>
><br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2<br>
<br>
iQIcBAEBAgAGBQJT8fl1AAoJEDg5KY9j7GZYnroP+gI6vWkjnNOYkX4rc5O/tUaN<br>
4RhkBE52B/bLDLZRDwvClCBQiGx8nKSlLNQZuA5CpBytP5HfJVWwlL2MVI7+ajRo<br>
8yJiKe+TqdP7KE4cPPEKYCNb+F8M071JPP/6Mu0G+GCm0P0FNE0eeKBo+GugsNse<br>
Rv/IrsZMtG/fkztKXm1rNYtpl6bngFO9g5zH+BVmfWPsNX44e1f+lqH+psxq+0pX<br>
/X+aT0hS08Sc5mLUhy8ePp0nXM4LLj4rRm3rgi91X5GAs3gGUKSTihEV/cq9J2Oy<br>
t6M6dt+yBEPDCLAJrCayNdWrS2lyLh8stFhWUOfkodXzXTru4pKGthEn1i8QFDw6<br>
NODEVuUPqtnHZijp8BrRyBwa0FH7Llcf4XHgnoGQzxSyeDbA8tJreM7ekqhZoa8V<br>
3SuJpfWit9qdf8eOcCBifUBI7OOpgmkuozVFCM74zvnq3o8Z4/pfYvh3HCRfiCqv<br>
wzE0xAqXibkLMf4xFqDdYr7+ODvbJ4cDa0pboZ9+HJGk+17ft5IDTmo3we/J22vp<br>
Lj6lUrpTEi2S89Bk0tjzlz17BjNjiUHxcyacWomgNb1tvwIy5yzdd382QwcgCaQL<br>
97eae+NJQwGGoyX+8MvLlF6l4xS2nbFwoSoGzIpZZ+8WC3XgYI6CwrvXwBIAtFtx<br>
YWjyEpluKQ1AflkWymXn<br>
=26uY<br>
-----END PGP SIGNATURE-----<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" target="_blank">https://lists.strongswan.org/mailman/listinfo/users</a><br>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>