<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openvpn.git/src/openvpn/proxy.c, branch release/2.3</title>
<subtitle>Copy of the official OpenVPN git repo</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/'/>
<entry>
<title>Fix corner case in NTLM authentication (trac #172)</title>
<updated>2013-03-07T18:41:57+00:00</updated>
<author>
<name>Christian Niessner</name>
<email>openvpn@christian-niessner.de</email>
</author>
<published>2013-03-07T18:37:58+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=55058d4f96dfec96e9f0cad7802a5eaaf9a3301f'/>
<id>55058d4f96dfec96e9f0cad7802a5eaaf9a3301f</id>
<content type='text'>
The problem is located in the file proxy.c within
"establish_http_proxy_passthru": To keep buffers small long
base64-encoded NTLM-Strings are truncated.

But the truncating is done on a wrong place: base 64 strings can be
cut every 4 chars. the buffer is 128 bytes - including the terminating
\0, so the usable data is only 127 bytes. And decoding a 127 char
base64 string fails... this is why the ntlm authentication fails in
certain cases (long strings)...

Acked-by: Joerg Willmann &lt;joe@clnt.de&gt;
URL: https://community.openvpn.net/openvpn/ticket/172

Signed-off-by: Gert Doering &lt;gert@greenie.muc.de&gt;
(cherry picked from commit f8ac53b98ed2513f1d80363b6fd2351f1b4ae511)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The problem is located in the file proxy.c within
"establish_http_proxy_passthru": To keep buffers small long
base64-encoded NTLM-Strings are truncated.

But the truncating is done on a wrong place: base 64 strings can be
cut every 4 chars. the buffer is 128 bytes - including the terminating
\0, so the usable data is only 127 bytes. And decoding a 127 char
base64 string fails... this is why the ntlm authentication fails in
certain cases (long strings)...

Acked-by: Joerg Willmann &lt;joe@clnt.de&gt;
URL: https://community.openvpn.net/openvpn/ticket/172

Signed-off-by: Gert Doering &lt;gert@greenie.muc.de&gt;
(cherry picked from commit f8ac53b98ed2513f1d80363b6fd2351f1b4ae511)
</pre>
</div>
</content>
</entry>
<entry>
<title>fix regression with --http-proxy[-*] options</title>
<updated>2012-07-30T13:49:55+00:00</updated>
<author>
<name>Heiko Hund</name>
<email>heiko.hund@sophos.com</email>
</author>
<published>2012-07-30T09:05:22+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=4f879daeb9b1b709c80d01e4872b30e23747c4a8'/>
<id>4f879daeb9b1b709c80d01e4872b30e23747c4a8</id>
<content type='text'>
Commit af1bf85a introducing the --management-query-proxy option
broke the initialization of HTTP proxy options by not assigning
the allocated object to the options element in the function
init_http_proxy_options_once().

Signed-off-by: Heiko Hund &lt;heiko.hund@sophos.com&gt;
Acked-by: Arne Schwabe &lt;arne@rfc2549.org&gt;
Message-Id: 1343639122-8658-1-git-send-email-heiko.hund@sophos.com
URL: http://article.gmane.org/gmane.network.openvpn.devel/6913
Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit af1bf85a introducing the --management-query-proxy option
broke the initialization of HTTP proxy options by not assigning
the allocated object to the options element in the function
init_http_proxy_options_once().

Signed-off-by: Heiko Hund &lt;heiko.hund@sophos.com&gt;
Acked-by: Arne Schwabe &lt;arne@rfc2549.org&gt;
Message-Id: 1343639122-8658-1-git-send-email-heiko.hund@sophos.com
URL: http://article.gmane.org/gmane.network.openvpn.devel/6913
Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>add option --management-query-proxy</title>
<updated>2012-07-19T19:37:54+00:00</updated>
<author>
<name>Heiko Hund</name>
<email>heiko.hund@sophos.com</email>
</author>
<published>2012-07-11T12:16:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=af1bf85aee836f2b729c38990028c035b6c69152'/>
<id>af1bf85aee836f2b729c38990028c035b6c69152</id>
<content type='text'>
Make openvpn query for proxy information through the
management interface. This allows GUIs to provide (automatically
detected) proxy information on a per connection basis.

This new option supersedes the undocumented --http-proxy-fallback
option and puts the responsibilty for HTTP proxy fallback handling
to the GUI caring for such.

Signed-off-by: Heiko Hund &lt;heiko.hund@sophos.com&gt;
Reviewed-by: James Yonan &lt;james@openvpn.net&gt;
Message-Id: 1342009010-9735-1-git-send-email-heiko.hund@sophos.com
URL: http://article.gmane.org/gmane.network.openvpn.devel/6841
Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make openvpn query for proxy information through the
management interface. This allows GUIs to provide (automatically
detected) proxy information on a per connection basis.

This new option supersedes the undocumented --http-proxy-fallback
option and puts the responsibilty for HTTP proxy fallback handling
to the GUI caring for such.

Signed-off-by: Heiko Hund &lt;heiko.hund@sophos.com&gt;
Reviewed-by: James Yonan &lt;james@openvpn.net&gt;
Message-Id: 1342009010-9735-1-git-send-email-heiko.hund@sophos.com
URL: http://article.gmane.org/gmane.network.openvpn.devel/6841
Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>don't treat socket related errors special anymore</title>
<updated>2012-07-19T19:20:39+00:00</updated>
<author>
<name>Heiko Hund</name>
<email>heiko.hund@sophos.com</email>
</author>
<published>2012-07-17T16:25:16+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=910675de28956cf8d028aed727486b64747362fb'/>
<id>910675de28956cf8d028aed727486b64747362fb</id>
<content type='text'>
WSAGetLastError() is just a wrapper for GetLastError(). So, there's
no need to differentiate between socket related and other errors.

This patch removes all special handling of socket errors in favor
of simplifying the codebase somewhat.

Signed-off-by: Heiko Hund &lt;heiko.hund@sophos.com&gt;
Acked-by: Gert Doering &lt;gert@greenie.muc.de&gt;
Message-Id: 1342542316-32563-1-git-send-email-heiko.hund@sophos.com
URL: http://article.gmane.org/gmane.network.openvpn.devel/6876
Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
WSAGetLastError() is just a wrapper for GetLastError(). So, there's
no need to differentiate between socket related and other errors.

This patch removes all special handling of socket errors in favor
of simplifying the codebase somewhat.

Signed-off-by: Heiko Hund &lt;heiko.hund@sophos.com&gt;
Acked-by: Gert Doering &lt;gert@greenie.muc.de&gt;
Message-Id: 1342542316-32563-1-git-send-email-heiko.hund@sophos.com
URL: http://article.gmane.org/gmane.network.openvpn.devel/6876
Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>remove the --auto-proxy option from openvpn</title>
<updated>2012-06-13T08:44:33+00:00</updated>
<author>
<name>Heiko Hund</name>
<email>heiko.hund@sophos.com</email>
</author>
<published>2012-02-05T12:47:09+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=8e1975b046dcf821eaf03098677dc5e34cd3a1a5'/>
<id>8e1975b046dcf821eaf03098677dc5e34cd3a1a5</id>
<content type='text'>
During discussion on FOSDEM 2012 it was decided that proxy auto detection
is best done in the GUI as it's highly platform specific and shouldn't be
handled in openvpn itself for every supported platform in openvpn itself.

This removes --auto-proxy from openvpn.

Signed-off-by: Heiko Hund &lt;heiko.hund@sophos.com&gt;
Acked-by: David Sommerseth &lt;davids@redhat.com&gt;
Message-Id: 1328446029-30523-1-git-send-email-heiko.hund@sophos.com
URL: http://article.gmane.org/gmane.network.openvpn.devel/5333
Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
During discussion on FOSDEM 2012 it was decided that proxy auto detection
is best done in the GUI as it's highly platform specific and shouldn't be
handled in openvpn itself for every supported platform in openvpn itself.

This removes --auto-proxy from openvpn.

Signed-off-by: Heiko Hund &lt;heiko.hund@sophos.com&gt;
Acked-by: David Sommerseth &lt;davids@redhat.com&gt;
Message-Id: 1328446029-30523-1-git-send-email-heiko.hund@sophos.com
URL: http://article.gmane.org/gmane.network.openvpn.devel/5333
Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>build: move out config.h include from syshead</title>
<updated>2012-03-22T21:53:39+00:00</updated>
<author>
<name>Alon Bar-Lev</name>
<email>alon.barlev@gmail.com</email>
</author>
<published>2012-02-29T20:12:13+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=c110b289eced4a792fd7c7c29e651b22f602fd24'/>
<id>c110b289eced4a792fd7c7c29e651b22f602fd24</id>
<content type='text'>
Yet another step in reducing the syshead.h content.

Conditional compilation of sources needs to be based on
a minimum program prefix (config.h only).

Signed-off-by: Alon Bar-Lev &lt;alon.barlev@gmail.com&gt;
Acked-by: David Sommerseth &lt;davids@redhat.com&gt;
Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Yet another step in reducing the syshead.h content.

Conditional compilation of sources needs to be based on
a minimum program prefix (config.h only).

Signed-off-by: Alon Bar-Lev &lt;alon.barlev@gmail.com&gt;
Acked-by: David Sommerseth &lt;davids@redhat.com&gt;
Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>build: standard directory layout</title>
<updated>2012-03-22T21:07:08+00:00</updated>
<author>
<name>Alon Bar-Lev</name>
<email>alon.barlev@gmail.com</email>
</author>
<published>2012-02-29T20:11:59+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=34cb9132ef2dae08f91a66015ea5437539a4b557'/>
<id>34cb9132ef2dae08f91a66015ea5437539a4b557</id>
<content type='text'>
Suitable for mature project.

root   - administrative stuff
doc    - documents
src    - sources
tests  - tests
distro - distro specific files
sample - samples

SIDE EFFECT: many changes to rpm spec.

Signed-off-by: Alon Bar-Lev &lt;alon.barlev@gmail.com&gt;
Acked-by: Adriaan de Jong &lt;dejong@fox-it.com&gt;
Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Suitable for mature project.

root   - administrative stuff
doc    - documents
src    - sources
tests  - tests
distro - distro specific files
sample - samples

SIDE EFFECT: many changes to rpm spec.

Signed-off-by: Alon Bar-Lev &lt;alon.barlev@gmail.com&gt;
Acked-by: Adriaan de Jong &lt;dejong@fox-it.com&gt;
Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
