From: Steinar H. Gunderson Date: Sat, 5 Feb 2005 21:39:37 +0000 (+0000) Subject: Try to demand activity from the client on logon. X-Git-Url: https://git.sesse.net/?p=rdpsrv;a=commitdiff_plain;h=7ca0c329125614fd191db809987a364a7538bcaa Try to demand activity from the client on logon. --- diff --git a/secure.c b/secure.c index 3d0a42c..4134775 100644 --- a/secure.c +++ b/secure.c @@ -763,6 +763,21 @@ sec_recv(void) { printf("Received logon packet!\n"); rdp_get_logon_info(s); + + // demand activity + { + STREAM s; + + s = sec_init(g_encryption ? SEC_ENCRYPT : 0, 10); + out_uint16_le(s, 10); + out_uint16_le(s, (RDP_PDU_DEMAND_ACTIVE | 0x10)); + out_uint16_le(s, 1001); + + out_uint32_le(s, 0x103ea); + s_mark_end(s); + sec_send(s, g_encryption ? SEC_ENCRYPT : 0); + } + continue; }