[krbdev.mit.edu #7770] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Tue Nov 26 12:12:47 EST 2013


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 <ghudson at mit.edu>
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(-)



More information about the krb5-bugs mailing list