<feed xmlns='http://www.w3.org/2005/Atom'>
<title>eurephia.git/plugin, branch release/1.1</title>
<subtitle>Unnamed repository; edit this file to name it for gitweb.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/'/>
<entry>
<title>plugin: Don't treat not found sessions in eurephinalearn_address() as a failure</title>
<updated>2015-01-08T19:26:13+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@eurephia.org</email>
</author>
<published>2015-01-08T19:24:18+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/commit/?id=e869f5257bf9cfb1b6a7fdc84aeebada88f39854'/>
<id>e869f5257bf9cfb1b6a7fdc84aeebada88f39854</id>
<content type='text'>
This function is called also with IP adresses from networks behind clients, and
eurephia doesn't really need to process them.

Signed-off-by: David Sommerseth &lt;dazo@eurephia.org&gt;
(cherry picked from commit 31193a9d4f764bd54e00fc9e277c98319f198acd)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This function is called also with IP adresses from networks behind clients, and
eurephia doesn't really need to process them.

Signed-off-by: David Sommerseth &lt;dazo@eurephia.org&gt;
(cherry picked from commit 31193a9d4f764bd54e00fc9e277c98319f198acd)
</pre>
</div>
</content>
</entry>
<entry>
<title>plugin: Improved logging of not found addresses in eurephia_learn_address</title>
<updated>2015-01-08T14:16:44+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@eurephia.org</email>
</author>
<published>2015-01-08T14:10:49+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/commit/?id=56c654a93a451099a3121ff74efac34dd31f7cdf'/>
<id>56c654a93a451099a3121ff74efac34dd31f7cdf</id>
<content type='text'>
If routing subnets over the VPN tunnel, OpenVPN will learn addresses
inside these subnets.  As these IP addresses are not directly connected
to a eurephia session, these errors can be silenced in normal operation.
So this logging was moved to DEBUG().

Signed-off-by: David Sommerseth &lt;dazo@eurephia.org&gt;
(cherry picked from commit 0628a765e4ecdf44a966b9a3fd6717aca9b9d09f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If routing subnets over the VPN tunnel, OpenVPN will learn addresses
inside these subnets.  As these IP addresses are not directly connected
to a eurephia session, these errors can be silenced in normal operation.
So this logging was moved to DEBUG().

Signed-off-by: David Sommerseth &lt;dazo@eurephia.org&gt;
(cherry picked from commit 0628a765e4ecdf44a966b9a3fd6717aca9b9d09f)
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct ugly boundary checks in database init</title>
<updated>2014-12-05T15:02:10+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@eurephia.org</email>
</author>
<published>2014-12-05T14:54:20+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/commit/?id=3ddac122908f024e153abae83c232edf2d480f12'/>
<id>3ddac122908f024e153abae83c232edf2d480f12</id>
<content type='text'>
The check if dbargc exceeds MAX_ARGUMENTS was done _after_ it was checked
if the array element is NULL.  This was not the intention.

Signed-off-by: David Sommerseth &lt;dazo@eurephia.org&gt;
(cherry picked from commit 51f8c8e930221cc5feeac4f84be5550b4e5be9dd)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The check if dbargc exceeds MAX_ARGUMENTS was done _after_ it was checked
if the array element is NULL.  This was not the intention.

Signed-off-by: David Sommerseth &lt;dazo@eurephia.org&gt;
(cherry picked from commit 51f8c8e930221cc5feeac4f84be5550b4e5be9dd)
</pre>
</div>
</content>
</entry>
<entry>
<title>eurephia-auth: Fixed a double-free situation with dev-type is not obvious</title>
<updated>2012-10-11T00:06:51+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@users.sourceforge.net</email>
</author>
<published>2012-10-11T00:01:08+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/commit/?id=493604d52b466fa7d8444582f547b229710f1dd4'/>
<id>493604d52b466fa7d8444582f547b229710f1dd4</id>
<content type='text'>
If OpenVPN is configured with a unkown --dev name and --dev-type is used,
eurephia would in some specific situations double-free a memory region
keeping the dev-type information.  GETENV_*() functions returns a pointer
to a buffer which is supposed to be free'd, but pointers returned by
eGet_value() should not be free'd.

And in the error situation if dev-type is not forced or detected, the
memory allocated by GETENV_DEVNAME() was not properly free'd.

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
(cherry picked from commit 00bd0ac4cc901004aeaf4548813bb465bce5243f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If OpenVPN is configured with a unkown --dev name and --dev-type is used,
eurephia would in some specific situations double-free a memory region
keeping the dev-type information.  GETENV_*() functions returns a pointer
to a buffer which is supposed to be free'd, but pointers returned by
eGet_value() should not be free'd.

And in the error situation if dev-type is not forced or detected, the
memory allocated by GETENV_DEVNAME() was not properly free'd.

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
(cherry picked from commit 00bd0ac4cc901004aeaf4548813bb465bce5243f)
</pre>
</div>
</content>
</entry>
<entry>
<title>Updated copyright dates</title>
<updated>2012-10-08T00:18:14+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@users.sourceforge.net</email>
</author>
<published>2012-10-08T00:14:48+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/commit/?id=859ec82577740e113ebf1f4ae2d89baafcf41075'/>
<id>859ec82577740e113ebf1f4ae2d89baafcf41075</id>
<content type='text'>
Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug with TUN mode disconnects being logged wrongly.</title>
<updated>2012-09-13T15:59:40+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@users.sourceforge.net</email>
</author>
<published>2012-09-13T15:59:40+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/commit/?id=b036940698442e61d7623702a7835af4d4e8e76a'/>
<id>b036940698442e61d7623702a7835af4d4e8e76a</id>
<content type='text'>
This fixes a bug which appeared with newer OpenVPN versions, where
the OPENVPN_PLUGIN_LEARN_ADDRESS would be called in the end - also
in tun mode.  And with the clean-up in session seed, in regards to
the netmask not being part of the session seed, this little code
made things worse.  So lets get rid of it!

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a bug which appeared with newer OpenVPN versions, where
the OPENVPN_PLUGIN_LEARN_ADDRESS would be called in the end - also
in tun mode.  And with the clean-up in session seed, in regards to
the netmask not being part of the session seed, this little code
made things worse.  So lets get rid of it!

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Added a new database driver function: eDBregister_vpnclientaddr()</title>
<updated>2012-09-13T15:48:30+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@users.sourceforge.net</email>
</author>
<published>2012-09-13T15:46:10+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/commit/?id=ef50b1ba878472e82ab499d4066c5a4a2b757741'/>
<id>ef50b1ba878472e82ab499d4066c5a4a2b757741</id>
<content type='text'>
This function replaces eDBregister_vpnmacaddr().  This new function
will in addition to the MAC address (if OpenVPN is running in TAP mode)
also register the client's IPv4 VPN address.  It's also prepared for
logging the client's IPv6 VPN address.

This function supports both TUN and TAP mode, while the old function
only handled TAP mode.

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This function replaces eDBregister_vpnmacaddr().  This new function
will in addition to the MAC address (if OpenVPN is running in TAP mode)
also register the client's IPv4 VPN address.  It's also prepared for
logging the client's IPv6 VPN address.

This function supports both TUN and TAP mode, while the old function
only handled TAP mode.

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove VPN IP netmask from session seed</title>
<updated>2012-09-13T15:38:38+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@users.sourceforge.net</email>
</author>
<published>2012-09-13T15:34:56+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/commit/?id=ea92f408ee3d103c1668f36a7d4117a3fcebbf13'/>
<id>ea92f408ee3d103c1668f36a7d4117a3fcebbf13</id>
<content type='text'>
This is sometimes NULL, which is noticed more often when OpenVPN is
configured in tun mode.  This makes it difficult to identify the
proper session key, as the seed isn't consistent.

It does not affect much in regarding to the seed itself, as the
netmask is most likely going to be the same for all clients anyhow.

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is sometimes NULL, which is noticed more often when OpenVPN is
configured in tun mode.  This makes it difficult to identify the
proper session key, as the seed isn't consistent.

It does not affect much in regarding to the seed itself, as the
netmask is most likely going to be the same for all clients anyhow.

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>eurephia-auth: eurephiaInit() may not always return a context</title>
<updated>2012-01-05T18:53:19+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@users.sourceforge.net</email>
</author>
<published>2011-11-28T22:06:03+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/commit/?id=c70f39a842eb24baed09d9249303503852036e13'/>
<id>c70f39a842eb24baed09d9249303503852036e13</id>
<content type='text'>
Check if we have a context available before setting ctx-&gt;tuntype.

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check if we have a context available before setting ctx-&gt;tuntype.

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not link in libdl explicitly</title>
<updated>2010-12-31T16:59:54+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@users.sourceforge.net</email>
</author>
<published>2010-12-31T16:59:54+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/commit/?id=1b333949479e504017c7dffb6d70eecb53adb34a'/>
<id>1b333949479e504017c7dffb6d70eecb53adb34a</id>
<content type='text'>
The functions related to dynamic loading of shared objects are a part
of the standard libc library on FreeBSD, while in Linux it is in libdl.
However, the linker on Linux seems to add the libdl linking automatically
when needed, so no need to explicitly link this library.

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The functions related to dynamic loading of shared objects are a part
of the standard libc library on FreeBSD, while in Linux it is in libdl.
However, the linker on Linux seems to add the libdl linking automatically
when needed, so no need to explicitly link this library.

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
