diff --git a/libxrdp/xrdp_rdp.c b/libxrdp/xrdp_rdp.c index a66b6d0d..7a13ecd2 100644 --- a/libxrdp/xrdp_rdp.c +++ b/libxrdp/xrdp_rdp.c @@ -830,6 +830,7 @@ xrdp_rdp_incoming(struct xrdp_rdp *self) /* log TLS version and cipher when TLS is used */ /* TODO: client_addr, client_port is empty when IPv6 enabled */ + if (iso->selectedProtocol > PROTOCOL_RDP) { log_message(LOG_LEVEL_INFO, @@ -838,6 +839,13 @@ xrdp_rdp_incoming(struct xrdp_rdp *self) iso->trans->ssl_protocol, iso->trans->cipher_name); } + else + { + log_message(LOG_LEVEL_INFO, + "Non-TLS connection established from %s: " + "encrypted with standard RDP security", + self->client_info.client_addr); + } return 0; }