ClusterLabs / ClusterLabs/resource-agents

IpAddr2 should it validate label length?

Open
#717 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
519
Forks
608
Avg merge
6d 1h
Merged PRs (30d)
7

Description

setting webservinterface1 as label of an IpAddr2 ends with the following:

ip -f inet addr add 10.255.0.91/24 dev eth0 label eth0:webservinterface1
RTNETLINK answers: Numerical result out of range

Is that something that needs to be validated?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the IpAddr2 resource agent and the code that handles interface labels. Reproduce the shown ip command with the webservinterface1 label, then determine whether an overlong label is rejected before execution; done means the behavior is validated consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
networking
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.