[Swan-dev] pluto: Fix ipsec whack --status crash

Paul Wouters paul at nohats.ca
Thu Apr 30 17:40:13 EEST 2015


On Thu, 30 Apr 2015, Herbert Xu wrote:

> The current IKEv2 code is prone to generating STATE_UNDEFINED
> child states when something goes wrong (e.g., no proposal chosen).
> So we best not crash when encountering such states.

This was fixed differently by adding the state_story entries for those
states instead and removing the "- STATE_MAIN_R0" kludge:

https://github.com/libreswan/libreswan/commit/75c28a065cead61b04c4055a7727db2985473bf4

Paul



More information about the Swan-dev mailing list