Conflict on overlapping WireGuard allowed_ips when merging drafts #82
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
allowed_ipsto one tunnel, and the set-list merge accepts both.allowed_ipsvalidation ininternal/service/wireguard.goonly checks CIDR syntax.Impact
Proposed change
allowed_ipswithin a tunnel as a merge conflict and reject them in validation.internal/state/set_list_merge_effects_test.go, which currently records this merge as correct.Validation