diff options
author | Pierre Bourdon <delroth@gmail.com> | 2010-10-11 00:56:04 +0200 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2010-11-12 21:43:43 +0100 |
commit | fc1fa9ffc7e3356458ec38d43816e5ddeb0c580a (patch) | |
tree | 8075e63066811c03ab4daf20c9519b8fbf43fb26 /options.h | |
parent | Fixed static defined length check to use sizeof() (diff) | |
download | openvpn-fc1fa9ffc7e3356458ec38d43816e5ddeb0c580a.tar.xz |
Adding support for SOCKS plain text authentication
This patch adds support for SOCKS plain text (username/password)
authentication as described in RFC 1929. It adds an optional third
parameter to the socks-proxy option, which is a file containing the
login credentials.
I've been using this patch for two weeks now and it does not seem to
cause any problem. The only modifications are in the SOCKS handshake
handling and the options parser.
Signed-Off-By: Pierre Bourdon <delroth@gmail.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Acked-by: David Sommerseth <dazo@users.sourceforge.net>
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -95,6 +95,7 @@ struct connection_entry #ifdef ENABLE_SOCKS const char *socks_proxy_server; int socks_proxy_port; + const char *socks_proxy_authfile; bool socks_proxy_retry; #endif }; |