ProFTPD module mod_tls_memcache

## ProFTPD module `mod_tls_memcache`

The `mod_tls_memcache` submodule is contained in the `mod_tls_memcache.c` file, and is not compiled by default. Installation instructions are discussed here.

This submodule a memcached-based implementation of an external SSL session cache for use by the `mod_tls` module's `TLSSessionCache` directive.

This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/).

This product includes cryptographic software written by Eric Young (eay@cryptsoft.com).

## Author

Please contact TJ Saunders <tj at castaglia.org> with any questions, concerns, or suggestions regarding this module.

The `mod_tls_memmcache` module supports the "memcache" string for the type parameter of the `TLSSessionCache` configuration directive. The info parameter for `mod_tls_memcache` is blank. This means the `TLSSessionCache` setting will look like:

      TLSSessionCache memcache:

If memcache support has not been enabled in your proftpd, this configuration cannot be used.

Examples

      <IfModule mod_memcache.c>
        MemcacheEngine on
        MemcacheServers memcache-servers
      </IfModule>

      <IfModule mod_tls.c>
        ...

        <IfModule mod_tls_memcache.c>
          TLSSessionCache memcache:
        </IfModule>
      </IfModule>

## Installation

The `mod_tls_memcache` module is distributed with the ProFTPD source code. Simply follow the normal steps for using third-party modules in proftpd, being sure to include the `mod_tls` module (on which `mod_tls_memcache` depends), and enabling memcache support:

      ./configure --enable-memcache --with-modules=mod_tls:mod_tls_memcache
      make
      make install

Alternatively, if your proftpd was compiled with DSO support, you can use the `prxs` tool to build `mod_tls_memcache` as a shared module:

      prxs -c -i -d mod_tls_memcache.c

Author: $Author: castaglia $
Last Updated: $Date: 2011-02-16 00:27:50 $

© Copyright 2011 TJ Saunders
All Rights Reserved