<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openvpn.git/ps.c, branch beta/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>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 2.2.0 build failure when management interface disabled</title>
<updated>2011-05-19T16:21:24+00:00</updated>
<author>
<name>Matthew L. Creech</name>
<email>mlcreech@gmail.com</email>
</author>
<published>2011-05-11T21:57:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=ca0ed8458a355aea46d26c209984caaf533784ec'/>
<id>ca0ed8458a355aea46d26c209984caaf533784ec</id>
<content type='text'>
I just upgraded to 2.2.0, and my build fails with:

ps.c: In function 'port_share_open':
ps.c:778:7: error: 'management' undeclared (first use in this function)
ps.c:778:7: note: each undeclared identifier is reported only once for
each function it appears in
make[5]: *** [ps.o] Error 1

[Comment by David Sommerseth:
 This happens only when building with --enable-small, --disable-management
 and --disable-pkcs11

 Also changed MANAGEMENT_ENABLED to ENABLE_MANAGEMENT from the original
 patch.
]

Mailing-list: http://thread.gmane.org/gmane.network.openvpn.devel/4639
Signed-off-by: Matthew L. Creech &lt;mlcreech@gmail.com&gt;
Acked-by: Gert Doering &lt;gert@greenie.muc.de&gt;
Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I just upgraded to 2.2.0, and my build fails with:

ps.c: In function 'port_share_open':
ps.c:778:7: error: 'management' undeclared (first use in this function)
ps.c:778:7: note: each undeclared identifier is reported only once for
each function it appears in
make[5]: *** [ps.o] Error 1

[Comment by David Sommerseth:
 This happens only when building with --enable-small, --disable-management
 and --disable-pkcs11

 Also changed MANAGEMENT_ENABLED to ENABLE_MANAGEMENT from the original
 patch.
]

Mailing-list: http://thread.gmane.org/gmane.network.openvpn.devel/4639
Signed-off-by: Matthew L. Creech &lt;mlcreech@gmail.com&gt;
Acked-by: Gert Doering &lt;gert@greenie.muc.de&gt;
Signed-off-by: David Sommerseth &lt;davids@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Solved hidden merge conflicts between master and svn-branch-2.1</title>
<updated>2011-04-26T21:27:12+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@users.sourceforge.net</email>
</author>
<published>2011-04-26T21:27:12+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=0b6450c93f9efb51ac089dbe0a43b139bc0b89bd'/>
<id>0b6450c93f9efb51ac089dbe0a43b139bc0b89bd</id>
<content type='text'>
ps.c - The feat_ipv6_transport patch set modifies struct openvpn_sockaddr by
       adding a union named 'addr' in commit 8335caf929f21b31.

ssl.c - A needed } and #endif had been dropped by a mistake

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ps.c - The feat_ipv6_transport patch set modifies struct openvpn_sockaddr by
       adding a union named 'addr' in commit 8335caf929f21b31.

ssl.c - A needed } and #endif had been dropped by a mistake

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</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>Fixed bug in port-share that could cause port share process to</title>
<updated>2011-04-26T20:29:11+00:00</updated>
<author>
<name>James Yonan</name>
<email>james@openvpn.net</email>
</author>
<published>2011-04-03T21:48:15+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=28c8776b65c2300b758cd2b707283a43b4a582e8'/>
<id>28c8776b65c2300b758cd2b707283a43b4a582e8</id>
<content type='text'>
crash with output like this:

TCP connection established with 85.190.0.3:41781
85.190.0.3:41781 SIGTERM[soft,port-share-redirect] received, client-instance exiting
MANAGEMENT: TCP recv error: Socket operation on non-socket
MANAGEMENT: Client disconnected
MANAGEMENT: Triggering management exit
Exiting due to fatal error
EVENT: epoll_ctl EPOLL_CTL_MOD failed, sd=6: Bad file descriptor (errno=9)

Then an error like this for every incoming connection that should be
proxied:

76.120.71.74:55302 PORT SHARE: sendmsg failed -- unable to communicate with background process (6,8,-1,-1): Connection refused (errno=111)

Version 2.1.3s


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7127 e7ae566f-a301-0410-adde-c780ea21d3b5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
crash with output like this:

TCP connection established with 85.190.0.3:41781
85.190.0.3:41781 SIGTERM[soft,port-share-redirect] received, client-instance exiting
MANAGEMENT: TCP recv error: Socket operation on non-socket
MANAGEMENT: Client disconnected
MANAGEMENT: Triggering management exit
Exiting due to fatal error
EVENT: epoll_ctl EPOLL_CTL_MOD failed, sd=6: Bad file descriptor (errno=9)

Then an error like this for every incoming connection that should be
proxied:

76.120.71.74:55302 PORT SHARE: sendmsg failed -- unable to communicate with background process (6,8,-1,-1): Connection refused (errno=111)

Version 2.1.3s


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7127 e7ae566f-a301-0410-adde-c780ea21d3b5
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed bug introduced in r7031 that might cause this error message:</title>
<updated>2011-04-26T20:29:11+00:00</updated>
<author>
<name>James Yonan</name>
<email>james@openvpn.net</email>
</author>
<published>2011-03-20T03:57:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=3530e5fba87dd060d8009bd57d1ba8976d0e8668'/>
<id>3530e5fba87dd060d8009bd57d1ba8976d0e8668</id>
<content type='text'>
PORT SHARE: sendmsg failed (unable to communicate with background process)


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7062 e7ae566f-a301-0410-adde-c780ea21d3b5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PORT SHARE: sendmsg failed (unable to communicate with background process)


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7062 e7ae566f-a301-0410-adde-c780ea21d3b5
</pre>
</div>
</content>
</entry>
<entry>
<title>Added optional journal directory argument to "port-share" directive, for reporting client IP origins of proxied connections.</title>
<updated>2011-04-25T20:13:22+00:00</updated>
<author>
<name>James Yonan</name>
<email>james@openvpn.net</email>
</author>
<published>2011-03-13T06:59:25+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=1c5ff7722dbd3e32aa3e5b7d5cb77773f083472d'/>
<id>1c5ff7722dbd3e32aa3e5b7d5cb77773f083472d</id>
<content type='text'>
git-svn-id: http://svn.openvpn.net/projects/branches/BETA21@7031 e7ae566f-a301-0410-adde-c780ea21d3b5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: http://svn.openvpn.net/projects/branches/BETA21@7031 e7ae566f-a301-0410-adde-c780ea21d3b5
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'feat_ipv6_transport'</title>
<updated>2011-04-25T15:08:14+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@users.sourceforge.net</email>
</author>
<published>2011-04-25T15:08:14+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=dcf4bcc2d95faac5d7c4844ca841359526601c69'/>
<id>dcf4bcc2d95faac5d7c4844ca841359526601c69</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed bug in port-share that could cause port share process to crash</title>
<updated>2011-04-14T15:00:51+00:00</updated>
<author>
<name>James Yonan</name>
<email>james@openvpn.net</email>
</author>
<published>2011-04-03T21:48:15+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/openvpn.git/commit/?id=9ed122efe870288ea75ee62a4eae2373a655145b'/>
<id>9ed122efe870288ea75ee62a4eae2373a655145b</id>
<content type='text'>
with output like this:

TCP connection established with 85.190.0.3:41781
85.190.0.3:41781 SIGTERM[soft,port-share-redirect] received, client-instance exiting
MANAGEMENT: TCP recv error: Socket operation on non-socket
MANAGEMENT: Client disconnected
MANAGEMENT: Triggering management exit
Exiting due to fatal error
EVENT: epoll_ctl EPOLL_CTL_MOD failed, sd=6: Bad file descriptor (errno=9)

Then an error like this for every incoming connection that should be
proxied:

76.120.71.74:55302 PORT SHARE: sendmsg failed -- unable to communicate with background process (6,8,-1,-1): Connection refused (errno=111)

Version 2.1.3s
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
with output like this:

TCP connection established with 85.190.0.3:41781
85.190.0.3:41781 SIGTERM[soft,port-share-redirect] received, client-instance exiting
MANAGEMENT: TCP recv error: Socket operation on non-socket
MANAGEMENT: Client disconnected
MANAGEMENT: Triggering management exit
Exiting due to fatal error
EVENT: epoll_ctl EPOLL_CTL_MOD failed, sd=6: Bad file descriptor (errno=9)

Then an error like this for every incoming connection that should be
proxied:

76.120.71.74:55302 PORT SHARE: sendmsg failed -- unable to communicate with background process (6,8,-1,-1): Connection refused (errno=111)

Version 2.1.3s
</pre>
</div>
</content>
</entry>
</feed>
