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
dmbaturin moved this task from Needs Triage to In Progress on the VyOS 1.2.x (VyOS 1.2.0-rc3) board.
syncer triaged this task as Normal priority.Oct 14 2018, 8:32 PM
syncer closed this task as Resolved.
syncer claimed this task.