ike: Add an option to trigger a DPD instead of a NAT keepalive
This is useful on Android where the app might not be able to send keep-alives if the device is asleep for a while. If the NAT mapping has been deleted in the mean time, the NAT-D payloads allow detecting this and connectivity can be restored by doing a MOBIKE update or recreating the SA if the peer already deleted it because the client wasn't reachable.
This commit is contained in:
@@ -220,6 +220,11 @@ charon.interfaces_use
|
||||
charon.keep_alive = 20s
|
||||
NAT keep alive interval.
|
||||
|
||||
charon.keep_alive_dpd_margin = 0s
|
||||
Number of seconds the keep alive interval may be exceeded before a DPD is
|
||||
sent instead of a NAT keep alive (0 to disable). This is only useful if a
|
||||
clock is used that includes time spent suspended (e.g. CLOCK_BOOTTIME).
|
||||
|
||||
charon.leak_detective.detailed = yes
|
||||
Includes source file names and line numbers in leak detective output.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user