Security Advisories (1)
CPANSA-Zonemaster-Backend-2021-001 (2021-08-05)

When running the API behind a reverse proxy on the same machine (like it is using the configuration example provided by the GUI) the remote ip might always be localhost even if the query was done from elsewher

NAME

zmb - Shell bindings for the Zonemaster::Backend RPC API

Zmb is meant to be pronounced Zimba.

SYNOPSIS

zmb [GLOBAL OPTIONS] COMMAND [OPTIONS]

This interface is unstable and will change in a future release.

GLOBAL OPTIONS

--help         Show usage
--verbose      Show RPC query
--server URL   The server to connect to. Default is http://localhost:5000/.

COMMANDS

man

Show the full manual page.

zmb [GLOBAL OPTIONS] man

non_existing_method

Call a non-existing RPC method.

zmb [GLOBAL OPTIONS] non_existing_method

version_info

zmb [GLOBAL OPTIONS] version_info

profile_names

zmb [GLOBAL OPTIONS] profile_names

get_language_tags

zmb [GLOBAL OPTIONS] get_language_tags

start_domain_test

zmb [GLOBAL OPTIONS] start_domain_test [OPTIONS]

Options:

   --domain DOMAIN_NAME
   --ipv4 true|false|null
   --ipv6 true|false|null
   --nameserver DOMAIN_NAME:IP_ADDRESS
   --ds-info DS_INFO
   --client-id CLIENT_ID
   --client-version CLIENT_VERSION
   --profile PROFILE_NAME

DS_INFO is a comma separated list of key-value pairs. The expected pairs are:

   keytag=UNSIGNED_INTEGER
   algorithm=UNSIGNED_INTEGER
   digtype=UNSIGNED_INTEGER
   digest=HEX_STRING

test_progress

zmb [GLOBAL OPTIONS] test_progress [OPTIONS]

Options:
  --testid TEST_ID

get_test_results

zmb [GLOBAL OPTIONS] get_test_results [OPTIONS]

Options:
  --testid TEST_ID
  --lang LANGUAGE

get_test_history

zmb [GLOBAL OPTIONS] get_test_history [OPTIONS]

Options:
  --domain DOMAIN_NAME
  --nameserver true|false|null
  --offset COUNT
  --limit COUNT

add_api_user

zmb [GLOBAL OPTIONS] add_api_user [OPTIONS]

Options:
  --username USERNAME
  --api-key API_KEY