Hide Forgot
This action causes a delete + add + initiate, the leak happens between delete and initiate. Apparently this can be 30s A workaround is to use dpdaction=hold instead of dpdaction=restart the hold action prevents the delete + add and puts the existing connection/state into initiating mode.
Paul, isn't this included in 3.25 rebase?
No this issue has not been addressed yet. We still recommend not using the dpdaction=restart. The idea is that a connection with auto=start or that was ipsec auto --up'ed is in a state where it will re-initiate if something happens, such as DPD causing the connection to go into "hold". That is, another mechanism triggers a new initialization of the connection, not dpd code directly.
This bug was not fixed in time for RHEL7 and has been moved to RHEL8