aboutsummaryrefslogtreecommitdiff
path: root/doc/basic
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2019-05-14 12:13:35 -0400
committerGreg Hudson <ghudson@mit.edu>2019-05-31 12:05:10 -0400
commit12117dbc61639ff3fb510f2feb2de8c41dd2bd23 (patch)
treef1dac8ddad77ab89aa2ae24de9cf046668da2e59 /doc/basic
parentf8bd89e4a87a758d74897e483cdc3049b5564240 (diff)
downloadkrb5-12117dbc61639ff3fb510f2feb2de8c41dd2bd23.zip
krb5-12117dbc61639ff3fb510f2feb2de8c41dd2bd23.tar.gz
krb5-12117dbc61639ff3fb510f2feb2de8c41dd2bd23.tar.bz2
Add file2 rcache type
Add a new replay cache type using a hash-based file format. ticket: 8786
Diffstat (limited to 'doc/basic')
-rw-r--r--doc/basic/rcache_def.rst24
1 files changed, 17 insertions, 7 deletions
diff --git a/doc/basic/rcache_def.rst b/doc/basic/rcache_def.rst
index 2de9533..56d369d 100644
--- a/doc/basic/rcache_def.rst
+++ b/doc/basic/rcache_def.rst
@@ -9,7 +9,7 @@ request is detected in the replay cache, an error message is sent to
the application program.
The replay cache interface, like the credential cache and
-:ref:`keytab_definition` interfaces, uses `type:value` strings to
+:ref:`keytab_definition` interfaces, uses `type:residual` strings to
indicate the type of replay cache and any associated cache naming
data to use.
@@ -57,17 +57,27 @@ additional messages), or if the simple act of presenting the
authenticator triggers some interesting action in the service being
attacked.
-Default rcache type
--------------------
+Replay cache types
+------------------
+
+Unlike the credential cache and keytab interfaces, replay cache types
+are in lowercase. The following types are defined:
+
+#. **none** disables the replay cache. The residual value is ignored.
+
+#. **file2** (new in release 1.18) uses a hash-based format to store
+ replay records. The file may grow to accomodate hash collisions.
+ The residual value is the filename.
-There is currently only one implemented kind of replay cache, called
-**dfl**. It stores replay data in one file, occasionally rewriting it
-to purge old, expired entries.
+#. **dfl** is the default type if no environment variable or
+ configuration specifies a different type. It stores replay data in
+ a file, occasionally rewriting it to purge old, expired entries.
The default type can be overridden by the **KRB5RCACHETYPE**
environment variable.
-The placement of the replay cache file is determined by the following:
+For the dfl type, the placement of the replay cache file is determined
+by the following:
#. The **KRB5RCACHEDIR** environment variable;