diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2013-10-02 16:27:12 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2013-10-02 16:27:12 -0700 |
commit | 25369460a1b2f204d03a6bc4821251d7ef2d7adf (patch) | |
tree | d0c1ad0dac826abfa34c15e4b9b06dc76f2352c6 /xup | |
parent | 7176f1464710fd809af92ae3c2fcf9412eda9ace (diff) | |
download | xrdp-proprietary-25369460a1b2f204d03a6bc4821251d7ef2d7adf.tar.gz xrdp-proprietary-25369460a1b2f204d03a6bc4821251d7ef2d7adf.zip |
log client ip with pid, etc
Diffstat (limited to 'xup')
-rw-r--r-- | xup/xup.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -149,8 +149,12 @@ lib_mod_log_peer(struct mod *mod) my_pid = g_getpid(); if (g_sck_get_peer_cred(mod->sck, &pid, &uid, &gid) == 0) { - log_message(LOG_LEVEL_INFO, "lib_mod_log_peer: xrdp pid %d connected " - "to X11rdp pid %d", my_pid, pid); + log_message(LOG_LEVEL_INFO, "lib_mod_log_peer: xrdp_pid=%d connected " + "to X11rdp_pid=%d X11rdp_uid=%d X11rdp_gid=%d " + "client_ip=%s client_port=%s", + my_pid, pid, uid, gid, + mod->client_info.client_addr, + mod->client_info.client_port); } else { |