TLS: log client port in addition to ssl protocol and cipher

master
Koichiro IWAO 8 years ago
parent c89c1318f8
commit f29a98b243

@ -834,17 +834,19 @@ xrdp_rdp_incoming(struct xrdp_rdp *self)
if (iso->selectedProtocol > PROTOCOL_RDP) if (iso->selectedProtocol > PROTOCOL_RDP)
{ {
log_message(LOG_LEVEL_INFO, log_message(LOG_LEVEL_INFO,
"TLS connection established from %s: %s with cipher %s", "TLS connection established from %s port %s: %s with cipher %s",
self->client_info.client_addr, self->client_info.client_addr,
self->client_info.client_port,
iso->trans->ssl_protocol, iso->trans->ssl_protocol,
iso->trans->cipher_name); iso->trans->cipher_name);
} }
else else
{ {
log_message(LOG_LEVEL_INFO, log_message(LOG_LEVEL_INFO,
"Non-TLS connection established from %s: " "Non-TLS connection established from %s port %s: "
"encrypted with standard RDP security", "encrypted with standard RDP security",
self->client_info.client_addr); self->client_info.client_addr,
self->client_info.client_port);
} }
return 0; return 0;

Loading…
Cancel
Save