[strongSwan] Android/Stongswan Integration
Tobias Brunner
tobias at strongswan.org
Tue Nov 22 16:07:40 CET 2011
> 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 strongswan_CONFDIR?
> 2. If I use ipsec up to force the starter to bring up the conn, ipsec up
> gave some error like " unnamed error ] ] ]".
The ipsec script is not really working on Android as there is no 'test'
or '[' command, of which the script makes use extensively. Simply use
starter and stroke directly. Use 'starter' to start starter and charon
and use 'stroke up' to start a connection (to terminate them just kill
starter). Have a look at how the script uses starter and stroke to
implement individual commands.
Regards,
Tobias
More information about the Users
mailing list