Actions
Bug #9443
open
VJ
VJ
firewall: default-policy vs new states
Bug #9443:
firewall: default-policy vs new states
Affected Versions:
Effort:
Difficulty:
Label:
Description
One of the ideas to keep upgrade paths safe was to have per state built-in defaults. This would allow us to set a accept:hook default for new states, so that deployments wouldn't suddenly drop traffic after an upgrade.
The http1/2 trailer work is a first test of this, and it exposes a gap. While the original idea holds, the added default-policy options break this expectation. Those options are not aware of whether a state is new or not, and will just apply to all states in its scope. So a deployment that uses default-policy: drop:flow will still break once http1:request_trailer is introduced.
- simply document this behavior, explaining that the safest thing to do is to not use default-policy
- exclude states with accept:hook from the default-policy logic
- force users to make an explicit choice: `-T` would fail for example unless the config contains a policy value for the new state(s)
- keep an explicit internal list of "new" states that would get special case treatment, perhaps resetting on major releases
- other ideas?
No data to display
Actions