Management path check
The automatic rollback runs inside OPNexus and needs the way from OPNexus to the firewall's API. A rule that blocks exactly that way cannot be taken back automatically. So the preview (and the dialog for several rules) now asks every target firewall, read-only: for the packets OPNexus itself sends (its own address as the firewall sees it) and for every management source you configured under Settings (the same list the rule cleanup uses), what is the verdict before and what after this rule? A rule that would turn a passing management packet into a block is shown with a red warning and has to be acknowledged explicitly; without the acknowledgement the deploy is refused (this also holds for the API and for every rule of a bulk deploy). The check compares the whole list, so a default-deny at the end does not warn while an earlier rule still lets the management traffic through. If OPNexus's own address cannot be determined and no management source is set, the preview says it could not check (a hint, no stop). The check covers rule deployments, hierarchy rules, alias deployments, taking a rule off a firewall and moving a rule; port forwards, 1:1 NAT and VPN follow (see the changelog).
Removing, deleting and moving ask the same question. Taking a rule off a firewall (Remove from this firewall on a former
target, or deleting the central rule, which removes it from every firewall it is deployed to) and moving a rule in the
order view are refused with "would block the way OPNexus reaches the firewall" when the rule is what lets that traffic
through (or the new place puts a block rule in front of it).
An alias deployment is checked against every rule on the firewall that names the alias (also through other aliases that hold it, and
also rules OPNexus does not manage): an alias that drops the address OPNexus uses from a rule that lets it in is refused until acknowledged. Content only
the firewall can resolve (URL tables, GeoIP, host names) is shown as a hint, never as a stop. The dialog then names the firewalls and asks once more; "yes"
repeats the action with the acknowledgement (API: acknowledge_management_risk, for delete as a query parameter). Taking
a change back (rollback, Roll back again, confirming, taking a move back) is never checked: it only restores a state
through which OPNexus already reached the firewall.
Reassert ordering of a hierarchy group moves the group's rules back in front of and behind the local rules and is checked the same way (the picture after is the live list in that order); the same goes for the order enforcement a hierarchy deploy does itself, which is covered by the deploy's own check. Where the firewall's NAT list cannot be read, or OPNexus's own address cannot be told for a VPN change, the answer is "cannot tell" (a hint for NAT, an acknowledgement for VPN, which has no way back).
Two details: the check before a real push reads the firewall again (it does not use the one-minute copy the preview may use), and the copy is thrown away whenever OPNexus writes to that firewall, so the second rule of a bulk run is checked against the state the first one left. In the dialog for several rules the selected rules are also checked together, one after the other as they will be written: every rule can be harmless alone and still block in combination. The server still checks every rule on its own when it is written; acknowledging the combined warning acknowledges it for all of them.