NAME
dwmrdapc —
Client of dwmrdapd
SYNOPSIS
dwmrdapc |
[-h
dwmrdapd_host]
[-w]
host |
DESCRIPTION
dwmrdapc queries
dwmrdapd(8) for the country
of a given host.
The following command line options are available:
- -h dwmrdapd_host
- Specify the
dwmrdapd(8) host to be
queried.
- -w
- 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.
ENVIRONMENT
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.
FILES
- ${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.
SEE ALSO
dwmrdapd(8),
dwmauth(1)
COPYRIGHT
Copyright (c) 2017 Daniel W. McRobb
dwm@mcplex.net