]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Add parsing of dhcp-option PROXY_HTTP
authorArne Schwabe <arne@rfc2549.org>
Fri, 16 Apr 2021 11:09:55 +0000 (13:09 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 18 Apr 2021 14:19:58 +0000 (16:19 +0200)
commit8d109f68fd277b3e00ba7bef61a172b4130c35b8
tree1f294b033b2d7f575782848f35ab5ffbc4e14848
parentc7f95891a4a0aabb64e7d4f3200525c1a2fcf433
Add parsing of dhcp-option PROXY_HTTP

This adds support for setting a HTTP proxy that should be used after
connecting to a VPN.

The syntax has been picked to have compatibility with OpenVPN3.
Otherwise I would have used HTTP-PROXY instead.

Since this option requires an additional argument compared to the
existing dhcp-option keywords, move checking the number of arguments
to the individual keywords.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20210416110955.1162574-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22129.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
doc/man-sections/vpn-network-options.rst
src/openvpn/options.c
src/openvpn/tun.c
src/openvpn/tun.h