[strongSwan] swanctl --initiate timeout question

Noel Kuntze noel.kuntze+strongswan-users-ml at thermi.consulting
Sat Jan 18 20:14:25 CET 2020

Detach means the front end process (swanctl) will terminate. Initiating will continue in the daemon (back end).

Kind regards


Am 18.01.20 um 20:13 schrieb Ben Greear:
> I read that before I posted, and I have no idea if it waits X seconds and then starts
> detach process, or if it will complete the initiate in background if it doesn't
> happen within timeout period or if it will just fail to do anything if initiate does
> not complete by timeout period.
> Thanks,
> Ben
> On 01/18/2020 11:10 AM, Noel Kuntze wrote:
>> *The almighty help message whispers in your ear*
>> Usage:
>>   swanctl --initiate [--child <name>] [--ike <name>] [--timeout <s>] [--raw|--pretty]
>>            --help            (-h)  show usage information
>>            --child           (-c)  initiate a CHILD_SA configuration
>>            --ike             (-i)  initiate an IKE_SA, or name of child's parent
>>            --timeout         (-t)  timeout in seconds before detaching
>>            --raw             (-r)  dump raw response message
>>            --pretty          (-P)  dump raw response message in pretty print
>>            --loglevel        (-l)  verbosity of redirected log
>>            --debug           (-v)  set debug level, default: 1
>>            --options         (-+)  read command line options from file
>>            --uri             (-u)  service URI to connect to
>> Am 18.01.20 um 20:04 schrieb Ben Greear:
>>> Hello,
>>> If I want the --initiate command to not block, can I just set it to timeout of zero?
>>> Will it still do initiation work in the background in that case?
>>> Thanks,
>>> Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.strongswan.org/pipermail/users/attachments/20200118/fc7dd2f4/attachment.sig>

More information about the Users mailing list