<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openvpn.git/init.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>fixup: init.c: add missing conditional for ENABLE_CLIENT_CR</title>
<updated>2012-03-22T21:06:52+00:00</updated>
<author>
<name>Alon Bar-Lev</name>
<email>alon.barlev@gmail.com</email>
</author>
<published>2012-02-29T20:11:40+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=16d909e2c88f49231475c4163541394e16969d45'/>
<id>16d909e2c88f49231475c4163541394e16969d45</id>
<content type='text'>
Signed-off-by: Alon Bar-Lev &lt;alon.barlev@gmail.com&gt;
Acked-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: Alon Bar-Lev &lt;alon.barlev@gmail.com&gt;
Acked-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>cleanup: remove C++ warnings</title>
<updated>2012-03-22T21:06:52+00:00</updated>
<author>
<name>Alon Bar-Lev</name>
<email>alon.barlev@gmail.com</email>
</author>
<published>2012-02-29T20:11:34+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=cc8dd14442ed10a2a7079d1707a045a33e451c13'/>
<id>cc8dd14442ed10a2a7079d1707a045a33e451c13</id>
<content type='text'>
Signed-off-by: Alon Bar-Lev &lt;alon.barlev@gmail.com&gt;
Acked-by: Samuli Seppänen &lt;samuli@openvpn.net&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: Alon Bar-Lev &lt;alon.barlev@gmail.com&gt;
Acked-by: Samuli Seppänen &lt;samuli@openvpn.net&gt;
Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Made some options connection-entry specific</title>
<updated>2012-02-13T19:43:37+00:00</updated>
<author>
<name>Jan Just Keijser</name>
<email>janjust@nikhef.nl</email>
</author>
<published>2012-02-07T15:29:47+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=76809cae0eae07817160b423d3f9551df1a1d68e'/>
<id>76809cae0eae07817160b423d3f9551df1a1d68e</id>
<content type='text'>
The following options may now be used in a connection block:

 fragment
 mssfix
 tun-mtu
 tun-mtu-extra
 link-mtu
 mtu_discover_type
 explicit-exit-notification

In order to support stuff like
&lt;connection&gt;
  remote host
  proto udp
  fragment
  explicit-exit-notification 3
&lt;/connection&gt;
&lt;connection&gt;
  remote host
  proto tcp
&lt;/connection&gt;

Signed-off-by: Jan Just Keijser &lt;janjust@nikhef.nl&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>
The following options may now be used in a connection block:

 fragment
 mssfix
 tun-mtu
 tun-mtu-extra
 link-mtu
 mtu_discover_type
 explicit-exit-notification

In order to support stuff like
&lt;connection&gt;
  remote host
  proto udp
  fragment
  explicit-exit-notification 3
&lt;/connection&gt;
&lt;connection&gt;
  remote host
  proto tcp
&lt;/connection&gt;

Signed-off-by: Jan Just Keijser &lt;janjust@nikhef.nl&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>Implement IPv6 interface config with non-/64 prefix lengths.</title>
<updated>2012-02-04T12:16:06+00:00</updated>
<author>
<name>Gert Doering</name>
<email>gert@greenie.muc.de</email>
</author>
<published>2012-02-03T16:11:03+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=c55e9562d64f381ba46b83a02503f6239e23d3ef'/>
<id>c55e9562d64f381ba46b83a02503f6239e23d3ef</id>
<content type='text'>
Add "ifconfig_ipv6_netbits_parm" parameter to init_tun(), use that to
initialize tt-&gt;netbits_ipv6 (previously: always /64).  Actual interface
setup code already used tt-&gt;netbits_ipv6, so no changes needed there.

Remove restrictions on "/netbits" value for --server-ipv6 config option
(can now be /64.../112, previously had to be exactly /64).  Supporting
even smaller networks could cause problems with ipv6-pool handling and
are only allowed for explicit "ifconfig-ipv6", not for "server-ipv6".

Add /netbits to pushed "ifconfig-ipv6" values on server side (client
side always accepted this, but ignored it so far, so this does not
break compatibility).

Tested on Linux/ifconfig, Linux/iproute2 and FreeBSD 7.4

Signed-off-by: Gert Doering &lt;gert@greenie.muc.de&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>
Add "ifconfig_ipv6_netbits_parm" parameter to init_tun(), use that to
initialize tt-&gt;netbits_ipv6 (previously: always /64).  Actual interface
setup code already used tt-&gt;netbits_ipv6, so no changes needed there.

Remove restrictions on "/netbits" value for --server-ipv6 config option
(can now be /64.../112, previously had to be exactly /64).  Supporting
even smaller networks could cause problems with ipv6-pool handling and
are only allowed for explicit "ifconfig-ipv6", not for "server-ipv6".

Add /netbits to pushed "ifconfig-ipv6" values on server side (client
side always accepted this, but ignored it so far, so this does not
break compatibility).

Tested on Linux/ifconfig, Linux/iproute2 and FreeBSD 7.4

Signed-off-by: Gert Doering &lt;gert@greenie.muc.de&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>Add --route-pre-down/OPENVPN_PLUGIN_ROUTE_PREDOWN script/plug-in hook</title>
<updated>2012-01-25T17:00:10+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>davids@redhat.com</email>
</author>
<published>2012-01-24T11:32:46+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=415421c24ac5b62d59fb8f03076521cba6f126cc'/>
<id>415421c24ac5b62d59fb8f03076521cba6f126cc</id>
<content type='text'>
This patchs adds a script/plug-in hook which is called right before the
network routes are taken down.  This gives external processes a
possibility to tear down communication over the VPN before the VPN
disappears.

One use case can be to mount a networked file system over the VPN via
--route-up.  And then to unmount this file system via --route-pre-down

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>
This patchs adds a script/plug-in hook which is called right before the
network routes are taken down.  This gives external processes a
possibility to tear down communication over the VPN before the VPN
disappears.

One use case can be to mount a networked file system over the VPN via
--route-up.  And then to unmount this file system via --route-pre-down

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>Move away from openvpn_basename() over to platform provided basename()</title>
<updated>2012-01-10T18:38:35+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>davids@redhat.com</email>
</author>
<published>2011-12-07T23:40:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=ec302f7061b7ab4dd21bdac77dd115e75b50cbc0'/>
<id>ec302f7061b7ab4dd21bdac77dd115e75b50cbc0</id>
<content type='text'>
This kicks out the openvpn_basename() function from misc.[ch] and puts
glibc equivalents into compat.[ch].  This is to provide the same
functionality on platforms not having a native basename() function
available.

In addition this patch adds dirname() which commit 0f2bc0dd92f43c91e
depends.  Without dirname(), openvpn won't build in Visual Studio.

v2: Move all functions from compat.h to compat.c
v3: Use glibc versions of basename() and dirname() instead

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
Acked-by: Alon Bar-Lev &lt;alon.barlev@gmail.com&gt;
URL: http://thread.gmane.org/gmane.network.openvpn.devel/5178/focus=5215
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This kicks out the openvpn_basename() function from misc.[ch] and puts
glibc equivalents into compat.[ch].  This is to provide the same
functionality on platforms not having a native basename() function
available.

In addition this patch adds dirname() which commit 0f2bc0dd92f43c91e
depends.  Without dirname(), openvpn won't build in Visual Studio.

v2: Move all functions from compat.h to compat.c
v3: Use glibc versions of basename() and dirname() instead

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
Acked-by: Alon Bar-Lev &lt;alon.barlev@gmail.com&gt;
URL: http://thread.gmane.org/gmane.network.openvpn.devel/5178/focus=5215
</pre>
</div>
</content>
</entry>
<entry>
<title>Added "memstats" option to maintain real-time operating stats</title>
<updated>2011-12-14T16:03:24+00:00</updated>
<author>
<name>James Yonan</name>
<email>james@openvpn.net</email>
</author>
<published>2011-10-18T08:12:51+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=ffea644ce62a67ea06e375c17277cea4e9cb9873'/>
<id>ffea644ce62a67ea06e375c17277cea4e9cb9873</id>
<content type='text'>
in a memory-mapped file.

Version 2.1.16

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7653 e7ae566f-a301-0410-adde-c780ea21d3b5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in a memory-mapped file.

Version 2.1.16

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7653 e7ae566f-a301-0410-adde-c780ea21d3b5
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes for the plugin system:</title>
<updated>2011-10-22T15:22:51+00:00</updated>
<author>
<name>Adriaan de Jong</name>
<email>dejong@fox-it.com</email>
</author>
<published>2011-07-07T07:21:03+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=1876ccd012e9e2ca6f8e1cd9e7e9bb4bf24ccecb'/>
<id>1876ccd012e9e2ca6f8e1cd9e7e9bb4bf24ccecb</id>
<content type='text'>
 - Removed the dependency on an SSL library for USE_SSL when creating non-SSL plugins
 - Fixed example plugin code to include USE_SSL when needed

Signed-off-by: Adriaan de Jong &lt;dejong@fox-it.com&gt;
Acked-by: James Yonan &lt;james@openvpn.net&gt;
Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - Removed the dependency on an SSL library for USE_SSL when creating non-SSL plugins
 - Fixed example plugin code to include USE_SSL when needed

Signed-off-by: Adriaan de Jong &lt;dejong@fox-it.com&gt;
Acked-by: James Yonan &lt;james@openvpn.net&gt;
Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
