[Swan] Ipsec auto --up

John Crisp jcrisp at safeandsoundit.co.uk
Thu Dec 3 22:31:52 UTC 2015


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <https://lists.libreswan.org/pipermail/swan/attachments/20151203/5f2b45f4/attachment-0001.sig>


More information about the Swan mailing list