OpenVPN / OpenVPN/openvpn

IV_HWADDR Setting Issue in Linux OpenVPN Client

Open
#655 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

linux moreinformationneeded
Dominant language
C
Stars
14.6k
Forks
3.4k
PR merge metrics
No merged PRs in 30d

Description

In a Linux environment, openvpn 2.6.12

the OpenVPN client obtains the best gateway and interface name. However, when setting IV_HWADDR, it might not be set to the MAC of that interface. Is there a reason why, even after determining the best gateway and interface, it just selects any interface within the same network as the best gateway?

In the case of Windows, it appears that the MAC address of the interface with the lowest metric is used.

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 reproducing the behavior on Linux with OpenVPN 2.6.12, then trace how the client selects the best gateway, interface, and IV_HWADDR; done means explaining the selection difference or providing a verified correction with regression coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.