<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openvpn.git/sample/sample-plugins/log, 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>plugin: Extend the plug-in v3 API to identify the SSL implementation used</title>
<updated>2013-07-03T19:22:12+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>davids@redhat.com</email>
</author>
<published>2013-07-03T19:17:10+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=570da542877a1f42ed6549a6ca3f54df9ec53c1f'/>
<id>570da542877a1f42ed6549a6ca3f54df9ec53c1f</id>
<content type='text'>
OpenVPN would segfault unexpectedly if it would be compiled against
PolarSSL
and the plug-in would expect OpenSSL, or vice-versa.  This segfault would
not appear before the plug-in would try to access functions which would
be available if the plug-in and OpenVPN uses the same SSL implementation.

This patch adds a member to the plug-in initialisation function, which
identifies the SSL implementation.

The log_v3 plug-in is updated accordingly + a simple fix to make it
buildable again using the ./build script.

A minor documentation error in the openvpn-plugin.h was also
corrected, where it mentioned OPENVPN_PLUGIN_VERSION instead of
OPENVPN_PLUGINv3_STRUCTVER.

 v2 - add const ovpnSSLAPI ssl_api at the end of
      struct openvpn_plugin_args_open_in and not in the "middle"

 v3 - fix bug in plug-in init, as the SSLAPI was located wrong in the
      args struct sent to the openvpn_plugin_open_v3() function.

 v4 - Ensure SSLAPI got a sane/known value if SSL is disabled or unknown

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
Acked-by: Gert Doering &lt;gert@greenie.muc.de&gt;
Message-Id: &lt;1372879030-10576-1-git-send-email-dazo@users.sourceforge.net&gt;
URL: http://article.gmane.org/gmane.network.openvpn.devel/7754
Signed-off-by: Gert Doering &lt;gert@greenie.muc.de&gt;
(cherry picked from commit 587df08abda3c8f1f85ccdba4d8b82a736c11e2d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
OpenVPN would segfault unexpectedly if it would be compiled against
PolarSSL
and the plug-in would expect OpenSSL, or vice-versa.  This segfault would
not appear before the plug-in would try to access functions which would
be available if the plug-in and OpenVPN uses the same SSL implementation.

This patch adds a member to the plug-in initialisation function, which
identifies the SSL implementation.

The log_v3 plug-in is updated accordingly + a simple fix to make it
buildable again using the ./build script.

A minor documentation error in the openvpn-plugin.h was also
corrected, where it mentioned OPENVPN_PLUGIN_VERSION instead of
OPENVPN_PLUGINv3_STRUCTVER.

 v2 - add const ovpnSSLAPI ssl_api at the end of
      struct openvpn_plugin_args_open_in and not in the "middle"

 v3 - fix bug in plug-in init, as the SSLAPI was located wrong in the
      args struct sent to the openvpn_plugin_open_v3() function.

 v4 - Ensure SSLAPI got a sane/known value if SSL is disabled or unknown

Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
Acked-by: Gert Doering &lt;gert@greenie.muc.de&gt;
Message-Id: &lt;1372879030-10576-1-git-send-email-dazo@users.sourceforge.net&gt;
URL: http://article.gmane.org/gmane.network.openvpn.devel/7754
Signed-off-by: Gert Doering &lt;gert@greenie.muc.de&gt;
(cherry picked from commit 587df08abda3c8f1f85ccdba4d8b82a736c11e2d)
</pre>
</div>
</content>
</entry>
<entry>
<title>build: integrate plugins build into core build</title>
<updated>2012-06-26T09:29:02+00:00</updated>
<author>
<name>Alon Bar-Lev</name>
<email>alon.barlev@gmail.com</email>
</author>
<published>2012-05-14T22:42:03+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=ce8271f5d435be963c79945f8d7eb6ea2e4369fa'/>
<id>ce8271f5d435be963c79945f8d7eb6ea2e4369fa</id>
<content type='text'>
As disucssed[1], keep plugins in repository.

1, Proper automake/libtool build.

2. Move example plugins to samples/sample-plugins.

3. Plugins are installed at LIBDIR/openvpn/plugins.

[1] http://comments.gmane.org/gmane.network.openvpn.devel/6436

Signed-off-by: Alon Bar-Lev &lt;alon.barlev@gmail.com&gt;
Acked-by: David Sommerseth &lt;davids@redhat.com&gt;
Message-Id: 1337035323-27465-1-git-send-email-alon.barlev@gmail.com
URL: http://article.gmane.org/gmane.network.openvpn.devel/6591
Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As disucssed[1], keep plugins in repository.

1, Proper automake/libtool build.

2. Move example plugins to samples/sample-plugins.

3. Plugins are installed at LIBDIR/openvpn/plugins.

[1] http://comments.gmane.org/gmane.network.openvpn.devel/6436

Signed-off-by: Alon Bar-Lev &lt;alon.barlev@gmail.com&gt;
Acked-by: David Sommerseth &lt;davids@redhat.com&gt;
Message-Id: 1337035323-27465-1-git-send-email-alon.barlev@gmail.com
URL: http://article.gmane.org/gmane.network.openvpn.devel/6591
Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
