Commit Graph

77 Commits

Author SHA1 Message Date
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