Debian Codegraph @

doc/contrib/mod_tls_fscache.html

raw symbols SCIP
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>ProFTPD module mod_tls_fscache</title>
5 </head>
6
7 <body bgcolor=white>
8
9 <hr>
10 <center>
11 <h2><b>ProFTPD module <code>mod_tls_fscache</code></b></h2>
12 </center>
13 <hr>
14
15 <p>
16 The <code>mod_tls_fscache</code> submodule is contained in the
17 <code>mod_tls_fscache.c</code> file, and is not compiled by default.
18 Installation instructions are discussed <a href="#Installation">here</a>.
19
20 <p>
21 This submodule a filesystem-based implementation of an external OCSP response
22 cache for use by the <code>mod_tls</code> module's
23 <a href="mod_tls.html#TLStaplingCache"><code>TLSStaplingCache</code></a>
24 directive.
25
26 <p>
27 This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/).
28
29 <p>
30 This product includes cryptographic software written by Eric Young ([email protected]).
31
32 <h2>Author</h2>
33 <p>
34 Please contact TJ Saunders &lt;tj <i>at</i> castaglia.org&gt; with any
35 questions, concerns, or suggestions regarding this module.
36
37 <p>
38 The <code>mod_tls_fscache</code> module supports the &quot;fs&quot; string for
39 the <em>type</em> parameter of the
40 <a href="mod_tls.html#TLSStaplingCache"><code>TLStaplingCache</code></a>
41 configuration directive. The <em>info</em> parameter for
42 <code>mod_tls_fscache</code> must be the path to a directory, on disk,
43 in which <code>mod_tls_fscache</code> will store OCSP responses. This means
44 that the <code>TLSStaplingCache</code> setting will look like:
45 <pre>
46 TLSStaplingCache fs:/path=/var/ftpd/ocsp
47 </pre>
48
49 <p>
50 <b>Logging</b><br>
51 The <code>mod_tls_fscache</code> module supports <a href="../howto/Tracing.html">trace logging</a>, via the module-specific log channels:
52 <ul>
53 <li>tls.fscache
54 </ul>
55 Thus for trace logging, to aid in debugging, you would use the following in
56 your <code>proftpd.conf</code>:
57 <pre>
58 TraceLog /path/to/ftpd/trace.log
59 Trace tls.fscache:20
60 </pre>
61 This trace logging can generate large files; it is intended for debugging use
62 only, and should be removed from any production configuration.
63
64 <p>
65 <hr>
66 <h2><a name="Installation">Installation</a></h2>
67 The <code>mod_tls_fscache</code> module is distributed with the ProFTPD
68 source code. Simply follow the normal steps for using third-party modules
69 in ProFTPD, being sure to include the <code>mod_tls</code> module (on which
70 <code>mod_tls_fscache</code> depends):
71 <pre>
72 $ ./configure --with-modules=mod_tls:mod_tls_fscache
73 $ make
74 $ make install
75 </pre>
76
77 <p>
78 Alternatively, if your <code>proftpd</code> was compiled with DSO support, you
79 can use the <code>prxs</code> tool to build <code>mod_tls_fscache</code> as
80 a shared module:
81 <pre>
82 $ prxs -c -i -d mod_tls_fscache.c
83 </pre>
84
85 <p>
86 <hr>
87 <font size=2><b><i>
88 &copy; Copyright 2015 TJ Saunders<br>
89 All Rights Reserved<br>
90 </i></b></font>
91 <hr>
92
93 </body>
94 </html>