[strongSwan] Lease assigned multiple times

Jan Engelhardt jengelh at medozas.de
Fri Aug 27 12:49:33 CEST 2010


On Thursday 2010-08-26 14:25, Martin Willi wrote:
>
>> 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].
>
>[1]http://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=e82186fb5acf796c9a3a387f918e734e9611be76

The current git snapshot (4.4.1-274-gxxxxxx) fails to compile:

smartcard.c: In function 'scx_encrypt':
smartcard.c:1454:4: error: incompatible type for argument 2 of 'key->encrypt'
smartcard.c:1454:4: note: expected 'encryption_scheme_t' but argument is of type 'chunk_t'
smartcard.c:1454:4: error: incompatible type for argument 3 of 'key->encrypt'
smartcard.c:1454:4: note: expected 'chunk_t' but argument is of type 'struct chunk_t *'
smartcard.c:1454:4: error: too few arguments to function 'key->encrypt'




More information about the Users mailing list