OPNsense BGP Alias lists empty after upgrades (and other events?)

Started by newyork10023, May 11, 2023, 07:44:02 PM

Previous topic - Next topic
Currently have an issue with upgrading from OPNsense 23.1.5 series to later versions (including 23.1.6 and 21.1.7).

My rules rely heavily on BGP aliases (e.g., to limit SMTP and IMAP to locally valid addresses).  On upgrades, and possibly other configuration/setup change events (e.g., possibly restoring configuration backups?), the configured BGP alias lists are empty.  This has immediate consequences on email as well as push notifications (e.g., Apple, WhatsApp, etc.) among others.

Am I correct that BGP alias lists are flushed on these type of events?  How long does it take to refresh these aliases?  Can I manually force the BGP alias lists to be refreshed?  (Or, has the BGP alias system broke since 23.1.5?)

I have not filed a bug report until I hear back from the community here in the forums as per the guidelines for contributing.

Quote from: newyork10023 on May 11, 2023, 07:44:02 PM
Currently have an issue with upgrading from OPNsense 23.1.5 series to later versions (including 23.1.6 and 21.1.7).

My rules rely heavily on BGP aliases (e.g., to limit SMTP and IMAP to locally valid addresses).  On upgrades, and possibly other configuration/setup change events (e.g., possibly restoring configuration backups?), the configured BGP alias lists are empty.  This has immediate consequences on email as well as push notifications (e.g., Apple, WhatsApp, etc.) among others.

Am I correct that BGP alias lists are flushed on these type of events?  How long does it take to refresh these aliases?  Can I manually force the BGP alias lists to be refreshed?  (Or, has the BGP alias system broke since 23.1.5?)

I have not filed a bug report until I hear back from the community here in the forums as per the guidelines for contributing.

Did you ever find a fix for this? I'm running into the same issue after restoring a configuration to a new drive. BGP aliases no longer work at all, even after manually re-creating them.

EDIT: Just restored from backup again, and that got it working.

What had happened in my case, was my SSD was failing, so I replaced it, reinstalled, and imported the backup. It just so happened that our ISP decided that this was the perfect time to bring down our internet connection for maintenance, so it was unable to download the asn.gz file. It would sure be nice if there was a way to have it re-download of the asn.gz file without restoring from a backup...