]> git.ipfire.org Git - people/ms/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>
Mon, 21 Sep 2020 16:01:32 +0000 (16:01 +0000)
commitfef191cedebe41ab852277bc5121fd84ada79ec2
treea26378bdcaadade48e840a5aa0732cf9943f8c22
parent562d57e7f4d00e48f603f90ee37f4c02ab6e6526
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