mem-pool: Pass the remote IKE address, to re-acquire() an address during reauth
With make-before-break IKEv2 re-authentication, virtual IP addresses must be assigned overlapping to the same peer. With the remote IKE address, the backend can detect re-authentication attempts by comparing the remote host address and port. This allows proper reassignment of the virtual IP if it is re-requested. This change removes the mem-pool.reassign_online option, as it is obsolete now. IPs get automatically reassigned if a peer re-requests the same address, and additionally connects from the same address and port.
This commit is contained in:
@@ -206,10 +206,6 @@ charon.make_before_break = no
|
||||
gaps during reauthentication, but requires support for overlapping SAs by
|
||||
the peer. strongSwan can handle such overlapping SAs since version 5.3.0.
|
||||
|
||||
charon.mem-pool.reassign_online = no
|
||||
Reassign an online IP address lease from an in-memory address pool if a
|
||||
client with the same identity requests it explicitly.
|
||||
|
||||
charon.multiple_authentication = yes
|
||||
Enable multiple authentication exchanges (RFC 4739).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user