OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • 19.1.x ipsec phase2 edit problem with old entries
« previous next »
  • Print
Pages: [1]

Author Topic: 19.1.x ipsec phase2 edit problem with old entries  (Read 3537 times)

Andreas_

  • Jr. Member
  • **
  • Posts: 63
  • Karma: 1
    • View Profile
19.1.x ipsec phase2 edit problem with old entries
« on: March 29, 2019, 04:07:15 pm »
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.
« Last Edit: March 29, 2019, 06:16:07 pm by Andreas_ »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17706
  • Karma: 1618
    • View Profile
Re: 19.1.x ipsec phase2 edit regression
« Reply #1 on: March 29, 2019, 04:15:48 pm »
Regression from where? Missing a data point here.


Cheers,
Franco
Logged

Andreas_

  • Jr. Member
  • **
  • Posts: 63
  • Karma: 1
    • View Profile
Re: 19.1.x ipsec phase2 edit regression
« Reply #2 on: March 29, 2019, 04:20:29 pm »
The last time I edited/cloned phase2 Entries was with 18.7.x
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17706
  • Karma: 1618
    • View Profile
Re: 19.1.x ipsec phase2 edit regression from 18.7
« Reply #3 on: March 29, 2019, 04:31:50 pm »
Can't reproduce. Still missing something here, but entirely unsure what.


Cheers,
Franco
Logged

Andreas_

  • Jr. Member
  • **
  • Posts: 63
  • Karma: 1
    • View Profile
Re: 19.1.x ipsec phase2 edit regression from 18.7
« Reply #4 on: March 29, 2019, 05:05:38 pm »
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?
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • 19.1.x ipsec phase2 edit problem with old entries
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2