memcached

distributed memory object caching system

WWW CVSWeb GITHub
  1. Package version
    memcached-1.6.22
  2. Maintainer
    Giovanni Bechis

memcached is a high-performance, distributed memory object caching
system, generic in nature, but intended for use in speeding up dynamic
web applications by alleviating database load.

Flavours:
sasl - build with support for sasl authentication

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

From the upstream documentation, "Memcached does not spend much, if any,
effort in ensuring its defensibility from random internet connections.
So you must not expose memcached directly to the internet, or otherwise
any untrusted users. Using SASL authentication here helps, but should
not be totally trusted."

The default setting in this package is now to listen on localhost only.
If you need it to listen on the network, change the flags, and make sure
that the memcached port (default 11211) is firewalled.

# rcctl set memcached flags '-u _memcached'

To change to listening on a unix socket (local machine only) and allowing
access only from members of group _memcached:

# rcctl set memcached flags '-u _memcached -s /var/run/memcached/sock -a 0660'

  • sasl