summaryrefslogtreecommitdiffstats
path: root/src/appl/bsd/ChangeLog
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2003-01-01 10:13:20 +0000
committerKen Raeburn <raeburn@mit.edu>2003-01-01 10:13:20 +0000
commit0ec2f8bdb674e49958b0d2b9268d1bb12e533b66 (patch)
treef965b62e29c65349a17c157c9a899a365ead12f0 /src/appl/bsd/ChangeLog
parent6c6e5d5ca2f4283cbf597e8a063fe3fcd46d90b4 (diff)
downloadkrb5-0ec2f8bdb674e49958b0d2b9268d1bb12e533b66.tar.gz
krb5-0ec2f8bdb674e49958b0d2b9268d1bb12e533b66.tar.xz
krb5-0ec2f8bdb674e49958b0d2b9268d1bb12e533b66.zip
Add IPv6 support to rshd test/debug code:
* compat_recv.c: Include sys/select.h and port-sockets.h. (krb5_compat_recvauth_version): Only attempt krb4 authentication if the source address is an IPv4 one. (accept_a_connection): New function, derived from old krshd.c. Listen on IPv6 as well as IPv4, if possible. * krshd.c (main): Call accept_a_connection. Change fromlen to a socklen_t. (doit): Initialize s. Change length passed to getsockname to a socklen_t. (recvauth): Change len to socklen_t. Cast peer IPv4 address before calling krb5_compat_recvauth_version. * defines.h: Include port-sockets.h. (accept_a_connection): Declare. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15075 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/bsd/ChangeLog')
-rw-r--r--src/appl/bsd/ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog
index 34b9b53611..9eba96dc42 100644
--- a/src/appl/bsd/ChangeLog
+++ b/src/appl/bsd/ChangeLog
@@ -1,3 +1,19 @@
+2003-01-01 Ken Raeburn <raeburn@mit.edu>
+
+ * compat_recv.c: Include sys/select.h and port-sockets.h.
+ (krb5_compat_recvauth_version): Only attempt krb4 authentication
+ if the source address is an IPv4 one.
+ (accept_a_connection): New function, derived from old krshd.c.
+ Listen on IPv6 as well as IPv4, if possible.
+ * krshd.c (main): Call accept_a_connection. Change fromlen to a
+ socklen_t.
+ (doit): Initialize s. Change length passed to getsockname to a
+ socklen_t.
+ (recvauth): Change len to socklen_t. Cast peer IPv4 address
+ before calling krb5_compat_recvauth_version.
+ * defines.h: Include port-sockets.h.
+ (accept_a_connection): Declare.
+
2002-12-06 Ezra Peisach <epeisach@bu.edu>
* configure.in: Quote the argument to AC_CHECK_HEADER. Autoconf