From: | raeburn@mit.edu |
Subject: | SVN Commit |
When using my previous patch, if a local hostname like "foobar.local"
is looked up, you may get back a link-local IPv6 address. However,
the KDC seems to be unable to respond from that address, resulting in
a ~1s delay for each KDC exchange while waiting for the client to fail
over to another address (in my case, another IPv6 address).
Create a new object for holding whatever auxiliary information might
be needed to properly transmit the response to the client. Currently,
that only means the interface index number under IPv6. Fill it in on
receipt, always; copy it back to the pktinfo structure when
transmitting, ONLY if the local source address is link-local.
If an error occurs while transmitting the reply, print both the remote
destination address and the local source address. Use getnameinfo
instead of inet_ntop.
Apply the same changes to kadmind, to keep the versions of network.c
more or less in sync.
https://github.com/krb5/krb5/commit/eba0ec199690e944da56f1398a9ab407f95af0d5
Commit By: raeburn
Revision: 23440
Changed Files:
U trunk/src/kadmin/server/network.c
U trunk/src/kdc/network.c