OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 21.1 Legacy Series »
  • [SOLVED] 21.1.6 possibly broke ipsec
« previous next »
  • Print
Pages: 1 [2] 3

Author Topic: [SOLVED] 21.1.6 possibly broke ipsec  (Read 9310 times)

Jiffy

  • Newbie
  • *
  • Posts: 17
  • Karma: 1
    • View Profile
Re: 21.1.6 possibly broke ipsec
« Reply #15 on: May 28, 2021, 06:16:25 pm »
I've reverted to the 21.1.5 snapshot, rebooted, upgraded to 21.1.6, rebooted and no errors during the health audit.

***GOT REQUEST TO AUDIT HEALTH***
Currently running OPNsense 21.1.6 (amd64/OpenSSL) at Fri May 28 12:13:38 EDT 2021
>>> Check installed kernel version
Version 21.1.6 is correct.
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 21.1.6 is correct.
>>> Check for missing or altered base files
No problems detected.
>>> Check for missing package dependencies
Checking all packages: .......... done
>>> Check for missing or altered package files
Checking all packages: .......... done
>>> Check for core packages consistency
Core package "opnsense" has 67 dependencies to check.
Checking packages: ..................................................................... done
***DONE***
Logged

mircsicz

  • Full Member
  • ***
  • Posts: 113
  • Karma: 3
    • View Profile
Re: 21.1.6 possibly broke ipsec
« Reply #16 on: May 28, 2021, 06:31:40 pm »
Same here without the revert:

Code: [Select]
***GOT REQUEST TO AUDIT HEALTH***
Currently running OPNsense 21.1.6 (amd64/OpenSSL) at Fri May 28 18:24:26 CEST 2021
>>> Check installed kernel version
Version 21.1.6 is correct.
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 21.1.6 is correct.
>>> Check for missing or altered base files
No problems detected.
>>> Check for missing package dependencies
Checking all packages: .......... done
>>> Check for missing or altered package files
Checking all packages: .......... done
>>> Check for core packages consistency
Core package "opnsense" has 67 dependencies to check.
Checking packages: ..................................................................... done
***DONE***
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17751
  • Karma: 1620
    • View Profile
Re: 21.1.6 possibly broke ipsec
« Reply #17 on: May 28, 2021, 07:46:19 pm »
Frankly I'm out of ideas what this could be? Not saying there isn't a problem but it is hiding really well.


Cheers,
Franco
Logged

Jiffy

  • Newbie
  • *
  • Posts: 17
  • Karma: 1
    • View Profile
Re: 21.1.6 possibly broke ipsec
« Reply #18 on: May 28, 2021, 08:26:37 pm »
I've added static routes to System->Routes->Configuration
Now I can get to things on the other side of the tunnel.
These were normally accessible via OSPF

They (remote ip addresses) are also showing up under Routing->Diagnostics->General and Routing->Diagnostics->OSPF
 but when I disable the statics, they are no longer reachable.

Jiffy


« Last Edit: May 28, 2021, 08:35:38 pm by Jiffy »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17751
  • Karma: 1620
    • View Profile
Re: 21.1.6 possibly broke ipsec
« Reply #19 on: May 28, 2021, 10:58:28 pm »
Last guess of the day:

# opnsense-revert -r 21.1.5 frr7

Someone proposed a patch fixing an issue but apparently neither the reporter nor the patch lived up to the expectations and the patch was forgotten ;(


Cheers,
Franco
Logged

Jiffy

  • Newbie
  • *
  • Posts: 17
  • Karma: 1
    • View Profile
Re: 21.1.6 possibly broke ipsec
« Reply #20 on: May 28, 2021, 11:18:12 pm »
# opnsense-revert -r 21.1.5 frr7

That fixed it.

Thank you,
Jiffy
Logged

mircsicz

  • Full Member
  • ***
  • Posts: 113
  • Karma: 3
    • View Profile
Re: 21.1.6 possibly broke ipsec
« Reply #21 on: May 29, 2021, 02:37:46 am »
My issue was chained to the os-dyndns failure...
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17751
  • Karma: 1620
    • View Profile
Re: 21.1.6 possibly broke ipsec
« Reply #22 on: May 29, 2021, 09:05:15 am »
Ok, we will replace the FRR package in 21.1.6 to avoid more people running into this issue.


Cheers,
Franco
Logged

Jiffy

  • Newbie
  • *
  • Posts: 17
  • Karma: 1
    • View Profile
Re: 21.1.6 possibly broke ipsec
« Reply #23 on: May 29, 2021, 11:36:42 am »
Great, thank you for all your help, Franco.

Jiffy
Logged

Pannacotta

  • Newbie
  • *
  • Posts: 5
  • Karma: 2
    • View Profile
Re: [Workaround in place] 21.1.6 possibly broke ipsec
« Reply #24 on: May 29, 2021, 12:23:45 pm »
We also ran into this issue on one of our opnsense instances.

Can the
Code: [Select]
opnsense-revert -r 21.1.5 frr7 be run after a complete update to 21.1.6 or do we first have to downgrade the "base-system" to 21.1.5?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17751
  • Karma: 1620
    • View Profile
Re: [Workaround in place] 21.1.6 possibly broke ipsec
« Reply #25 on: May 29, 2021, 01:03:42 pm »
Yes, revert is a targeted revert of a particular package for such situations so you would revert only the FRR package and leave the rest at 21.1.6 since it doesn't pose any issues.

In any case check for updates now. It should already advertise the fixed package as a separate update (along with security fix for expat library).


Cheers,
Franco
Logged

Jiffy

  • Newbie
  • *
  • Posts: 17
  • Karma: 1
    • View Profile
Re: [Workaround in place] 21.1.6 possibly broke ipsec
« Reply #26 on: May 29, 2021, 01:13:34 pm »
Hi,
I took the latest update and can confirm it is still working.

Thank you again,
Jiffy
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17751
  • Karma: 1620
    • View Profile
Re: [SOLVED] 21.1.6 possibly broke ipsec
« Reply #27 on: May 29, 2021, 01:33:44 pm »
Thanks for the quick report!
Logged

Pannacotta

  • Newbie
  • *
  • Posts: 5
  • Karma: 2
    • View Profile
Re: [SOLVED] 21.1.6 possibly broke ipsec
« Reply #28 on: May 29, 2021, 05:23:37 pm »
same here, did the update and everything started working again. Thanks for the quick solution.
Logged

badgerbadger911

  • Newbie
  • *
  • Posts: 1
  • Karma: 1
    • View Profile
Re: [SOLVED] 21.1.6 possibly broke ipsec
« Reply #29 on: June 29, 2021, 04:57:30 pm »
Just saw this thread on the back of the FRR patch that apparently broke things for this user. I am on the other side of the fence, where this patch actually fixes things for me.

Can the original poster please describe how the tunnels runnins OSPF were configured? Was this IPSec + GRE or VTI? And specifically, what netmasks were configured on both ends of the tunnel?
Logged

  • Print
Pages: 1 [2] 3
« previous next »
  • OPNsense Forum »
  • Archive »
  • 21.1 Legacy Series »
  • [SOLVED] 21.1.6 possibly broke ipsec
 

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