OPNsense Forum

English Forums => General Discussion => Topic started by: hbmnyc on April 22, 2017, 06:22:04 pm

Title: Commit-confirm/delayed reload?
Post by: hbmnyc on April 22, 2017, 06:22:04 pm
(Sorry if this is a faq, I did search forum and docs, but didn't find anything.)

Does opnsense currently have, or are there plans to implement, a "scheduled roll-back" feature, similar to Ubiquiti's commit-confirm, ciscos delayed reload (in connection with separation between running and saved config), or even solaris's boot environments?  For remote management of devices without lom, it's an invaluable feature.

Thanks!
Title: Re: Commit-confirm/delayed reload?
Post by: bartjsmit on April 22, 2017, 07:46:05 pm
not exactly F but is an AQ ;-)

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

Bart...
Title: Re: Commit-confirm/delayed reload?
Post by: sporkman on May 07, 2017, 03:43:16 am
On Cisco gear, I rely heavily on "reload in X" and "reload cancel".

In short, when I have some big change to make on something with no OOB access, I'll do the following:

In that scenario, if something went wrong with my changes, the scheduled reboot would bring me back to my original config, saving my ass, since I don't save the confing until the changes are verified.

Is there any way to replicate this behavior?  If you had some type of "relaod in X" equivalent in the GUI, I imagine the following could happen:


That would be awesome to have on opnsense.  On the Cisco platform, that has saved me a number of times.
Title: Re: Commit-confirm/delayed reload?
Post by: franco on May 08, 2017, 06:57:36 am
Some pages do a save/apply split, namely firewall rules, interfaces, VPNs and other services. It's not perfect but it's something. The bigger question is if this was to be improved how would that look in practice? And I don't mean how Ubiquiti/Cisco works now, but how we can add something in a limited time frame that works on the code that we have and offers a noticeable improvement?


Cheers,
Franco
Title: Re: Commit-confirm/delayed reload?
Post by: sporkman on May 12, 2017, 11:21:17 pm
Some pages do a save/apply split, namely firewall rules, interfaces, VPNs and other services. It's not perfect but it's something. The bigger question is if this was to be improved how would that look in practice? And I don't mean how Ubiquiti/Cisco works now, but how we can add something in a limited time frame that works on the code that we have and offers a noticeable improvement?

How about autosaved config snapshots and an easy way to select them on boot from the console?  More fancy would be a "nextboot" option that says regardless of any changes, on next boot, roll back to snapshot-xxx.  Combine that with typing "shutdown" with a time delay in the ssh shell and you have *something*.

Even simpler, how about a single snapshot of a known-good config?  And a watchdog that will load that config if internet access is not detected in X minutes?