dwmrdapc(8) System Manager's Manual dwmrdapc(8)

dwmrdapcClient of dwmrdapd

dwmrdapc [-h dwmrdapd_host] [-w] host

dwmrdapc queries dwmrdapd(8) for the country of a given host.

The following command line options are available:

dwmrdapd_host
Specify the dwmrdapd(8) host to be queried.
This option will cause dwmrdapc(1) to 'walk' a prefix. In this case, the host argument should be an IPv4 prefix, for example 192.172.128/18.

dwmrdapc(1) produces JSON output. Note that the data exhanged with dwmrdapd(8) is encrypted with AES-128, and authentication is using RSA with 2048-bit keys and ECDH for the initial key exchange.

If the RDAPDHOST environment variable is set, it will be used as the default dwmrdapd(8) host when the -h dwmrdapd_host command line option is not used.

${HOME}/.dwmauth/id_rsa
The user's dwmauth private key file, created with dwmauth(1). This file should be owned by the user and have permissions 0600. It must contain the private part of a 2048-bit RSA key pair.
${HOME}/.dwmauth/id_rsa.pub
The user's dwmauth public key file, created with dwmauth(1). This file should be owned by the user and have permissions 0600. It must contain the public part of a 2048-bit RSA key pair.
${HOME}/.dwmauth/known_services
The user's dwmauth known services file. This file must contain the public key of dwmrdapd(8) from the dwmrdapd(8) host being queried.

dwmrdapd(8), dwmauth(1)

Copyright (c) 2017 Daniel W. McRobb dwm@mcplex.net

April 10, 2017 mcplex.net