+2000-02-28 Ken Raeburn <raeburn@mit.edu>
+
+ * configure.in: Add enable-kdc-replay-cache arg, to make usage
+ message more complete.
+
2000-02-28 Ezra Peisach <epeisach@mit.edu>
* aclocal.m4: Define DES425_LIB and DES425_DEPLIB all the time. We
dnl
dnl The following lines are so that configure --help gives some global
dnl configuration options.
+dnl
+AC_ARG_ENABLE([kdc-replay-cache],
+[ --enable-kdc-replay-cache check for replayed/retransmitted KDC requests
+ (recommended for replay attack detection
+ when hardware preauthentication is in use)
+ --disable-kdc-replay-cache omit replay detection])dnl
KRB5_LIB_AUX
AC_KRB5_TCL
AC_ARG_ENABLE([athena],
+2000-02-28 Ken Raeburn <raeburn@mit.edu>
+
+ * configure.in: New enable-kdc-replay-cache arg. Define
+ USE_RCACHE when enabled, NOCACHE when disabled. Defaults to
+ enabled.
+ * Makefile.in (DEFINES): Don't define NOCACHE any more.
+
2000-02-25 Tom Yu <tlyu@mit.edu>
* configure.in: Check for sys/sockio.h
# -DNOCACHE - disable lookaside cache, which is used to resend previous
# response to replay (i.e., *don't* define this if you
# define USE_RCACHE)
-DEFINES = -DNOCACHE
+# These are now set in configure.in.
+DEFINES = # -DNOCACHE
RUN_SETUP = @KRB5_RUN_ENV@
PROG_LIBPATH=-L$(TOPLIBD) $(KRB4_LIBPATH)
PROG_RPATH=$(KRB5_LIBDIR)
includes 32-bit length codings],
[AC_DEFINE(ATHENA_DES3_KLUDGE)],)
dnl
+dnl Needed for hw-preauth replay detection on KDC.
+dnl
+dnl USE_RCACHE enables the replay cache
+dnl NOCACHE disables the lookaside cache
+dnl
+dnl The lookaside cache is checked first; if *exactly* the same message
+dnl comes in twice, e.g., because the (legitimate) client resent it,
+dnl the previous response will be resent. Otherwise, the replay cache
+dnl is used to check for attempts to fake out the KDC. Some hardware
+dnl preauth methods are weak enough that we *really* want to have this
+dnl checking turned on.
+dnl
+AC_ARG_ENABLE([kdc-replay-cache],
+[ --enable-kdc-replay-cache check for replayed/retransmitted KDC requests
+ (recommended for replay attack detection
+ when hardware preauthentication is in use)
+ --disable-kdc-replay-cache omit replay detection],
+enableval=yes)dnl
+if test "$enableval" = yes ; then
+ AC_DEFINE(USE_RCACHE)
+else
+ AC_DEFINE(NOCACHE)
+fi
+dnl
dnl
KRB5_RUN_FLAGS
KRB5_BUILD_PROGRAM