[strongSwan] SWAN leases runtime API

Tobias Brunner tobias at strongswan.org
Tue Mar 21 10:10:18 CET 2017


Hi Victor,

> From your answers I assume that using attr-sql plugin with
> lease_history property can't help us to identify online connection by
> accessing the DB and querying it by virtual IP assigned, before the
> lease is released.

Why not?

> Is there any way to get online leases from the daemon except CLI? (we
> need an identity info for external service)

All the `ipsec pool` utility does is querying the database, so you could
also just do that directly.

Regards,
Tobias


More information about the Users mailing list