From 02cd424d182ed0d68338061e90e1cd3ec59b2a69 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Tue, 6 Feb 2018 20:12:53 -0800 Subject: [PATCH] GUACAMOLE-502: Do not send connection name / hostname (which may be internal information). --- src/protocols/rdp/rdp.c | 3 --- src/protocols/vnc/vnc.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/protocols/rdp/rdp.c b/src/protocols/rdp/rdp.c index 6bba4574..45082bb0 100644 --- a/src/protocols/rdp/rdp.c +++ b/src/protocols/rdp/rdp.c @@ -715,9 +715,6 @@ static int guac_rdp_handle_connection(guac_client* client) { rdp_client->keyboard = guac_rdp_keyboard_alloc(client, settings->server_layout); - /* Send connection name */ - guac_protocol_send_name(client->socket, settings->hostname); - /* Set default pointer */ guac_common_cursor_set_pointer(rdp_client->display->cursor); diff --git a/src/protocols/vnc/vnc.c b/src/protocols/vnc/vnc.c index 8304b093..db1e2180 100644 --- a/src/protocols/vnc/vnc.c +++ b/src/protocols/vnc/vnc.c @@ -312,9 +312,6 @@ void* guac_vnc_client_thread(void* data) { settings->recording_include_keys); } - /* Send name */ - guac_protocol_send_name(client->socket, rfb_client->desktopName); - /* Create display */ vnc_client->display = guac_common_display_alloc(client, rfb_client->width, rfb_client->height);