summaryrefslogtreecommitdiffstats
path: root/src/kdc/ChangeLog
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2000-02-25 20:46:35 +0000
committerKen Raeburn <raeburn@mit.edu>2000-02-25 20:46:35 +0000
commitd2e5db39ff65837c07cdbf5b2669455667678bfb (patch)
treefdbbeb6480342010de5465950a4c0415e1b4d253 /src/kdc/ChangeLog
parent8d1ebc57fdcdc8da25aa3e96b90b0c6c8daebccb (diff)
Patches from Alec Peterson, plus some work of my own, to let a multihomed
KDC respond to requests from the same IP address that the requests were sent to. **N.B. This will perform worse in the case of addresses dynamically added and removed after the KDC has started, since it will be incapable of using any new addresses. I'm unclear on why the loopback interface address needs to be included in the list of addresses. Apparently, on NetBSD-current, if it's not, packets sent to other local addresses but over the loopback interface are queued but not received?? Needs further investigation; could just be a NetBSD bug. * configure.in: Invoke KRB5_SOCKADDR_SA_LEN. * network.c: Include <sys/ioctl.h>, <syslog.h>, <net/if.h>. (foreach_localaddr): New function, copied from lib/krb5/os/localaddr.c. Tweaked to not exclude loopback interface. (NEED_SOCKETS): Define before including k5-int.h. (n_sockets): New variable. (setup_port): New function; creates listening udp ports given an address. (setup_network): Call foreach_localaddr to set up listening sockets on each local address, so we can always respond from the receiving address. (listen_and_process): Use n_sockets as upper bound of loop. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12070 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kdc/ChangeLog')
-rw-r--r--src/kdc/ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog
index 11bee1b88..30aea06b7 100644
--- a/src/kdc/ChangeLog
+++ b/src/kdc/ChangeLog
@@ -1,3 +1,21 @@
+2000-02-25 Ken Raeburn <raeburn@mit.edu>
+ Alec H. Peterson <ahp@hilander.com>
+
+ * configure.in: Invoke KRB5_SOCKADDR_SA_LEN.
+
+ * network.c: Include <sys/ioctl.h>, <syslog.h>, <net/if.h>.
+ (foreach_localaddr): New function, copied from
+ lib/krb5/os/localaddr.c. Tweaked to not exclude loopback
+ interface.
+ (NEED_SOCKETS): Define before including k5-int.h.
+ (n_sockets): New variable.
+ (setup_port): New function; creates listening udp ports given an
+ address.
+ (setup_network): Call foreach_localaddr to set up listening
+ sockets on each local address, so we can always respond from the
+ receiving address.
+ (listen_and_process): Use n_sockets as upper bound of loop.
+
2000-02-24 Ken Raeburn <raeburn@mit.edu>
* kerberos_v4.c (v4_klog): Don't treat the formatted text as a