On 03/12/15 18:55, Paul Wouters wrote: > On Thu, 3 Dec 2015, John Crisp wrote: > > >> But if I use it in a script, the script hangs when a connection cannot >> be made. It also logs the first few lines of the connection attempt to >> the system log : > > We did fix a bug that caused add or replace to take a very long time to > fail. Can you try 3.16rc2 from download.libreswan.org/development/ ?
using --asynchronous seems to work. Add fires off and does not hang the script now. Yay........... It does log the first couple of lines to messages still: Dec 3 23:21:07 test esmith::event[16754]: Ipsec Information - En- En - Auto Up TestToRemote (This is where the asynchronous command fires) Dec 3 23:21:07 test esmith::event[16754]: 002 "TestToRemote" #190: initiating Main Mode Dec 3 23:21:07 test esmith::event[16754]: 104 "TestToRemote" #190: STATE_MAIN_I1: initiate I'll test this with 3.16 ASAP B. Rgds John
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Swan mailing list [email protected] https://lists.libreswan.org/mailman/listinfo/swan
