Re: [strongSwan] get inner virtual IP

2009-08-27 Thread Zhang, Long (Roger)
ocalhost charon: 14[IKE] IKE_SA home[1] established between 135.252.131.87[moon.strongswan.org]...135.252.130.87[sun.strongswan.org] Aug 29 09:21:57 localhost charon: 14[IKE] installing new virtual IP 10.3.0.1 Thanks, Roger > -Original Message- > From: Andreas Steffen [mailto:andreas.s

Re: [strongSwan] get inner virtual IP

2009-08-27 Thread Andreas Steffen
Hi Roger, the assigned virtual IP Address is available in the environmental variable $PLUTO_MY_SOURCEIP in the /usr/libexec/ipsec/_updown script which is called by the charon daemon after the IPsec SA has been established successfully. You could adapt the _updown script so that it communicates the

[strongSwan] get inner virtual IP

2009-08-27 Thread Zhang, Long (Roger)
Hi, I have tried the IKEV2 config-payload example as http://www.strongswan.org/uml/testresults43/ikev2/config-payload/ successfully. I want to get the inner virtual IP address that are assigned by config-payload for later use in my application by SHELL command or TCL. Is there an easy way to