Page MenuHomeVyOS Platform

IPv6 zone based firewall rules can't be modified
Resolved (N/A)PublicBUG

Description

When using IPv6 zone base firewalling it is not possible to alter a firewall rule, still in use error is reported:

Reproduce:

vyos@vyos# show firewall ipv6-name
 ipv6-name WAN-LOCAL-v6 {
     default-action accept
+    enable-default-log
 }

vyos@vyos# show zone-policy zone LOCAL from WAN
 firewall {
     ipv6-name WAN-LOCAL-v6
     name WAN-LOCAL
 }
vyos@vyos# commit
[ firewall ipv6-name WAN-LOCAL-v6 ]
Firewall configuration error: Cannot delete rule set "WAN-LOCAL-v6" (still in use)
[[firewall ipv6-name WAN-LOCAL-v6]] failed
Commit failed

Details

Difficulty level
Normal (likely a few hours)
Version
1.2.1
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

syncer changed the task status from Open to Needs testing.Aug 31 2019, 12:18 AM
syncer assigned this task to Unknown Object (User).
syncer triaged this task as Normal priority.
syncer edited projects, added VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.
Unknown Object (User) added a comment.Sep 10 2019, 9:05 AM

This behavior not only for ipv6 and appears after task T484

dmbaturin set Is it a breaking change? to Unspecified (possibly destroys the router).
syncer reassigned this task from Unknown Object (User) to Viacheslav.Jul 16 2023, 9:29 PM
syncer added a subscriber: Unknown Object (User).
dmbaturin added a subscriber: dmbaturin.

The code in question was rewritten, but if any new bugs show up, feel free to report.