Skip to contentSkip to conversation

documentation: Fixes for previous fixes to --push-peer-info

PATCH In review Frank Lichtenheld 3 participants 3 messages Feb 6, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 documentation: Fixes for previous fixes to --push-peer-info

- Clarify compression IV_ settings
- Clarify which settings might come from --setenv

Change-Id Id8615515c8df6e38e931e357396811234faad796
---
 doc/man-sections/client-options.rst | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

For master and release/2.6

doc/man-sections/client-options.rst +9 -4
index cd3e565f..b92b1a46 100644
@@ -374,10 +374,11 @@ configuration.
   :code:`IV_GUI_VER=<gui_id> <version>`
         The UI version of a UI if one is running, for example
         :code:`de.blinkt.openvpn 0.5.47` for the Android app.
+        This may be set by the client UI/GUI using ``--setenv``.
 
   :code:`IV_SSO=[crtext,][openurl,][proxy_url]`
         Additional authentication methods supported by the client.
-        This may be set by the client UI/GUI using ``--setenv``
+        This may be set by the client UI/GUI using ``--setenv``.
 
   The following flags depend on which compression formats are compiled in
   and whether compression is allowed by options. See `Protocol options`_
@@ -388,13 +389,15 @@ configuration.
 
     :code:`IV_LZO_STUB=1`
         If client was built with LZO stub capability. This is only sent if
-        ``IV_LZO=1`` is not sent.
+        ``IV_LZO=1`` is not sent. This means the client can talk to a server
+        configured with ``--comp-lzo no``.
 
     :code:`IV_LZ4=1` and :code:`IV_LZ4v2=1`
         If the client supports LZ4 compression.
 
     :code:`IV_COMP_STUB=1` and :code:`IV_COMP_STUBv2=1`
-        If the client supports stub compression.
+        If the client supports stub compression. This means the client can talk
+        to a server configured with ``--compress``.
 
   When ``--push-peer-info`` is enabled the additional information consists
   of the following data:
@@ -414,7 +417,9 @@ configuration.
 
   :code:`IV_PLAT_VER=x.y`
         The version of the operating system, e.g. 6.1 for Windows 7.
-        This is only sent on Windows operating systems.
+        This may be set by the client UI/GUI using ``--setenv``.
+        On Windows systems it is automatically determined by openvpn
+        itself.
 
   :code:`UV_<name>=<value>`
         Client environment variables whose names start with
Signature · 1 line
2.34.1
Acked-by on v1 1/1
#1 lore raw

Am 06.02.24 um 18:47 schrieb Frank Lichtenheld:

Quoted 47 lines

- Clarify compression IV_ settings
- Clarify which settings might come from --setenv

Change-Id Id8615515c8df6e38e931e357396811234faad796
---
  doc/man-sections/client-options.rst | 13 +++++++++----
  1 file changed, 9 insertions(+), 4 deletions(-)

For master and release/2.6

doc/man-sections/client-options.rst +6 -3
index cd3e565f..b92b1a46 100644
@@ -374,10 +374,11 @@ configuration.
    :code:`IV_GUI_VER=<gui_id> <version>`
          The UI version of a UI if one is running, for example
          :code:`de.blinkt.openvpn 0.5.47` for the Android app.
+        This may be set by the client UI/GUI using ``--setenv``.
 
    :code:`IV_SSO=[crtext,][openurl,][proxy_url]`
          Additional authentication methods supported by the client.
-        This may be set by the client UI/GUI using ``--setenv``
+        This may be set by the client UI/GUI using ``--setenv``.
 
    The following flags depend on which compression formats are compiled in
    and whether compression is allowed by options. See `Protocol options`_
@@ -388,13 +389,15 @@ configuration.
 
      :code:`IV_LZO_STUB=1`
          If client was built with LZO stub capability. This is only sent if
-        ``IV_LZO=1`` is not sent.
+        ``IV_LZO=1`` is not sent. This means the client can talk to a server
+        configured with ``--comp-lzo no``.
 
      :code:`IV_LZ4=1` and :code:`IV_LZ4v2=1`
          If the client supports LZ4 compression.
 
      :code:`IV_COMP_STUB=1` and :code:`IV_COMP_STUBv2=1`
-        If the client supports stub compression.
+        If the client supports stub compression. This means the client can talk
+        to a server configured with ``--compress``.
 
    When ``--push-peer-info`` is enabled the additional information consists
    of the following data:

doc/man-sections/client-options.rst configuration. · line 425

Quoted 10 lines
doc/man-sections/client-options.rst +3 -1
@@ -414,7 +417,9 @@ configuration.
 
    :code:`IV_PLAT_VER=x.y`
          The version of the operating system, e.g. 6.1 for Windows 7.
-        This is only sent on Windows operating systems.
+        This may be set by the client UI/GUI using ``--setenv``.
+        On Windows systems it is automatically determined by openvpn
+        itself.
 
    :code:`UV_<name>=<value>`
          Client environment variables whose names start with

Thanks. Collective ACK with the previous patch together.

#2 lore raw
In reply to Frank Lichtenheld

Your patch has been applied to the master and release/2.6 branch.

commit c1e1d132f6368a6f4b77fe956a9329a60331b63e (master) commit 6bed72d0f2c6860d936b2f3865866c76ef9d18de (release/2.6)

Author: Frank Lichtenheld
Date:   Tue Feb 6 18:47:45 2024 +0100
     documentation: Fixes for previous fixes to --push-peer-info

     Signed-off-by: Frank Lichtenheld <[email protected]...>
     Acked-by: Arne Schwabe <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg28184.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering