19.1.x ipsec phase2 edit problem with old entries

Started by Andreas_, March 29, 2019, 04:07:15 PM

Previous topic - Next topic
March 29, 2019, 04:07:15 PM Last Edit: March 29, 2019, 06:16:07 PM by Andreas_
I'd like to add a third phase2 entry to an ipsec definition, so I pressed "clone" on an existing phase2 entry. The fields of the page coming up are not prefilled, and if filled and saved the entry won't show up. Looking at a config backup, the entry misses the ikeid, but has a uniqueid instead.

Investigating further, apparently editing is affected as well: parameters shown are not the one reflecting the phase2 entry to edit.
Only adding a fresh entry seems to work.

Version 19.1.2 and 19.1.4 tested, after refreshing with F5.

Regression from where? Missing a data point here.


Cheers,
Franco

The last time I edited/cloned phase2 Entries was with 18.7.x

Can't reproduce. Still missing something here, but entirely unsure what.


Cheers,
Franco

I now have 3 phase2 entries: 2 old and one new.

When clicking on 'clone' on an old entry, I get
<fw-addr>/vpn_ipsec_phase2.php?dup=
the new entry has
<fwaddr>/vpn_ipsec_phase2.php?dup=5c9e3fd2320ae

Checking further:
It seems that p2 entries I entered last year are ok, while the problem only exists with entries that are some years old.
Looking at a config backup, it seems that older entries miss the uniqid property. Seems I have to add the uniqid manually in a config and restore from there?