[strongSwan] Strongswan5 logging possibilities?
azfar.hashmi at cloudways.com
Tue Mar 12 17:06:28 CET 2013
Okay I have compiled v5.0.2 with following options.
./configure --prefix=/root/strongswan5 --enable-eap-radius
--enable-xauth-eap --enable-curl --enable-eap-md5 --enable-mysql
Then put below in strongswan.conf
load = sql mysql ...............................................
secret = xxxxxx
server = 127.0.0.1
loglevel = 1
Created above mysql db and put mysql schema
Left ipsec.conf as previously which include connection and client
credentials properties (certificates, xauth etc .....).
I can connect as I was before (via RSA and xauth-eap) but I can not see
any thing in mysql "logs" table!
What I am missing?
On 3/12/2013 2:42 PM, Azfar Hashmi wrote:
> I am using 5.0.2 with radius-eap auth. In 4.5 (Pluto) I was able to
> get which private ip is assigned to which public ip like below.
> "xx.48.49.xxx:4500 #141345: assigning virtual IP 10.0.0.68 to peer"
> But In v5 (Charon) I am getting only private ip.
> "assigning virtual IP 10.0.0.2 to peer 'test'"
> Is there a way I can get this value even by modifying code etc.
> Similarly I want to put logs only in sql and keep configuration,
> certificates etc in files, is it possible?
> Your Managed Cloud
> e: azfar.hashmi at cloudways.com
> w: www.cloudways.com <http://www.cloudways.com>
> PGP keyid: 0xF42034B0F915D729
> Users mailing list
> Users at lists.strongswan.org
Your Managed Cloud
e: azfar.hashmi at cloudways.com
w: www.cloudways.com <http://www.cloudways.com>
PGP keyid: 0xF42034B0F915D729
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users