]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Implement custom HTTP header for http-proxy, and always send user-agent:
authorArne Schwabe <arne@rfc2549.org>
Fri, 25 Oct 2013 08:02:23 +0000 (10:02 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 15 Nov 2013 12:27:53 +0000 (13:27 +0100)
commitd0cb816cf8be68359617b61a55799f6330901f6a
tree891aba88fe54fd44a81e19ef0313eb19d32e8ffa
parent7fc9245f5d97c7d76c635f8a3e38ab55ab27b27b
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>
doc/openvpn.8
src/openvpn/options.c
src/openvpn/proxy.c
src/openvpn/proxy.h