aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Sommerseth2021-07-09 15:48:49 +0200
committerGert Doering2021-07-09 16:39:45 +0200
commit51d85a9d287f44c373eaa514c6a52e1078c27c43 (patch)
treee26432cac8fb0b3c1633d03cdd8d3c018dbfc2bf /doc
parentccee09d1478aa69783926c208bfa235dcb055124 (diff)
downloadopenvpn-51d85a9d287f44c373eaa514c6a52e1078c27c43.zip
openvpn-51d85a9d287f44c373eaa514c6a52e1078c27c43.tar.gz
man: Clarify IV_HWADDR
The IV_HWADDR description was only partially correct, as there are more implementations using other values than the MAC address of the default gateway. The intention of this value is to provide a unique identifier of the client and on some platforms this is not possible to retrieve other than to generate this information. The 64 bytes limitation is an arbitrary value, it is not enforced by OpenVPN 2.x. But it was considered a good idea to at least have some reasonable upper limit of how long this string can be, at least for those implementing support for this information. Signed-off-by: David Sommerseth <davids@openvpn.net> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <20210709134849.161728-1-openvpn@sf.lists.topphemmelig.net> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22625.html Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/man-sections/server-options.rst10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/man-sections/server-options.rst b/doc/man-sections/server-options.rst
index 047f227..7154733 100644
--- a/doc/man-sections/server-options.rst
+++ b/doc/man-sections/server-options.rst
@@ -467,8 +467,14 @@ fast hardware. SSL/TLS authentication must be used in this mode.
When ``--push-peer-info`` is enabled the additional information consists
of the following data:
- :code:`IV_HWADDR=<mac address>`
- The MAC address of clients default gateway
+ :code:`IV_HWADDR=<string>`
+ This is intended to be a unique and persistent ID of the client.
+ The string value can be any readable ASCII string up to 64 bytes.
+ OpenVPN 2.x and some other implementations use the MAC address of
+ the client's interface used to reach the default gateway. If this
+ string is generated by the client, it should be consistent and
+ preserved across independent session and preferably
+ re-installations and upgrades.
:code:`IV_SSL=<version string>`
The ssl version used by the client, e.g.