[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]
W2K connects
- To: rdesktop@xxxxxxxx
- Subject: W2K connects
- From: <peter@xxxxxxxxxxxxxx>
- Date: Tue, 28 Nov 2000 16:26:37 +1100 (EST)
- Delivered-To: mailing list rdesktop@cifs.org
- Mailing-List: contact rdesktop-help@cifs.org; run by ezmlm
Good afternoon,
I have been hacking the protocol for about a week now and I have
managed to get rdesktop to connect to a windows 2000 box. To get it to
connect, just add 4 to the caplen variable in the rdp_send_confirm_active
function in rdp.c.
But I am now very much stuck.
It appears that Windows 2000 is not sending the 0x1b order type
(drawtext). But is sending 0x13.
This is what windows 2000 sends rdesktop:
0000 09 13 ff 7a 07 00 03 ff 00 00 04 00 00 c4 00 6f ...z...........o
0010 00 2e 01 7c 00 0f 00 00 80 00 80 7a 00 1f 00 00 ...|.......z....
0020 01 06 02 07 04 0a 05 08 06 0a 01 05 07 0a 08 0b ................
0030 05 03 09 07 01 07 0a 07 0b 09 ff 00 ............
and this is what it sends another client:
19 1b fb 03 38 07 03 01 ff 00 00 04 00 00 74 00 : ....8.........t.
47 00 de 00 54 00 74 00 52 00 1f 00 00 01 06 02 : G...T.t.R.......
07 04 0a 05 08 06 0a 01 05 07 0a 08 0b 05 03 09 : ................
07 01 07 0a 07 0b 09 ff 00 i : .........
if you analyse the packets, they look very similar, but different enough
to cause rdesktop to not work properly. I have tried looking for a
description of the order 0x1b, but I have not found anything yet. Maybe
someone else will be able to solve this puzzle now we are able to connect
to windows 2000.
Keep up the good work
Peter Hartshorn