"LAN network" in v6 rules doesn't work when assigning link-local address to LAN
If you configure a link-local address on an interface, that interface's "network" subnet fails being looked up. For instance, go to Interfaces>LAN, configure it for static IPv6 fe80::1:1/64 for instance, add a v6 rule specifying "LAN subnet" as the source, and you end up with:
# at the break! label "USER_RULE: Default allow LAN IPv6 to any rule"
Updated by Paul K over 6 years ago
This also affects rules with "LAN Interface" not just "LAN Subnet" as source/destination. In order for the rules with "LAN Interface" to work get_interface_ipv6() would have to return link-local address, but that would most likely break quite a few other things. Since this is not really a valid config why not put validation on interface page that would prevent user from assigning fe80::/10 address.
Updated by Chris Buechler about 6 years ago
- Status changed from Confirmed to Resolved
- Assignee changed from Renato Botelho to Chris Buechler
Added input validation to work around this (and related issues Paul noted) since that's not a valid config anyway.
Put the wrong ticket # on the commit.