OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • [SOLVED] Gateway monitor missing after update
« previous next »
  • Print
Pages: [1] 2

Author Topic: [SOLVED] Gateway monitor missing after update  (Read 5684 times)

niclasc

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
[SOLVED] Gateway monitor missing after update
« on: July 26, 2019, 11:57:58 am »
I updated to 19.7.1 today an now one of my gateway monitor is missing av does not start
I monitored Cloudflares DNS to check online connectivity

dpinger   Gateway Monitor (Cloudflare)   
« Last Edit: September 23, 2019, 10:10:10 am by franco »
Logged

nivek1612

  • Full Member
  • ***
  • Posts: 188
  • Karma: 25
    • View Profile
Re: Gateway monitor missing after update
« Reply #1 on: July 26, 2019, 02:22:02 pm »
I've also seen issue where I add a gateway that does not appear in the gateways list but Dpinger is trying to monitor it and there is no way to remove the gateway now.

https://forum.opnsense.org/index.php?topic=13602.0
 
« Last Edit: July 26, 2019, 02:37:10 pm by nivek1612 »
Logged
OPNsense 23.1.* on Qotom i5-5250U with Zen FTTC 80/20
OPNsense 23.1.* on Qotom i7-4500U with Orange FR FTTP 1000/400 and SFR FTTP 200/20

Team Rebellion Member
One of Marjohns TESTERS :-)

niclasc

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
Re: Gateway monitor missing after update
« Reply #2 on: August 06, 2019, 09:03:15 pm »
Any ideas on this problem?
Logged

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 855
  • Karma: 166
    • View Profile
Re: Gateway monitor missing after update
« Reply #3 on: August 06, 2019, 09:07:03 pm »
should be fixed in a future release, https://github.com/opnsense/core/issues/3625 contains the steps to test earlier (on 19.7.2).
Logged

niclasc

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
Re: Gateway monitor missing after update
« Reply #4 on: August 06, 2019, 09:30:43 pm »
@AdSchellevis tried that and now the Gateway is shown in the list but it does not work like before. It still won't start to monitor the IP like it did before

How do I set monitoring of something other than my gateway?
Logged

sashxp

  • Newbie
  • *
  • Posts: 33
  • Karma: 2
    • View Profile
Re: Gateway monitor missing after update
« Reply #5 on: August 06, 2019, 11:14:10 pm »
Quote from: nivek1612 on July 26, 2019, 02:22:02 pm
I've also seen issue where I add a gateway that does not appear in the gateways list but Dpinger is trying to monitor it and there is no way to remove the gateway now.

https://forum.opnsense.org/index.php?topic=13602.0

I think i'm having the same Problem with 19.7.2 pls look at my thread @ https://forum.opnsense.org/index.php?topic=13713

Quote from: AdSchellevis on August 06, 2019, 09:07:03 pm
should be fixed in a future release, https://github.com/opnsense/core/issues/3625 contains the steps to test earlier (on 19.7.2).

at the moment there are some Bugs inthe Gateway List. You can't create an Gateway or it will not listet in the gateway section. And at least there are some Ghost DPingers.

In Front of Table - the Checkbox is also not visible.
Logged

banym

  • Sr. Member
  • ****
  • Posts: 467
  • Karma: 30
  • Free Human Being, FreeBSD, Linux and Mac nerd
    • View Profile
    • Banym
Re: Gateway monitor missing after update
« Reply #6 on: August 07, 2019, 07:58:02 am »
Hello,

this not only needs to be fixed in a 19.7.2, if you update an old firewall like I did, this leads to an offline connection.

I had a HA-Setup where both firewalls where updated and while updating to 19.7 both firewall run into this problem.
Since I had the other firewall working I could fix it manually by logging in via SSH to the backup firewall and reconfiguring the gateway service. If I only had one firewall I would have been screwed.

It should not be possible to update an old firewall ot the version including this bug since it leads to a offline firewall.

Regards,

Dominik
Logged
Twitter: banym
Mastodon: banym@bsd.network
Blog: https://www.banym.de

banym

  • Sr. Member
  • ****
  • Posts: 467
  • Karma: 30
  • Free Human Being, FreeBSD, Linux and Mac nerd
    • View Profile
    • Banym
Re: Gateway monitor missing after update
« Reply #7 on: August 07, 2019, 10:01:22 am »
One more information I figured out updating another firewall.

It happened there, too in a single node configuration. I was prepared and fixed it by opening the gateway entry and just clicked save.

Before that I did set the default gw manually via SSH and did an update to 19.7.2 to see if there is a fix for the broken gateway configuration. It didn't work. I had to open the entry, click save and since then everything worked fine.

FYI

Regards,

Dominik
Logged
Twitter: banym
Mastodon: banym@bsd.network
Blog: https://www.banym.de

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 855
  • Karma: 166
    • View Profile
Re: Gateway monitor missing after update
« Reply #8 on: August 07, 2019, 10:08:29 am »
We've added documentation about the subject recently https://docs.opnsense.org/manual/gateways.html. About the upgrade path from 19.1.x to 19.7.x, we might point it to 19.7.2 after some time.

There are some ipv6 setups, which don't seem to receive a gateway in the normal way and since we rewrote the complete gateway handling, some of the unexpected / unpredictable defaults might be different now.

The new priorities option helps to change decisions, which is explained in the docs now as well.

Best regards,

Ad
Logged

banym

  • Sr. Member
  • ****
  • Posts: 467
  • Karma: 30
  • Free Human Being, FreeBSD, Linux and Mac nerd
    • View Profile
    • Banym
Re: Gateway monitor missing after update
« Reply #9 on: August 07, 2019, 11:20:33 am »
Hi Ad,

since on that machines only one gateway was defined it is a quite serious problem if it leads to an offline firewall.

The Systems the problem appeared for me did not make any use of IPv6 on the WAN interface.
Only one IPv4 Gateway was defined.
Since no changes to the configured Gateway needed to be done only the save button was pressed, maybe there is a way to implement a hotfix to do so for 19.7.

I am not sure but for firewalls comming from older releases only 19.7 is shown to them as new version? I can't go to a newer version directly including a possible fix? This would make it necessary to fix it in 19.7 or maybe many will face the same problem and would have to go onside only to press save once?

Regards,
Dominik
Logged
Twitter: banym
Mastodon: banym@bsd.network
Blog: https://www.banym.de

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 855
  • Karma: 166
    • View Profile
Re: Gateway monitor missing after update
« Reply #10 on: August 07, 2019, 11:27:48 am »
Hi Dominik,

When Franco is back, I'll ask him to point the upgrade path to 19.7.2, which smoothens the ride.
In 99% of the cases you can easily work around these kind of issues depending on setup type by the way.

Best regards,

Ad
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13988
  • Karma: 1211
    • View Profile
Re: Gateway monitor missing after update
« Reply #11 on: August 21, 2019, 05:33:17 pm »
We should make the upgrade path 19.7.3 when it is released. I see FreeBSD has released new security advisories so the latest kernel would be better...


Cheers,
Franco
Logged

niclasc

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
Re: Gateway monitor missing after update
« Reply #12 on: September 08, 2019, 04:04:51 pm »
Quote from: franco on August 21, 2019, 05:33:17 pm
We should make the upgrade path 19.7.3 when it is released. I see FreeBSD has released new security advisories so the latest kernel would be better...


Cheers,
Franco

I have made the upgrade to 19.7.3 now and still have the same problem
If I go to Reporting -> Health and look under Quality I can see "Cloudflare" which is one of my old gateway I used to monitor. This gateway I cannot see under System -> Gateways
So I wonder if it got deleted in the gui but not in the system somehow.

Any idea where I can find Gateways in the console?
Logged

netranger

  • Newbie
  • *
  • Posts: 39
  • Karma: 5
    • View Profile
Re: Gateway monitor missing after update
« Reply #13 on: September 13, 2019, 06:28:27 pm »
Hi there,

has the upgrade path already been changed or is there another way to directly go to the latest release?

Cheers,
NR
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13988
  • Karma: 1211
    • View Profile
Re: Gateway monitor missing after update
« Reply #14 on: September 16, 2019, 04:16:24 pm »
Not yet, I hope to be able to do it this week.


Cheers,
Franco
Logged

  • Print
Pages: [1] 2
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • [SOLVED] Gateway monitor missing after update
 

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