[strongSwan] SWAN leases runtime API

Noel Kuntze noel at familie-kuntze.de
Mon Mar 20 14:24:03 CET 2017


On 20.03.2017 14:00, Tobias Brunner wrote:
>> - Can we assure multiple VPN servers configured to work with the same
>> pool in common DB will assign unique virtual IPs?
> Yes, if they use the same DB the leases will be unique.

I just had a quick look at the code of the attr-sql plugin.
The attr-sql plugin seems to close all online leases when it gets loaded[1].
Maybe you want to remove or comment that code.
Tobias, can you elaborate on what the code does exactly (I know Martin wrote the code)?

This might be problematic if you use several servers. Of course leases will still be unique.

[1] https://github.com/strongswan/strongswan/blob/master/src/libcharon/plugins/attr_sql/attr_sql_provider.c#L466

-- 

Mit freundlichen Grüßen/Kind Regards,
Noel Kuntze

GPG Key ID: 0x63EC6658
Fingerprint: 23CA BB60 2146 05E7 7278 6592 3839 298F 63EC 6658


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 866 bytes
Desc: OpenPGP digital signature
URL: <http://lists.strongswan.org/pipermail/users/attachments/20170320/635ea1d3/attachment.sig>


More information about the Users mailing list