<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openvpn.git/buffer.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>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>
<entry>
<title>move variable declaration to top of function</title>
<updated>2012-02-17T10:03:44+00:00</updated>
<author>
<name>Heiko Hund</name>
<email>heiko.hund@sophos.com</email>
</author>
<published>2012-02-17T08:39:35+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=21658881789f53d781fc7ce85c5da578abc6c413'/>
<id>21658881789f53d781fc7ce85c5da578abc6c413</id>
<content type='text'>
MSVC chokes on this as it's not according to C89.

Signed-off-by: Heiko Hund &lt;heiko.hund@sophos.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>
MSVC chokes on this as it's not according to C89.

Signed-off-by: Heiko Hund &lt;heiko.hund@sophos.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>handle Windows unicode paths</title>
<updated>2012-02-13T16:11:50+00:00</updated>
<author>
<name>Heiko Hund</name>
<email>heiko.hund@sophos.com</email>
</author>
<published>2012-02-10T14:13:42+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=71bbbd76c62630c88441237d72fe5b61f0b45b2a'/>
<id>71bbbd76c62630c88441237d72fe5b61f0b45b2a</id>
<content type='text'>
Openvpn for Windows is not compiled as a Unicode binary and thus cannot
handle paths which contain non-ASCII characters using the argv vector.
Characters that are not present in the system codepage are simply replaced
with a question mark, e.g. if started as 'openvpn --config домой.ovpn'
the file '?????.ovpn' is tried to be opened as configuration.

The same applies to paths in config files which need to be UTF-8
encoded if they contain non ASCII characters. The option line
'key лев.pem' will lead to openvpn trying to open 'Ð»ÐµÐ².pem' on a
system with codepage 1252.

This patch makes openvpn read the command line in UCS-2 and convert
it to UTF-8 internally. Windows stores names in the filesystem in UCS-2.
When using a paths openvpn converts it from UTF-8 to UCS-2 and uses the
wide character Windows API function.

Signed-off-by: Heiko Hund &lt;heiko.hund@sophos.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>
Openvpn for Windows is not compiled as a Unicode binary and thus cannot
handle paths which contain non-ASCII characters using the argv vector.
Characters that are not present in the system codepage are simply replaced
with a question mark, e.g. if started as 'openvpn --config домой.ovpn'
the file '?????.ovpn' is tried to be opened as configuration.

The same applies to paths in config files which need to be UTF-8
encoded if they contain non ASCII characters. The option line
'key лев.pem' will lead to openvpn trying to open 'Ð»ÐµÐ².pem' on a
system with codepage 1252.

This patch makes openvpn read the command line in UCS-2 and convert
it to UTF-8 internally. Windows stores names in the filesystem in UCS-2.
When using a paths openvpn converts it from UTF-8 to UCS-2 and uses the
wide character Windows API function.

Signed-off-by: Heiko Hund &lt;heiko.hund@sophos.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>Fix assert() situations where gc_malloc() is called without a gc_arena object</title>
<updated>2012-02-08T13:37:46+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>davids@redhat.com</email>
</author>
<published>2012-02-05T23:30:47+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=dc7be6d078ba106f9b0de12f3e879c3561c3c537'/>
<id>dc7be6d078ba106f9b0de12f3e879c3561c3c537</id>
<content type='text'>
In commit bee92b479414d12035b0422f81ac5fcfe14fa645 the gc_malloc() was hardened
to always require a gc_arena object for garbage collection.  Some places in the
code expected the old behaviour of a normal malloc() in these cases, that is a
memory allocation without garbage collection.

This old behaviour is partly restored by allowing string_alloc() to do a non-gc
based allocation if no gc_arena object is available.  In addition some other
places string_alloc() will now be called with a gc_arena pointer where such an
object is available.

The alloc_buf() function has also been refactored to not use gc_malloc() at
all.

v2: - removes a memleak when --ifconfig-ipv6 is used several times
    - makes string_alloc() behave properly if DMALLOC is enabled

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
Acked-by: Gert Doering &lt;gert@greenie.muc.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In commit bee92b479414d12035b0422f81ac5fcfe14fa645 the gc_malloc() was hardened
to always require a gc_arena object for garbage collection.  Some places in the
code expected the old behaviour of a normal malloc() in these cases, that is a
memory allocation without garbage collection.

This old behaviour is partly restored by allowing string_alloc() to do a non-gc
based allocation if no gc_arena object is available.  In addition some other
places string_alloc() will now be called with a gc_arena pointer where such an
object is available.

The alloc_buf() function has also been refactored to not use gc_malloc() at
all.

v2: - removes a memleak when --ifconfig-ipv6 is used several times
    - makes string_alloc() behave properly if DMALLOC is enabled

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
Acked-by: Gert Doering &lt;gert@greenie.muc.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed support for calling gc_malloc with a NULL gc_arena struct</title>
<updated>2012-02-05T12:01:24+00:00</updated>
<author>
<name>Adriaan de Jong</name>
<email>dejong@fox-it.com</email>
</author>
<published>2012-02-05T11:51:25+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=bee92b479414d12035b0422f81ac5fcfe14fa645'/>
<id>bee92b479414d12035b0422f81ac5fcfe14fa645</id>
<content type='text'>
Signed-off-by: Adriaan de Jong &lt;dejong@fox-it.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>
Signed-off-by: Adriaan de Jong &lt;dejong@fox-it.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>Minor fix to CC_PRINT char class -- treat DEL (ascii 127)</title>
<updated>2011-09-01T06:40:48+00:00</updated>
<author>
<name>James Yonan</name>
<email>james@openvpn.net</email>
</author>
<published>2011-08-26T00:43:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=8cfa4ebddcfa46ba04705b0291a91d2ac88ab27e'/>
<id>8cfa4ebddcfa46ba04705b0291a91d2ac88ab27e</id>
<content type='text'>
as a control char.

Version 2.1.13.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7581 e7ae566f-a301-0410-adde-c780ea21d3b5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
as a control char.

Version 2.1.13.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7581 e7ae566f-a301-0410-adde-c780ea21d3b5
</pre>
</div>
</content>
</entry>
<entry>
<title>CC_PRINT character class now allows any 8-bit character value &gt;= 32.</title>
<updated>2011-08-24T11:34:26+00:00</updated>
<author>
<name>James Yonan</name>
<email>james@openvpn.net</email>
</author>
<published>2011-08-19T03:10:08+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=2627335ac2605d0987a68ce97a0a2c4efbe25159'/>
<id>2627335ac2605d0987a68ce97a0a2c4efbe25159</id>
<content type='text'>
This is done to allow UTF-8 and restrict the use of control characters
in usernames, passwords, common names, etc.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7538 e7ae566f-a301-0410-adde-c780ea21d3b5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is done to allow UTF-8 and restrict the use of control characters
in usernames, passwords, common names, etc.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7538 e7ae566f-a301-0410-adde-c780ea21d3b5
</pre>
</div>
</content>
</entry>
<entry>
<title>Changed CC_PRINT character class to allow UTF-8 chars.</title>
<updated>2011-08-24T11:32:00+00:00</updated>
<author>
<name>James Yonan</name>
<email>james@openvpn.net</email>
</author>
<published>2011-08-06T20:06:31+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=eca430d5506b31ad6c069115b2974f21995a9610'/>
<id>eca430d5506b31ad6c069115b2974f21995a9610</id>
<content type='text'>
This allows usernames, common names, etc. to be UTF-8.

Version 2.1.9

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7518 e7ae566f-a301-0410-adde-c780ea21d3b5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows usernames, common names, etc. to be UTF-8.

Version 2.1.9

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7518 e7ae566f-a301-0410-adde-c780ea21d3b5
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'svn-branch-2.1' into merge</title>
<updated>2011-04-26T21:04:18+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@users.sourceforge.net</email>
</author>
<published>2011-04-26T21:04:18+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=20b18fd799e2ea9d0651f3ef913dd9ce2e481471'/>
<id>20b18fd799e2ea9d0651f3ef913dd9ce2e481471</id>
<content type='text'>
Pulling in changes from James' 2.1/openvpn branch in SVN.

Conflicts:
	buffer.c
	init.c
	manage.h
	multi.c
	openvpn.8
	options.c
	ssl.c
	version.m4
	win/sign.py

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pulling in changes from James' 2.1/openvpn branch in SVN.

Conflicts:
	buffer.c
	init.c
	manage.h
	multi.c
	openvpn.8
	options.c
	ssl.c
	version.m4
	win/sign.py

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Added 'dir' flag to "crl-verify" (see man page for info).</title>
<updated>2011-04-26T20:29:12+00:00</updated>
<author>
<name>James Yonan</name>
<email>james@openvpn.net</email>
</author>
<published>2011-04-24T00:59:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=d5497262ae1d1a7cf50a45b5ab6750f63bf8565d'/>
<id>d5497262ae1d1a7cf50a45b5ab6750f63bf8565d</id>
<content type='text'>
Don't call SSL_CTX_set_client_CA_list or SSL_CTX_set_client_CA_list
if not running in server mode (these functions are only useful for
TLS/SSL servers).

Modified openvpn_snprintf to return false on overflow, and true
otherwise.

When AUTH_FAILED,... is received, log the full string.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7213 e7ae566f-a301-0410-adde-c780ea21d3b5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't call SSL_CTX_set_client_CA_list or SSL_CTX_set_client_CA_list
if not running in server mode (these functions are only useful for
TLS/SSL servers).

Modified openvpn_snprintf to return false on overflow, and true
otherwise.

When AUTH_FAILED,... is received, log the full string.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7213 e7ae566f-a301-0410-adde-c780ea21d3b5
</pre>
</div>
</content>
</entry>
</feed>
