rdpsrv
14 years agoDecode mouse events, try to send RDP4 bitmap updates back (?).
Steinar H. Gunderson [Sun, 6 Feb 2005 02:27:46 +0000 (02:27 +0000)]
Decode mouse events, try to send RDP4 bitmap updates back (?).

14 years agoFix encryption, client connects!!
Steinar H. Gunderson [Sun, 6 Feb 2005 02:12:18 +0000 (02:12 +0000)]
Fix encryption, client connects!!

14 years agoLots of changes: Fix Valgrind hits, send RESULT on license, try to send (encrypted...
Steinar H. Gunderson [Sun, 6 Feb 2005 01:35:18 +0000 (01:35 +0000)]
Lots of changes: Fix Valgrind hits, send RESULT on license, try to send (encrypted) DEMAND_ACTIVE again.

14 years agoProcess presented licenses, and generate RC4 keys.
Steinar H. Gunderson [Sun, 6 Feb 2005 00:08:41 +0000 (00:08 +0000)]
Process presented licenses, and generate RC4 keys.

14 years agoDemand a license instead of activity, Microsoft seems to provide that :-)
Steinar H. Gunderson [Sat, 5 Feb 2005 23:28:38 +0000 (23:28 +0000)]
Demand a license instead of activity, Microsoft seems to provide that :-)

14 years agoTry to demand activity from the client on logon.
Steinar H. Gunderson [Sat, 5 Feb 2005 21:39:37 +0000 (21:39 +0000)]
Try to demand activity from the client on logon.

14 years agoGo to 40-bit encryption, and ignore junk at end of logon packets. This makes us under...
Steinar H. Gunderson [Sat, 5 Feb 2005 21:08:21 +0000 (21:08 +0000)]
Go to 40-bit encryption, and ignore junk at end of logon packets. This makes us understand mstsc's logon packets!

14 years agoSwap encrypt/decrypt (makes encryption with rdesktop work)
Steinar H. Gunderson [Sat, 5 Feb 2005 20:53:14 +0000 (20:53 +0000)]
Swap encrypt/decrypt (makes encryption with rdesktop work)

14 years agoGenerate the encryption and decryption keys!
Steinar H. Gunderson [Sat, 5 Feb 2005 20:50:51 +0000 (20:50 +0000)]
Generate the encryption and decryption keys!

14 years agoDecrypt the client random (although not without Valgrind hits from OpenSSL...)
Steinar H. Gunderson [Sat, 5 Feb 2005 20:46:53 +0000 (20:46 +0000)]
Decrypt the client random (although not without Valgrind hits from OpenSSL...)

14 years agoAdd and load our private key.
Steinar H. Gunderson [Sat, 5 Feb 2005 20:25:10 +0000 (20:25 +0000)]
Add and load our private key.

14 years agoReceive the (encrypted) client random.
Steinar H. Gunderson [Sat, 5 Feb 2005 20:17:31 +0000 (20:17 +0000)]
Receive the (encrypted) client random.

14 years agoFix some CA lengths etc., and it accepts our cert!
Steinar H. Gunderson [Sat, 5 Feb 2005 20:06:57 +0000 (20:06 +0000)]
Fix some CA lengths etc., and it accepts our cert!

14 years agoSwitch from RDP4-style to X.509.
Steinar H. Gunderson [Sat, 5 Feb 2005 19:34:02 +0000 (19:34 +0000)]
Switch from RDP4-style to X.509.

14 years agoInclude an (invalid) SEC_TAG_KEYSIG, and fix reading of VNC clipboard.
Steinar H. Gunderson [Sat, 5 Feb 2005 18:38:57 +0000 (18:38 +0000)]
Include an (invalid) SEC_TAG_KEYSIG, and fix reading of VNC clipboard.

14 years agoFix some more lenghts.
Steinar H. Gunderson [Sat, 5 Feb 2005 15:33:25 +0000 (15:33 +0000)]
Fix some more lenghts.

14 years agoFill in some blanks on our crypto header. Change to tsstud again for protodiff.
Steinar H. Gunderson [Sat, 5 Feb 2005 15:14:21 +0000 (15:14 +0000)]
Fill in some blanks on our crypto header. Change to tsstud again for protodiff.

14 years agoBegin sending RDP4-style encryption stuff.
Steinar H. Gunderson [Sat, 5 Feb 2005 14:51:55 +0000 (14:51 +0000)]
Begin sending RDP4-style encryption stuff.

14 years agoFix another length.
Steinar H. Gunderson [Sat, 5 Feb 2005 03:36:53 +0000 (03:36 +0000)]
Fix another length.

14 years agoFix length for CJCF MCS packets.
Steinar H. Gunderson [Sat, 5 Feb 2005 03:31:49 +0000 (03:31 +0000)]
Fix length for CJCF MCS packets.

14 years agoFix lengths (mstsc gets further now!)
Steinar H. Gunderson [Sat, 5 Feb 2005 03:28:48 +0000 (03:28 +0000)]
Fix lengths (mstsc gets further now!)

14 years agoCache revision.
Steinar H. Gunderson [Sat, 5 Feb 2005 02:45:42 +0000 (02:45 +0000)]
Cache revision.

14 years agoVarious protocol changes to comply better with spec.
Steinar H. Gunderson [Sat, 5 Feb 2005 02:44:46 +0000 (02:44 +0000)]
Various protocol changes to comply better with spec.

14 years agoUse unsigned chars in protodiff.
Steinar H. Gunderson [Sat, 5 Feb 2005 00:58:43 +0000 (00:58 +0000)]
Use unsigned chars in protodiff.

14 years agoMoved port of rdpsrv to 3340 (for debugging with protodiff).
Steinar H. Gunderson [Sat, 5 Feb 2005 00:58:24 +0000 (00:58 +0000)]
Moved port of rdpsrv to 3340 (for debugging with protodiff).

14 years agoAdded "protodiff", a small tool for trying to diff the real and fake servers.
Steinar H. Gunderson [Sat, 5 Feb 2005 00:57:30 +0000 (00:57 +0000)]
Added "protodiff", a small tool for trying to diff the real and fake servers.

14 years agoRemoved Xserver/ directory, it does nothing useful ATM.
Steinar H. Gunderson [Sat, 5 Feb 2005 00:41:47 +0000 (00:41 +0000)]
Removed Xserver/ directory, it does nothing useful ATM.

14 years agoSupport RDP5 logon packets.
Steinar H. Gunderson [Sat, 5 Feb 2005 00:38:27 +0000 (00:38 +0000)]
Support RDP5 logon packets.

14 years agoTry to translate (very rudimentarily) RDP keycodes to VNC keysyms.
Steinar H. Gunderson [Sat, 5 Feb 2005 00:02:32 +0000 (00:02 +0000)]
Try to translate (very rudimentarily) RDP keycodes to VNC keysyms.

14 years agoValgrind fixes, re-request updates all the time.
Steinar H. Gunderson [Fri, 4 Feb 2005 17:44:05 +0000 (17:44 +0000)]
Valgrind fixes, re-request updates all the time.

14 years agoRemove an irritating debug message.
Steinar H. Gunderson [Fri, 4 Feb 2005 17:28:43 +0000 (17:28 +0000)]
Remove an irritating debug message.

14 years agoHandle bell. Minor hacks.
Steinar H. Gunderson [Fri, 4 Feb 2005 16:53:16 +0000 (16:53 +0000)]
Handle bell. Minor hacks.

14 years agoTry to send VNC pointer events on RDP input PDUs.
Steinar H. Gunderson [Fri, 4 Feb 2005 16:50:17 +0000 (16:50 +0000)]
Try to send VNC pointer events on RDP input PDUs.

14 years agoWe have picture!
Steinar H. Gunderson [Fri, 4 Feb 2005 16:44:22 +0000 (16:44 +0000)]
We have picture!

14 years agoVarious hacks to try to make stuff work (still failing).
Steinar H. Gunderson [Fri, 4 Feb 2005 16:31:10 +0000 (16:31 +0000)]
Various hacks to try to make stuff work (still failing).

14 years agoParse and send on client updates.
Steinar H. Gunderson [Fri, 4 Feb 2005 16:26:29 +0000 (16:26 +0000)]
Parse and send on client updates.

14 years agoSend encodings _correctly_ this time...
Steinar H. Gunderson [Fri, 4 Feb 2005 16:14:44 +0000 (16:14 +0000)]
Send encodings _correctly_ this time...

14 years agoUnderstand server name _correctly_ this time (we hope :-P), initial "parsing" of...
Steinar H. Gunderson [Fri, 4 Feb 2005 16:12:30 +0000 (16:12 +0000)]
Understand server name _correctly_ this time (we hope :-P), initial "parsing" of VNC server messages.

14 years agoselect() both the RDP and VNC sockets.
Steinar H. Gunderson [Fri, 4 Feb 2005 16:09:37 +0000 (16:09 +0000)]
select() both the RDP and VNC sockets.

14 years agoEndianness fixes. Sets encoding. Requests entire area.
Steinar H. Gunderson [Fri, 4 Feb 2005 16:03:48 +0000 (16:03 +0000)]
Endianness fixes. Sets encoding. Requests entire area.

14 years agoBasic connection to VNC added (read width and height, mostly).
Steinar H. Gunderson [Fri, 4 Feb 2005 15:58:59 +0000 (15:58 +0000)]
Basic connection to VNC added (read width and height, mostly).

14 years agoGive up X server for now, connect to VNC on localhost instead.
Steinar H. Gunderson [Fri, 4 Feb 2005 15:49:23 +0000 (15:49 +0000)]
Give up X server for now, connect to VNC on localhost instead.

14 years agoRemove RFB dependencies from X server (crashes, though).
Steinar H. Gunderson [Fri, 4 Feb 2005 15:32:40 +0000 (15:32 +0000)]
Remove RFB dependencies from X server (crashes, though).

14 years agoImport X server from vnc-3.3.7.
Steinar H. Gunderson [Fri, 4 Feb 2005 14:48:36 +0000 (14:48 +0000)]
Import X server from vnc-3.3.7.

14 years agoParse some input PDUs, and change bitmap outputs to follow the mouse.
Steinar H. Gunderson [Fri, 4 Feb 2005 13:01:14 +0000 (13:01 +0000)]
Parse some input PDUs, and change bitmap outputs to follow the mouse.

14 years agoFix rdp_recv_input() wrt. pointer misuse.
Steinar H. Gunderson [Fri, 4 Feb 2005 12:51:35 +0000 (12:51 +0000)]
Fix rdp_recv_input() wrt. pointer misuse.

14 years agoCache revision 31.
Steinar H. Gunderson [Fri, 4 Feb 2005 12:47:03 +0000 (12:47 +0000)]
Cache revision 31.

14 years agoParse MCS_TAG_DOMAIN_PARAMS if the length is right.
Steinar H. Gunderson [Fri, 4 Feb 2005 02:29:41 +0000 (02:29 +0000)]
Parse MCS_TAG_DOMAIN_PARAMS if the length is right.

14 years agoVarious changes to try to work better with MS RDC (no big luck)
Steinar H. Gunderson [Fri, 4 Feb 2005 02:20:01 +0000 (02:20 +0000)]
Various changes to try to work better with MS RDC (no big luck)

14 years agoMake the bitmap updates _slightly_ more interesting.
Steinar H. Gunderson [Fri, 4 Feb 2005 01:55:37 +0000 (01:55 +0000)]
Make the bitmap updates _slightly_ more interesting.

14 years agoSend SDIN and not SDRQ, and we can send bitmap updates!
Steinar H. Gunderson [Fri, 4 Feb 2005 01:52:18 +0000 (01:52 +0000)]
Send SDIN and not SDRQ, and we can send bitmap updates!

14 years agoAdd function for sending bitmap updates (not working yet :-/)
Steinar H. Gunderson [Fri, 4 Feb 2005 01:44:38 +0000 (01:44 +0000)]
Add function for sending bitmap updates (not working yet :-/)

14 years agoBarely recognize some RDP data PDUs.
Steinar H. Gunderson [Fri, 4 Feb 2005 01:32:03 +0000 (01:32 +0000)]
Barely recognize some RDP data PDUs.

14 years agoHandle RDP4-style logon packets.
Steinar H. Gunderson [Fri, 4 Feb 2005 01:28:06 +0000 (01:28 +0000)]
Handle RDP4-style logon packets.

14 years agoChange RDP version to v1, to get simpler login packets. Notice login packets.
Steinar H. Gunderson [Fri, 4 Feb 2005 01:19:57 +0000 (01:19 +0000)]
Change RDP version to v1, to get simpler login packets. Notice login packets.

14 years agoPull in rdp.c from rdesktop, use rdp_recv().
Steinar H. Gunderson [Fri, 4 Feb 2005 01:07:04 +0000 (01:07 +0000)]
Pull in rdp.c from rdesktop, use rdp_recv().

14 years agoChange SDIN -> SDRQ, and we can keep a connection up!
Steinar H. Gunderson [Fri, 4 Feb 2005 00:52:30 +0000 (00:52 +0000)]
Change SDIN -> SDRQ, and we can keep a connection up!

14 years agoSupport CJrq/CJcf.
Steinar H. Gunderson [Fri, 4 Feb 2005 00:30:28 +0000 (00:30 +0000)]
Support CJrq/CJcf.

14 years agoHandle AUrq/AUcf, and fix a type error.
Steinar H. Gunderson [Fri, 4 Feb 2005 00:18:25 +0000 (00:18 +0000)]
Handle AUrq/AUcf, and fix a type error.

14 years agoHandle EDrq from client.
Steinar H. Gunderson [Fri, 4 Feb 2005 00:12:56 +0000 (00:12 +0000)]
Handle EDrq from client.

14 years agoCheck return value of mcs_recv_connect_initial().
Steinar H. Gunderson [Thu, 3 Feb 2005 23:59:06 +0000 (23:59 +0000)]
Check return value of mcs_recv_connect_initial().

14 years agoSend MCS_CONNECT_RESPONSE (but correct?)
Steinar H. Gunderson [Thu, 3 Feb 2005 23:57:22 +0000 (23:57 +0000)]
Send MCS_CONNECT_RESPONSE (but correct?)

14 years agoFirst implementation of MCS_CONNECT_RESPONSE (send error for now)
Steinar H. Gunderson [Thu, 3 Feb 2005 23:42:56 +0000 (23:42 +0000)]
First implementation of MCS_CONNECT_RESPONSE (send error for now)

14 years agoHandle MCS_CONNECT_INITIAL.
Steinar H. Gunderson [Thu, 3 Feb 2005 23:29:40 +0000 (23:29 +0000)]
Handle MCS_CONNECT_INITIAL.

14 years agoFurther fix CC sending (?)
Steinar H. Gunderson [Thu, 3 Feb 2005 23:16:12 +0000 (23:16 +0000)]
Further fix CC sending (?)

14 years agoFix CC sending.
Steinar H. Gunderson [Thu, 3 Feb 2005 23:12:56 +0000 (23:12 +0000)]
Fix CC sending.

14 years agoExit on error.
Steinar H. Gunderson [Thu, 3 Feb 2005 23:11:04 +0000 (23:11 +0000)]
Exit on error.

14 years agoAttempt to send an CC back (but fail?)
Steinar H. Gunderson [Thu, 3 Feb 2005 23:10:33 +0000 (23:10 +0000)]
Attempt to send an CC back (but fail?)

14 years agoAccept ISO CR.
Steinar H. Gunderson [Thu, 3 Feb 2005 23:05:24 +0000 (23:05 +0000)]
Accept ISO CR.

14 years agoRemove buffer we don't need.
Steinar H. Gunderson [Thu, 3 Feb 2005 22:56:59 +0000 (22:56 +0000)]
Remove buffer we don't need.

14 years agoMoved socket functions around a bit.
Steinar H. Gunderson [Thu, 3 Feb 2005 22:52:47 +0000 (22:52 +0000)]
Moved socket functions around a bit.

14 years agoEven more imports. Link to OpenSSL.
Steinar H. Gunderson [Thu, 3 Feb 2005 22:46:49 +0000 (22:46 +0000)]
Even more imports. Link to OpenSSL.

14 years agoSet CC and CFLAGS.
Steinar H. Gunderson [Thu, 3 Feb 2005 22:36:21 +0000 (22:36 +0000)]
Set CC and CFLAGS.

14 years agoPull in even more rdesktop source.
Steinar H. Gunderson [Thu, 3 Feb 2005 22:36:06 +0000 (22:36 +0000)]
Pull in even more rdesktop source.

14 years agoPull in lots of protocol stuff from rdesktop.
Steinar H. Gunderson [Thu, 3 Feb 2005 22:35:45 +0000 (22:35 +0000)]
Pull in lots of protocol stuff from rdesktop.

14 years agoAdd Makefile. (bah)
Steinar H. Gunderson [Thu, 3 Feb 2005 22:24:22 +0000 (22:24 +0000)]
Add Makefile. (bah)

14 years agoActually include rdpsrv.cpp as well :-)
Steinar H. Gunderson [Thu, 3 Feb 2005 22:24:12 +0000 (22:24 +0000)]
Actually include rdpsrv.cpp as well :-)

14 years agoOpen a server socket and accept clients. Absolutely no RDP parts implemented.
Steinar H. Gunderson [Thu, 3 Feb 2005 22:23:57 +0000 (22:23 +0000)]
Open a server socket and accept clients. Absolutely no RDP parts implemented.

14 years agoinitial import
Steinar H. Gunderson [Thu, 3 Feb 2005 22:14:24 +0000 (22:14 +0000)]
initial import

(automatically generated log message)