Skip to content

Scanning Engine v2 - Module - Memcached

Overview

Memcached is a high-performance, distributed memory caching system used to speed up dynamic web applications by alleviating database load. It is commonly used to cache data in memory and reduce the number of times an external data source, such as a database, needs to be accessed.

This module allows scanning with Memcached instances. It gathers all the stats information from the server.

Targeting

This module targets TCP ports by IP address or hostname.

Schemas

The schema for the body object of all results generated with .task.module_name equal to memcached can be found here. The schema for results is available both in standalone and bundled form.

Examples

These are examples of the .body object for results with .task.module_name equal to memcached.

Live Host

This example was generated with a live host on the internet.

{
  "pid": 1600,
  "uptime": 13352021,
  "time": 1757522456,
  "version": "1.4.15",
  "libevent": "2.0.21-stable",
  "pointer_size": 64,
  "rusage_user": 24568.326699,
  "rusage_system": 159789.489751,
  "curr_connections": 10,
  "total_connections": 63885,
  "connection_structures": 71,
  "reserved_fds": 20,
  "cmd_get": 4423278406,
  "cmd_set": 82915,
  "cmd_flush": 4158,
  "cmd_touch": 0,
  "get_hits": 244527689,
  "get_misses": 4178750717,
  "delete_misses": 3790,
  "delete_hits": 359,
  "incr_misses": 0,
  "incr_hits": 0,
  "decr_misses": 0,
  "decr_hits": 0,
  "cas_misses": 0,
  "cas_hits": 0,
  "cas_badval": 0,
  "touch_hits": 0,
  "touch_misses": 0,
  "auth_cmds": 0,
  "auth_errors": 0,
  "bytes_read": 93754004880,
  "bytes_written": 66799355406386,
  "limit_maxbytes": 4294967296,
  "accepting_conns": 1,
  "listen_disabled_num": 0,
  "threads": 4,
  "conn_yields": 8356763,
  "hash_power_level": 16,
  "hash_bytes": 524288,
  "hash_is_expanding": 0,
  "bytes": 106,
  "curr_items": 1,
  "total_items": 82376,
  "expired_unfetched": 2244,
  "evicted_unfetched": 0,
  "evictions": 0,
  "reclaimed": 2841
}

Changelog

v1.1.0 (2025-09-11)

  • Updated to use the new targeting library (pkg/targeting) instead of the old external targeting library

v1.0.0 (2025-05-05)

  • Initial release of versioning for each module. All modules are being tagged with version number 1.0.0. Going forward:
  • Major version should be changed when there are changes that impact consumers or clients of the modules.
  • Minor version should be changed when there are additions which enrich or enhance the module but shouldn't affect consumers or clients.
  • Patch version should be changed when there are bugfixes.