Commit Graph

116 Commits

Author SHA1 Message Date
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
Matt Chapman
91dd0d0268 Minor memory leak (pointed out by Eric Sellers <eric.sellers@beer.com>)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@217 423420c4-83ab-492f-b58f-81f9feb106b5
2002-10-09 14:20:31 +00:00
Matt Chapman
b120a50f44 Update copyright dates on all files that have changed.
Bump version to 1.2-cvs.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@206 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-26 14:26:46 +00:00
Matt Chapman
5514330916 foo function() -> foo function(void) to conform to ANSI C.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@191 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-24 07:59:14 +00:00
Peter Kallden
7e00abf141 some BE fixes - without these rdesktop wont run on IBM AIX - such as RS6000 PowerPC
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@175 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 09:55:03 +00:00
Peter Åstrand
f56b13e3ae Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@100 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-26 17:12:43 +00:00
Jay Sorg
13fb99fc12 header ajustment in sec_process_mcs_data from up19-7-3
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@89 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-04 03:42:47 +00:00
Jay Sorg
720a67fb61 exit sec_parse_crypt_info if crypt_level is 0 from up19-7-3
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@88 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-04 03:05:19 +00:00
Jay Sorg
d6c9bb1b1c hostname may not be longer than 30 from up19-7-3
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@87 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-04 02:48:08 +00:00
Peter Åstrand
4f8b0bc47a Changed max line length to 100
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@81 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-30 07:18:48 +00:00
Peter Åstrand
0685b1b65c Fixed indentation with indent
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@63 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-18 16:38:31 +00:00
Matt Chapman
458b59d85b The 128-bit change broke licensing when used with 40-bit encryption
(sec_sign is also used from licence.c).  Fix from Lars Heete.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@60 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-14 12:06:03 +00:00
Matt Chapman
f90bc6976f Fixed "high" (128-bit) encryption.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@56 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-13 02:30:49 +00:00
Matt Chapman
dc7bfecb7a Synced crypto/ with latest OpenSSL.
Moved to OpenSSL big number routines to resolve licensing issues
with current code (although they add more bloat).


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@31 423420c4-83ab-492f-b58f-81f9feb106b5
2001-09-15 09:37:17 +00:00
Matt Chapman
24ea31f68a Portability fixes, including elimination of variable argument macros.
Rudimentary configure script.
Miscellaneous cleanups.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@29 423420c4-83ab-492f-b58f-81f9feb106b5
2001-09-14 13:51:38 +00:00
Matt Chapman
b5082af223 Merges from pl19-6-5.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@27 423420c4-83ab-492f-b58f-81f9feb106b5
2001-06-20 13:54:48 +00:00
Matt Chapman
75717d8ab6 Changed indentation style (-psl).
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@24 423420c4-83ab-492f-b58f-81f9feb106b5
2001-01-06 03:47:04 +00:00
Matt Chapman
b9613445f9 ran indent (-bli0 -i8 -cli8 -npcs -npsl)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@23 423420c4-83ab-492f-b58f-81f9feb106b5
2001-01-06 03:12:10 +00:00
Matt Chapman
cd9b5a8761 Major commit of work from laptop - done in various free moments.
Implemented encryption layer and some basic licensing negotiation.
Reorganised code somewhat. While this is not quite as clean, it is
a lot faster - our parser speed was becoming a bottle-neck.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@9 423420c4-83ab-492f-b58f-81f9feb106b5
2000-08-15 10:23:24 +00:00