On Thu, Jun 16, 2016 at 6:47 AM, Arne Schwabe <a...@rfc2549.org> wrote:

>  Changes.rst   | 4 ++++
>  doc/openvpn.8 | 7 +++++--
>  2 files changed, 9 insertions(+), 2 deletions(-)
>
> diff --git a/Changes.rst b/Changes.rst
> index ab322e2..f945ad7 100644
> --- a/Changes.rst
> +++ b/Changes.rst
> @@ -51,6 +51,10 @@ AEAD (GCM) data channel cipher support
>      bytes per packet for AES-128-GCM instead of 36 bytes per packet for
>      AES-128-CBC + HMAC-SHA1).
>
> +Http proxy password inside config file
> +       Http proxy passwords can be specified with the inline file option
> +    http-proxy-user-pass
> +
>
>  User-visible Changes
>  --------------------
> diff --git a/doc/openvpn.8 b/doc/openvpn.8
> index f1a4361..da4ad8b 100644
> --- a/doc/openvpn.8
> +++ b/doc/openvpn.8
> @@ -497,7 +497,10 @@ and port
>  If HTTP Proxy-Authenticate is required,
>  .B authfile
>  is a file containing a username and password on 2 lines, or
> -"stdin" to prompt from console.
> +"stdin" to prompt from console. Its content can also be specified
> +in the config file with the
> +\.B http-proxy-user-pass
>

man on some systems may treat \.B as .B, but many programs may not parse
that as bold. In any case the macro is

.B not \.B

Also see below on hyphens vs dashes..


> +option. (See section on inline files)
>
>  .B auth\-method
>  should be one of "none", "basic", or "ntlm".
> @@ -6581,7 +6584,7 @@ X509_1_C=KG
>  .SH INLINE FILE SUPPORT
>  OpenVPN allows including files in the main configuration for the
>  .B \-\-ca, \-\-cert, \-\-dh, \-\-extra\-certs, \-\-key, \-\-pkcs12,
> \-\-secret,
> -.B \-\-crl-verify
> +.B \-\-crl-verify, http-proxy-user-pass
>

To be consistent, that would be --http-proxy-user-pass (leading double
dashes missing).

Also using \-  for dashes to distinguish them from hyphens is the usual
practice.

Selva

Reply via email to