hashicorp / hashicorp/go-sockaddr

Support identifying interfaces by altname

Open
#39 0 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.