summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-10-25 10:02:23 +0200
committerGert Doering <gert@greenie.muc.de>2013-11-15 13:27:53 +0100
commitd0cb816cf8be68359617b61a55799f6330901f6a (patch)
tree891aba88fe54fd44a81e19ef0313eb19d32e8ffa /doc
parent7fc9245f5d97c7d76c635f8a3e38ab55ab27b27b (diff)
downloadopenvpn-d0cb816cf8be68359617b61a55799f6330901f6a.tar.gz
openvpn-d0cb816cf8be68359617b61a55799f6330901f6a.tar.xz
openvpn-d0cb816cf8be68359617b61a55799f6330901f6a.zip
Implement custom HTTP header for http-proxy, and always send user-agent:
There are some patched OpenVPN versions out there without source code (e.g. NDMVPN) that support adding custom http header. This patch adds custom header to OpenVPN and supports the syntax that the "in the wild" variants use. Patch v3 also prints all custom headers with other http options in --verb 5 Patch v4 does clean up the add_proxy_header function Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <1382688143-17247-1-git-send-email-arne@rfc2549.org> URL: http://article.gmane.org/gmane.network.openvpn.devel/7946 Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/openvpn.87
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/openvpn.8 b/doc/openvpn.8
index c0b209c..bb35487 100644
--- a/doc/openvpn.8
+++ b/doc/openvpn.8
@@ -552,6 +552,13 @@ Set HTTP version number to
.B AGENT user-agent \-\-
Set HTTP "User-Agent" string to
.B user-agent.
+
+.B CUSTOM\-HEADER name content \-\-
+Adds the custom Header with
+.B name
+as name and
+.B content
+as the content of the custom HTTP header.
.\"*********************************************************
.TP
.B \-\-socks-proxy server [port]