[strongSwan] Lease assigned multiple times

Martin Willi martin at strongswan.org
Thu Aug 26 14:25:55 CEST 2010

Hi Jan,

> Why does charon suddently pick a different address than the requested 
> one? Above all, is already assigned.

The in-memory pool did not handle multiple leases for the same identity
correctly. This might result in somewhat undefined behavior if the same
identity connected twice.

> What I would really like is that (x509_name, source_ip_address,
> source_port) creates the unique tuple, and not just the x509_name.

I recently have reimplemented the in-memory pool to handle multiple
leases correctly. Two peers with the same identity behind NAT should get
their own address now.

You may pick up the patch at [1].



More information about the Users mailing list