Commit Graph

68 Commits

Author SHA1 Message Date
Jay Sorg
d3349e6087 g_ prefix for global vars
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1388 423420c4-83ab-492f-b58f-81f9feb106b5
2007-02-10 05:15:58 +00:00
Jay Sorg
6c626e9e53 call ssl.c set key function, not openssl
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1384 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-27 20:38:30 +00:00
Jay Sorg
e486d11511 moved all openssl calls to one file
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1373 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-09 07:24:44 +00:00
Jay Sorg
6091381a81 prefix BOOL with RD_
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1371 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-08 04:47:06 +00:00
Jay Sorg
797df4fa02 copyright year update
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1364 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-04 05:39:39 +00:00
Michael Gernoth
c3f49ea246 more smartcard locking fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1327 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-03 23:51:35 +00:00
Michael Gernoth
8419d91138 make sure to lock the datapath of rdpdr_send_completion to prevent
simultaneous access to shared variables in multiple threads


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1326 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-03 19:56:42 +00:00
Michael Gernoth
91d106dd41 warnings on newer openssl-versions
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1314 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-01 22:12:27 +00:00
Michael Gernoth
f93e31c840 fix warning: 'server_random' may be used uninitialized in this function
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1313 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-01 21:45:49 +00:00
Michael Gernoth
1ea625c969 fix some warnings
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1239 423420c4-83ab-492f-b58f-81f9feb106b5
2006-07-02 13:03:22 +00:00
Peter Åstrand
6fa3105441 Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1238 423420c4-83ab-492f-b58f-81f9feb106b5
2006-06-21 14:40:02 +00:00
Matt Chapman
69692c7014 Allow server public key to be anywhere from 512 bits to 2048 bits.
(Vista Beta 2 uses a 2048 bit key)


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1236 423420c4-83ab-492f-b58f-81f9feb106b5
2006-06-14 08:26:00 +00:00
Pierre Ossman
9babc7a978 Fix memory leak spotted by valgrind.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1182 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-22 09:49:21 +00:00
Peter Åstrand
acffcd7e9c Applied patch #1390148 from Ilya Konstantinov: Refactoring of color depth code.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1041 423420c4-83ab-492f-b58f-81f9feb106b5
2006-01-24 12:40:24 +00:00
Peter Åstrand
8a9165589d Applied patch #1367109: prevent strtol overflow
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1034 423420c4-83ab-492f-b58f-81f9feb106b5
2005-12-30 20:32:06 +00:00
Peter Åstrand
75ea7d9148 Applied patch #1247780 (slightly modified) from Brian Chapeau: Session Directory support.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@976 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-08 19:15:57 +00:00
Peter Åstrand
5a4e3fd055 Added URL to MSDN, about the keyboard type, subtype, functionkeys.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@965 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-03 11:48:22 +00:00
Peter Åstrand
8882a06591 It is now possible to specify keyboard type, subtype and number of functionskeys. From patch #974509, by Dekaino.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@963 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-03 11:30:53 +00:00
Michael Gernoth
ec643e4718 bump version to 1.4.0
change year in files
add missing docu for updated commandline-flags
update changelog


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@827 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-06 21:11:18 +00:00
Jay Sorg
19f0de9e0b bring the channel packets through rdp_loop so the uiports can enjoy the channel data
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@778 423420c4-83ab-492f-b58f-81f9feb106b5
2004-10-04 03:21:58 +00:00
Peter Åstrand
336cb6cc1f Now using Autoconf. Old OpenSSL files removed.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@739 423420c4-83ab-492f-b58f-81f9feb106b5
2004-07-31 13:07:41 +00:00
Jay Sorg
125922c748 bring the rdp5 packets through the various layers
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@732 423420c4-83ab-492f-b58f-81f9feb106b5
2004-07-05 19:09:07 +00:00
Jay Sorg
a9cad0b9cf proceed more global vars with g_
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@709 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-15 22:17:08 +00:00
Peter Åstrand
030f5f0ca1 Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@705 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-01 08:06:02 +00:00
Matt Chapman
80ef1df3b3 Document differences between RDP encryption and SSLv3, and bring some
of the terminology in line with the SSLv3 specification.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@698 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-16 11:18:20 +00:00
Peter Kallden
5cfce0a406 new: ui_resize_window() and related, which is used when resizing while shadowing. And fallback for color when connecting to a session with fewer colors than you have set in your session. Jeroen Meijer jeroen@oldambt7.com
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@676 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-26 13:48:39 +00:00
Matt Chapman
bfeb1f403a Annotate the T.124 bits.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@641 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-18 02:32:00 +00:00
Peter Åstrand
43cf714cfe Duca means Ducati.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@637 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-17 14:11:08 +00:00
Peter Åstrand
a9a863db41 Ran indent-all.sh
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@579 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-23 08:35:52 +00:00
Michael Gernoth
1adaed9046 X509 Certificate fix from Daniel Drown
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@556 423420c4-83ab-492f-b58f-81f9feb106b5
2003-12-10 08:02:59 +00:00
Peter Åstrand
6dbb270f2f Replaced C++ comments with C-style
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@539 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-31 20:34:26 +00:00
Matt Chapman
81f29fd475 Add option to attach to console on Windows 2003.
(thanks to Chris Knight <chris@e-easy.com.au>)


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@481 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-09 04:21:19 +00:00
Jay Sorg
24d1be278a more g_ prefix for global vars
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@446 423420c4-83ab-492f-b58f-81f9feb106b5
2003-08-21 23:23:15 +00:00
Jay Sorg
d49e190f92 more g_ prefix for global vars
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@437 423420c4-83ab-492f-b58f-81f9feb106b5
2003-08-01 17:01:58 +00:00
Jay Sorg
de7a67cd41 preceeded more global vars with g_
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@436 423420c4-83ab-492f-b58f-81f9feb106b5
2003-07-28 21:41:12 +00:00
Peter Åstrand
7ff54cdd90 Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@434 423420c4-83ab-492f-b58f-81f9feb106b5
2003-07-09 09:18:20 +00:00
Matt Chapman
5b9286e6ea Commit of work in progress on channels (so that other people can hack on
RDPSND), in particular:
* channel layer takes care of virtual channel header
* split X dependent parts out of CLIPRDR, simplified IPC implementation
* initial RDPDR implementation


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@431 423420c4-83ab-492f-b58f-81f9feb106b5
2003-07-01 09:31:25 +00:00
Erik Forsberg
5558f67067 If server advertises RDP4 support only, don't use rdp5. Ie, provide
fallback to RDP4 even if -5 switch is set on commandline.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@420 423420c4-83ab-492f-b58f-81f9feb106b5
2003-06-12 09:25:13 +00:00
Erik Forsberg
f335405bc5 Added comment about TAG_SRV_SRV_3. And some debug output.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@418 423420c4-83ab-492f-b58f-81f9feb106b5
2003-06-11 07:12:18 +00:00
Erik Forsberg
d612e591e1 Request channels in an orderly way :).
Allow transmission on a certain channel (still retaining old interface).
Indentation changes.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@411 423420c4-83ab-492f-b58f-81f9feb106b5
2003-06-06 11:07:46 +00:00
Jay Sorg
599062c6a0 adding g_ prefix to global vars, licence.c done
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@379 423420c4-83ab-492f-b58f-81f9feb106b5
2003-05-30 21:44:06 +00:00
Erik Forsberg
5b32458c9e Set the first half of the client random to zeros instead of randomness.
Setting it to randomness seems to create random(!) connection errors. Bah!


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@376 423420c4-83ab-492f-b58f-81f9feb106b5
2003-05-22 08:37:57 +00:00
Jay Sorg
70de4fa1f9 changes so it compiles with g++(mainly for ports)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@375 423420c4-83ab-492f-b58f-81f9feb106b5
2003-05-19 21:36:33 +00:00
Matt Chapman
33ee95a206 Fix some instances of out_uint{16|32} with non-zero value (should be
out_uint{16|32}_{le|be}


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@364 423420c4-83ab-492f-b58f-81f9feb106b5
2003-04-16 08:19:15 +00:00
Matt Chapman
748a2b7485 Autodetect RDP4-style or X.509 exchange (RDP5 still uses the earlier
if you don't have a licence server).


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@362 423420c4-83ab-492f-b58f-81f9feb106b5
2003-04-16 08:03:59 +00:00
Erik Forsberg
11adde8a0f Got colordepth > 8 bits to work again (apparently, another byte must be set in the client info
depending on the depth wanted).

I think we need to be a bit careful and check what depth the server is really giving us, or
we will have strange results sometimes.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@356 423420c4-83ab-492f-b58f-81f9feb106b5
2003-03-28 12:55:25 +00:00
Erik Forsberg
28a9f5958e Send a "4" instead of a "1" in the correct place if we try to support RDP5.
Updated client build. We now aim at being 2600 compatible :-).

Set up the clipboard redirector at this protocol level as well (see also
mcs.c)

Do the new-style encryption setup using RSA and X.509 routines from
OpenSSL. That sounds easier than it is (!).

Added some comments and debug output.

Process RDP5 channel data (for channels != MCS_GLOBAL_CHANNEL).

Send the username to mcs_connect.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@351 423420c4-83ab-492f-b58f-81f9feb106b5
2003-03-27 13:29:36 +00:00
Jay Sorg
15a7e6e05b added 15 and 24 bit server options
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@314 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-09 01:38:07 +00:00
Jay Sorg
4b26f4fc6b 16bit
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@308 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-04 05:32:13 +00:00
Matt Chapman
f11dc2fc73 OpenSSL 0.9.7 hides definition of BN_CTX structure.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@294 423420c4-83ab-492f-b58f-81f9feb106b5
2003-01-28 11:36:02 +00:00