hashicorp / hashicorp/go-sockaddr
Support identifying interfaces by altname
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 289
- Forks
- 57
- Avg merge
- 23h 17m
- Merged PRs (30d)
- 1
Description
Since 2019 linux has had support for altnames on interfaces. This is an additional name that can be used to identify the interface.
When configuring our consul clients we would like to be able to use the altname to select the bind_addr
sources:
* https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7a56493f0620
* https://man7.org/linux/man-pages/man8/ip-link.8.html
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Start by locating the code that selects bind_addr from interface names, then review how Linux interface names are discovered and how the referenced ip-link altname behavior should be represented. Done means a configured Consul client can select an interface by its altname, with coverage for that selection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, linux
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100