-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: IV_PLAT_VER on macOS #637
Comments
Can you test the patch in http://gerrit.openvpn.net/c/openvpn/+/793 and see if this is useful for you? It sends |
This is highly system specific, as the content of the uname() structure elements is not specified very well - uname(3) says: release Release level of the operating system which translates to "IV_PLAT_VER=13.3-RELEASE-p6" (FreeBSD) or "IV_PLAT_VER=22.6.0" (macOS) - the latter being the "Mach Kernel version", not what Apple calls the OS. It's still useful if a server operator needs to keep track of client versions (and the GUI does not set the corresponding environment variable, which neither Tunnelblick nor NM do). v2: manpage amendments v3: whitespace v4: reword manpage Github: #637 Change-Id: Id2b0c5a517f02e5c219fea2ae3ef2bdef7690169 Signed-off-by: Gert Doering <[email protected]> Acked-by: Antonio Quartulli <[email protected]> Message-Id: <[email protected]> URL: https://www.mail-archive.com/[email protected]/msg29699.html Signed-off-by: Gert Doering <[email protected]> (cherry picked from commit d5b4713)
This is highly system specific, as the content of the uname() structure elements is not specified very well - uname(3) says: release Release level of the operating system which translates to "IV_PLAT_VER=13.3-RELEASE-p6" (FreeBSD) or "IV_PLAT_VER=22.6.0" (macOS) - the latter being the "Mach Kernel version", not what Apple calls the OS. It's still useful if a server operator needs to keep track of client versions (and the GUI does not set the corresponding environment variable, which neither Tunnelblick nor NM do). v2: manpage amendments v3: whitespace v4: reword manpage Github: #637 Change-Id: Id2b0c5a517f02e5c219fea2ae3ef2bdef7690169 Signed-off-by: Gert Doering <[email protected]> Acked-by: Antonio Quartulli <[email protected]> Message-Id: <[email protected]> URL: https://www.mail-archive.com/[email protected]/msg29699.html Signed-off-by: Gert Doering <[email protected]>
Hey, that works great, thank you for your work.
I'm gonna test this on Linux as well but for now I think this issue can be closed. (: |
Thanks for testing and confirming that this is useful for you ;-) - as this is a mini-feature I decided to include it in 2.6, so it will be part of 2.6.13 whenever we release that ("upcoming weeks to months, depending on things we find that should be released"). |
Describe the bug
OpenVPN 2.6.12 running on macOS 12 not sending IV_PLAT_VER if push-peer-info is set.
Neither Tunnelblick 4.0.1 stable nor the almost latest beta 6.0beta08 is doing that.
Windows seems to be the only platform sending this.
peer info on Server site:
Tunnelblick with push-peer-info:
Tunnelblick without push-peer-info:
Windows with push-peer-info:
To Reproduce
Set "push-peer-info" in a .ovpn client config with Tunnelblick on macOS.
Expected behavior
Also sending IV_PLAT_VER, maybe with kernel version or in the best case directly with the macOS version.
Version information (please complete the following information):
Additional context
Since commit 960524a it seems that it should be possible for other platforms than windows to send this since 2016:
In the reference manual its written that[0]:
[0]https://openvpn.net/community-resources/reference-manual-for-openvpn-2-6/
The text was updated successfully, but these errors were encountered: