]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
IPsec: Bring down connections after reloading configuration
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 17 Sep 2020 16:35:21 +0000 (16:35 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 24 Sep 2020 17:36:38 +0000 (17:36 +0000)
commitb45faf9e7046e9b183b029591f6b9ebba2a1a82b
treef27ef4c79fa84419f1e2006b83e22ee324f50eeb
parentd35d92a6ea04f5d525e31c7731ff8a4435bc2924
IPsec: Bring down connections after reloading configuration

It could happen that the remote peer re-established the connection
before "ipsec reload" removed it from the daemon.

Now, we write the configuration files first, reload them
and then bring down any connections that are still established.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/vpnmain.cgi
src/misc-progs/ipsecctrl.c