I needed to connect to a Fortinet VPN, and run into this while tried to connect (using psk+xauth) Assertion failed: (a->next->type == IKE_ATTRIB_LIFE_DURATION), function lifetime_ike_process, file vpnc.c, line 1157 commenting the line seems to work for me, but its probably not the best way to handle this.
Have you reported this upstream?
(In reply to Emanuel Haupt from comment #1) I've just noticed that I never gave any more feedback to this (so sorry) the port updated recently and It reminded me of the issue, I have now reported this upstream.
Thanks for your feedback. As you've stated yourself, commenting the line seems to work for you, but there a better way to handle this. Fixing it upstream is the way to go IMHO. Since you've reported this upstream I would like to close this PR if this is OK with you.
(In reply to miguelmclara from comment #2) Sure, they haven't replied so far, but in any case unless someone submits a proper patch (Im not a c expert) it doesn't make much sense to keep this open.
Will be tracked upstream.