summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols_igmp-proxy.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-07-23 19:05:21 +0200
committerChristian Breunig <christian@breunig.cc>2024-07-23 19:09:20 +0200
commitdd0ebffa33728e452ac6e11737c2283f0e390359 (patch)
tree008abe370a9e8102cb97117443781d2d98d443da /interface-definitions/protocols_igmp-proxy.xml.in
parent1f5cb9d01536f2005f80e94845972e90dfcdd0fd (diff)
downloadvyos-1x-dd0ebffa33728e452ac6e11737c2283f0e390359.tar.gz
vyos-1x-dd0ebffa33728e452ac6e11737c2283f0e390359.zip
vrf: T6602: verify supplied VRF name on all interface types
Only some (e.g. ethernet or wireguard) interfaces validate if the supplied VRF actually exists. If this is not validated, one can pass an invalid VRF to the system which generates an OSError exception. To reproduce set interfaces vxlan vxlan1 vni 1000 set interfaces vxlan vxlan1 remote 1.2.3.4 set interfaces vxlan vxlan1 vrf smoketest results in OSError: [Errno 255] failed to run command: ip link set dev vxlan1 master smoketest_mgmt This commit adds the missing verify_vrf() call to the missing interface types and an appropriate smoketest for all interfaces supporting VRF assignment.
Diffstat (limited to 'interface-definitions/protocols_igmp-proxy.xml.in')
0 files changed, 0 insertions, 0 deletions