Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) From: ghudson@mit.edu Subject: git commit RT-Send-CC: X-RT-Original-Encoding: iso-8859-1 Content-Length: 1045 Correctly log IPv6 addresses in kadmind Define client_addr() in server_stubs.c and use it consistently in that file and ipropd_svc.c to get the client address from a transport handle. In it, call getpeername() on the client socket and use inet_ntop() on the result, instead of using inet_ntoa() on the IPv4 socket address. Provide a log_badauth2 callback to GSSRPC, so that we get a transport handle instead of an IPv4 socket address, and use client_addr() within it instead of inet_ntoa(). https://github.com/krb5/krb5/commit/5384f45e728957da20ecf82d8cf567945a2bbf6e Author: Greg Hudson Commit: 5384f45e728957da20ecf82d8cf567945a2bbf6e Branch: master src/kadmin/server/ipropd_svc.c | 22 +++++++--------------- src/kadmin/server/kadm_rpc_svc.c | 18 ++++++------------ src/kadmin/server/misc.h | 9 +++------ src/kadmin/server/ovsec_kadmd.c | 29 ++++++++++------------------- src/kadmin/server/server_stubs.c | 30 ++++++++++++++++++++++++------ 5 files changed, 50 insertions(+), 58 deletions(-)