diff options
author | Koichiro IWAO <meta@vmeta.jp> | 2017-01-13 17:59:29 +0900 |
---|---|---|
committer | Koichiro IWAO <meta@vmeta.jp> | 2017-01-13 17:59:29 +0900 |
commit | f29a98b2439ac391fc93b7b3aaced4dd2159bae2 (patch) | |
tree | ae4d6dbd0c52dedbb42186e7c279a5074b41f54f /libxrdp/xrdp_rdp.c | |
parent | c89c1318f869a18d83cf418be61294e4c740861e (diff) | |
download | xrdp-proprietary-f29a98b2439ac391fc93b7b3aaced4dd2159bae2.tar.gz xrdp-proprietary-f29a98b2439ac391fc93b7b3aaced4dd2159bae2.zip |
TLS: log client port in addition to ssl protocol and cipher
Diffstat (limited to 'libxrdp/xrdp_rdp.c')
-rw-r--r-- | libxrdp/xrdp_rdp.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libxrdp/xrdp_rdp.c b/libxrdp/xrdp_rdp.c index 7a13ecd2..1520cb37 100644 --- a/libxrdp/xrdp_rdp.c +++ b/libxrdp/xrdp_rdp.c @@ -834,17 +834,19 @@ xrdp_rdp_incoming(struct xrdp_rdp *self) if (iso->selectedProtocol > PROTOCOL_RDP) { 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_port, iso->trans->ssl_protocol, iso->trans->cipher_name); } else { log_message(LOG_LEVEL_INFO, - "Non-TLS connection established from %s: " + "Non-TLS connection established from %s port %s: " "encrypted with standard RDP security", - self->client_info.client_addr); + self->client_info.client_addr, + self->client_info.client_port); } return 0; |