[strongSwan] Android/Stongswan Integration

2011-11-15 Thread zhen chen
Hi,  I have been trying to bring Strongswan 4.5.3 to Android 2.2.1 and goldfish 2.6.9. So far I have successfully integrated.  Now I can start the emulator, verifying the Kernel and Android built. I can use adb to start charon. I have a couple of  questions:  1. When I ran charon in adb shell,

Re: [strongSwan] Android/Stongswan Integration

2011-11-15 Thread Tobias Brunner
Hello Zhen, > I have been trying to bring Strongswan 4.5.3 to Android If possible, you should update to 4.6.1 as there are several Android related improvements included in that release. > 1. When I ran charon in adb shell, it started, but said: "android plugin > failed to load, can't open androi

Re: [strongSwan] Android/Stongswan Integration

2011-11-19 Thread zhen chen
I created using ipsec pki.   Is that because the way I created the CA cert? or something is missing in the Android charon?  thanks! -zhen From: Tobias Brunner To: zhen chen Cc: "users@lists.strongswan.org" Sent: Tuesday, November 15, 2011 9:52

Re: [strongSwan] Android/Stongswan Integration

2011-11-20 Thread Andreas Steffen
> > > ---- > *From:* Tobias Brunner > *To:* zhen chen > *Cc:* "users@lists.strongswan.org" > *Sent:* Tuesday, November 15, 2011 9:52 AM > *Subject:* Re: [strongSwan] Android/Stongswan Integration &

Re: [strongSwan] Android/Stongswan Integration

2011-11-20 Thread zhen chen
 (  800): 08[ENC] parsed IKE_AUTH response 1 [ N(AUTH_FAILED) ] I/charon  (  800): 08[IKE] received AUTHENTICATION_FAILED notify error ____________ From: Andreas Steffen To: zhen chen Cc: Tobias Brunner ; "users@lists.strongswan.org" Sent: Sunday, Novembe

Re: [strongSwan] Android/Stongswan Integration

2011-11-20 Thread Federico.Mancini
: [strongSwan] Android/Stongswan Integration Hi Andreas, I loaded the strongswan.conf to the android emulator,the Android is able to load the CA cert successfully. Thanks! Now I started from the Android emulator and tried to add the IKEv2 IPSec tunnel. I entered the name, address of the GW

Re: [strongSwan] Android/Stongswan Integration

2011-11-21 Thread zhen chen
tarter and stroke which allows you to use an ipsec.conf based configuration, instead of using the frontend patch." From: Tobias Brunner To: zhen chen Cc: "users@lists.strongswan.org" Sent: Tuesday, November 15, 2011 9:52 AM Subject: Re: [stro

Re: [strongSwan] Android/Stongswan Integration

2011-11-22 Thread Tobias Brunner
Hi Zhen, > If I used 4.6.1, is there any special configuration I need to enable to > build the starter and stroke when I build the Android? Have a look at the top Android.mk. There you can uncomment the strongswan_BUILD_STARTER line to enable the build of starter and stroke. > I assume I wouldn

Re: [strongSwan] Android/Stongswan Integration

2011-11-22 Thread zhen chen
Subject: Re: [strongSwan] Android/Stongswan Integration Hi Zhen, > If I used 4.6.1, is there any special configuration I need to enable to > build the starter and stroke when I build the Android? Have a look at the top Android.mk.  There you can uncomment the strongswan_BUILD_STARTER line

Re: [strongSwan] Android/Stongswan Integration

2011-11-22 Thread Tobias Brunner
> 1. Doesn't seem that Charon loads the the ipsec.conf file. What makes you say so? Do you get any errors? Where did you put the file? Can you verify that it's there when you log into the emulator with 'adb shell'? And is that path equal to what you configured in the top Android.mk file as st

Re: [strongSwan] Android/Stongswan Integration

2011-11-28 Thread zhen chen
Brunner To: zhen chen Cc: "users@lists.strongswan.org" Sent: Tuesday, November 22, 2011 8:07 AM Subject: Re: [strongSwan] Android/Stongswan Integration > 1. Doesn't seem that Charon loads the the  ipsec.conf file. What makes you say so?  Do you get any errors?  Where did you