<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">I suspect the conn might be using auto=add in the config instead of our usual auto=ignore  and then the init script does an ipsec auto —add causing a delete plus add ?<br><br><div dir="ltr">Sent using a virtual keyboard on a phone</div><div dir="ltr"><br><blockquote type="cite">On Jun 30, 2021, at 17:36, Vukašin Karadžić <vukasin.karadzic@gmail.com> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div>Hi all,</div><div><br></div><div>Although it has been there from the time test was first added, just now I am paying attention to the fact that in ikev2-redirect-02-auth [1] on the startup the east has an unnecessary dummy addition and then removal of same connection [2], only to have the connection then added again (triggered via and have test continue to run as intended.</div><div>"002 "westnet-eastnet-ipv4-psk-ikev2": terminating SAs using this connection" in [2] comes from the 'real' connection addition; east deletes the previously dummy added one in order to add the real one.</div><div>I can't figure out why is this dummy addition happening. It's not happening on west, and it's not happening in other tests as well (eg. ikev2-redirect-01-*, or plain ikev2-[01,...] tests). The first difference in east pluto log files between in ikev2-redirect-02-auth and for example ikev2-05-basic-psk appears in the first "whack: ..." log line.</div><div><br></div><div>In ikev2-redirect-02-auth I have:</div><div>| whack: start: delete 'westnet-eastnet-ipv4-psk-ikev2' (fd@0x560b99591798)</div><div>right after which the dummy addition is triggered.<br></div><div><br></div><div>In ikev2-05-basic-psk I have:</div><div>| whack: start: listen (fd@0x556d255e3848)</div><div><br></div><div>Why is the first whack message east receives in ikev2-redirect-02-auth containing whack_delete, while at the same time in other tests the first whack message east receives is whack_listen? eastinit.sh is the same in both cases.<br></div><div><br></div><div>Cheers,</div><div>Vukasin<br></div><div><br></div><div>[1] <a href="https://testing.libreswan.org/v4.4-573-g689dbcc160-main/ikev2-redirect-02-auth/">https://testing.libreswan.org/v4.4-573-g689dbcc160-main/ikev2-redirect-02-auth/</a></div><div>[2] <a href="https://testing.libreswan.org/v4.4-573-g689dbcc160-main/ikev2-redirect-02-auth/east.console.txt">https://testing.libreswan.org/v4.4-573-g689dbcc160-main/ikev2-redirect-02-auth/east.console.txt</a></div></div>
<span>_______________________________________________</span><br><span>Swan-dev mailing list</span><br><span>Swan-dev@lists.libreswan.org</span><br><span>https://lists.libreswan.org/mailman/listinfo/swan-dev</span><br></div></blockquote></body></html>