Page MenuHomePhabricator

IPv6 next-hop local option in route maps does not detect invalid values at set time
Closed, ResolvedPublicBUG

Description

The "set ipv6-next-hop local" option in route-maps is supposed to only accept IPv6 link-local addresses. However, at set time, it happily accepts anything, and allows bad values to cause commit failures. This kind of errors can be detected much earlier with ipaddrcheck.

dmbaturin@vyos# set policy route-map Bar rule 10 set ipv6-next-hop local 2001:db8::3
[edit]
dmbaturin@vyos# commit
[ policy route-map Bar rule 10 set ipv6-next-hop local 2001:db8::3 ]
% Invalid link-local nexthop address

[[policy route-map Bar]] failed
Commit failed
[edit]

Details

Difficulty level
Easy (less than an hour)
Version
1.1.8
Why the issue appeared?
Will be filled on close
syncer triaged this task as Normal priority.Oct 14 2018, 8:32 PM
pasik added a subscriber: pasik.Oct 15 2018, 9:51 PM
syncer closed this task as Resolved.
syncer claimed this task.