<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nxcomp/Proxy.cpp, branch 3.6.x</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://openid.arctica-project.org/nx-libs/atom?h=3.6.x</id>
<link rel='self' href='https://openid.arctica-project.org/nx-libs/atom?h=3.6.x'/>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/'/>
<updated>2017-07-26T08:12:43+00:00</updated>
<entry>
<title>nxcomp: Switch to autoreconf.</title>
<updated>2017-07-26T08:12:43+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-06-30T18:13:51+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=f76c82403888bb498973ec974dbfd20e4edb02fe'/>
<id>urn:sha1:f76c82403888bb498973ec974dbfd20e4edb02fe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove EMX (MS-DOS &amp; OS/2) support</title>
<updated>2017-03-30T01:52:25+00:00</updated>
<author>
<name>Mike DePaulo</name>
<email>mikedep333@gmail.com</email>
</author>
<published>2017-03-30T01:52:25+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=1a2bea98174d92164e2aefe35b70676a7b27eb33'/>
<id>urn:sha1:1a2bea98174d92164e2aefe35b70676a7b27eb33</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cygwin nxcomp: Use Cygwin un.h</title>
<updated>2017-03-29T11:19:25+00:00</updated>
<author>
<name>Mike DePaulo</name>
<email>mikedep333@gmail.com</email>
</author>
<published>2017-03-29T11:19:25+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=99585120652f222a3016854e56884ed89c37de3c'/>
<id>urn:sha1:99585120652f222a3016854e56884ed89c37de3c</id>
<content type='text'>
Cygwin has modified it over the years.
Fixes FTBFS #394
</content>
</entry>
<entry>
<title>Slave channel implementation</title>
<updated>2016-10-28T12:11:52+00:00</updated>
<author>
<name>Vadim Troshchinskiy</name>
<email>vadim@qindel.com</email>
</author>
<published>2016-10-18T07:19:28+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=30af52eb324f6bf5551869033605e3141d745a40'/>
<id>urn:sha1:30af52eb324f6bf5551869033605e3141d745a40</id>
<content type='text'>
When enabled and a connection is made to the port, launches the
process specified in NX_SLAVE_CMD on the other side, and connects
stdin and stdout to the socket.

This is used for VM/client and client/VM communication.
</content>
</entry>
<entry>
<title>nxcomp/{Client|}Proxy.cpp: Typo fix in error messages.</title>
<updated>2016-10-13T13:22:05+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2016-10-13T12:44:27+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=d2fb76d8bd3fa397dfe3250a5524284334713d57'/>
<id>urn:sha1:d2fb76d8bd3fa397dfe3250a5524284334713d57</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Per-file copyright notices: Update copyright information in file headers that NoMachine placed there own copyright statement in.</title>
<updated>2016-07-05T23:07:24+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2016-07-05T14:22:51+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=51c3d42f3d15b181d58a0df1e5abac8d298d4484'/>
<id>urn:sha1:51c3d42f3d15b181d58a0df1e5abac8d298d4484</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Provide support for channel endpoints being UNIX file sockets in addition to being TCP/IP sockets.</title>
<updated>2016-04-27T11:59:34+00:00</updated>
<author>
<name>Salvador Fandino</name>
<email>sfandino@yahoo.com</email>
</author>
<published>2016-04-20T14:22:56+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=3713346f3959782c5e5d1ddd0252f25fb319d732'/>
<id>urn:sha1:3713346f3959782c5e5d1ddd0252f25fb319d732</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clean up compiler warnings in nxcomp</title>
<updated>2016-04-27T10:46:00+00:00</updated>
<author>
<name>Fernando Carvajal</name>
<email>fcarvajal@qindel.com</email>
</author>
<published>2016-04-25T10:53:00+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=a436cba04834da945d4a2be5335d1d7e95c6bf08'/>
<id>urn:sha1:a436cba04834da945d4a2be5335d1d7e95c6bf08</id>
<content type='text'>
This commit removes several warnings in nxcomp related to unused but
set variables. It also replaces tempnam function with the more secure
one mkstemp and there has been removed another warning related to
setgid and setuid returning values not being checked.

So these were the compiler warnings in nxcomp that have been fixed:

Loop.cpp: In function ‘int ParseRemoteOptions(char*)’:
Loop.cpp:9423:7: warning: variable ‘hasLimit’ set but not used [-Wunused-but-set-variable]
   int hasLimit  = 0;
       ^
Loop.cpp:9424:7: warning: variable ‘hasRender’ set but not used [-Wunused-but-set-variable]
   int hasRender = 0;
       ^
Loop.cpp:9425:7: warning: variable ‘hasTaint’ set but not used [-Wunused-but-set-variable]
   int hasTaint  = 0;
       ^
Loop.cpp:9427:7: warning: variable ‘hasStrict’ set but not used [-Wunused-but-set-variable]
   int hasStrict = 0;
       ^
Loop.cpp:9428:7: warning: variable ‘hasShseg’ set but not used [-Wunused-but-set-variable]
   int hasShseg  = 0;
       ^
ServerChannel.cpp: In member function ‘virtual int ServerChannel::handleWrite(const unsigned char*, unsigned int)’:
ServerChannel.cpp:2132:9: warning: variable ‘hit’ set but not used [-Wunused-but-set-variable]
     int hit;
         ^
Proxy.o: In function `Proxy::handleSaveAllStores(char const*) const':
Proxy.cpp:(.text+0x2cac): warning: the use of `tempnam' is dangerous, better use `mkstemp'

Pipe.cpp: In function ‘FILE* Popen(char* const*, const char*)’:
Pipe.cpp:240:23: warning: ignoring return value of ‘int setgid(__gid_t)’,
declared with attribute warn_unused_result [-Wunused-result]
       setgid(getgid());
                       ^
Pipe.cpp:241:23: warning: ignoring return value of ‘int setuid(__uid_t)’,
declared with attribute warn_unused_result [-Wunused-result]
       setuid(getuid());
                       ^

There was also a hidden problem in the way Proxy::handleSaveAllStores was
checking for an error in the returning value from the call to the virtual
method handleSaveAllStores of the specific proxy class really being used
(ClientProxy or ServerProxy).

Former code was considering the value 0 as the returning value in case of
an error whereas both subclasses return the value -1 when there is an error
in their handleSaveAllStores method.

This bug has been fixed in this commit taking advantage of the modification
that was already being made to this method in order to replace tempnam
function with the more secure one mkstemp.

Fixes: ArcticaProject/nx-libs#103
</content>
</entry>
<entry>
<title>Remove compatibility code for nxcomp before 3.5.0</title>
<updated>2016-04-12T10:07:53+00:00</updated>
<author>
<name>Fernando Carvajal</name>
<email>fcarvajal@qindel.com</email>
</author>
<published>2016-04-12T09:52:22+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=a9be6f59105b7cf29bb799556274dc2c3b3d2af8'/>
<id>urn:sha1:a9be6f59105b7cf29bb799556274dc2c3b3d2af8</id>
<content type='text'>
As a part of nxcomp's clean-up process, compatibility with old protocol
versions has been set now at 3.5.0.

This commit removes compatibility code from nxcomp so the minimum supported
version changes from 1.5.0 (protocol step 6) to 3.5.0 (protocol step 10).

At this moment the removal is not complete and it will be followed by some
other commits, in order to get rid of several components and files that are
no longer used as they were only needed to work with old protocol versions.

Refs: ArcticaProject/nx-libs#108
</content>
</entry>
<entry>
<title>This patch is some code fixes to debug some debuging macro usage in the NX code.</title>
<updated>2015-05-15T20:40:05+00:00</updated>
<author>
<name>Nito Martinez</name>
<email>Nito@Qindel.ES</email>
</author>
<published>2015-05-15T20:40:05+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=cf4ed917e2d7d6b3683ba1aa4ea4662538b69516'/>
<id>urn:sha1:cf4ed917e2d7d6b3683ba1aa4ea4662538b69516</id>
<content type='text'>
Particularly the following macros have been tested -DTEST -DDEBUG -DDUMP -DFLUSH -DTOKEN -DSPLIT -DPING -DMIXED -DMATCH -DTIME
</content>
</entry>
</feed>
