OPENNHRP(8)
π OPENNHRP(8) β opennhrpctl: opennhrp administrative control tool π
okay bestie, welcome to the OPENNHRP(8) manual page β this one is all about opennhrpctl, the admin control tool that talks to the opennhrp(8) daemon π
β¨
π NAME π
opennhrpctl β opennhrp administrative control tool π
β¨ SYNOPSIS β¨
opennhrpctl [-a admin-socket] command [arguments]...
πΈ DESCRIPTION πΈ
opennhrpctl is the utility you use to control what opennhrp(8) is doing π«Ά A UNIX socket is the communication glow-up between opennhrpctl and opennhrp(8). Administration privileges for a non-root user can be granted by modifying the permissions and ownership of the socket β yes, thatβs the whole vibe π«
These are the commands, bestie:
[cache] show [selector]...β show the contents of the next hop cache, aka configured and resolved entries π[cache] flush [selector]...β clear all non-permanent entries that match the selector specifiers π§Ή[cache] purge [selector]...β purge entries from the NHRP cache: cached entries are removed, and permanent entries are forced down, up, and finally reregistered π[cache] lowerdown [selector]...β purge entries from the NHRP cache with an indication that the lower layer failed, e.g. the IPsec daemon detected dead-peer or receivedINITIIAL-CONTACTnotification πroute show [selector]...β show the contents of locally cached kernel routing information (the outbound routing base for doing route lookups, excluding active shortcut routes) π£οΈinterface showβ show the contents of the interface configuration table, plus the cached information from the kernel (like protocol and NBMA IP addresses in use currently) π¦redirect purge [protocol-address/prefix-length]β clear the redirection cache from all entries matching the specified address β¨update nbma nbma-address protocol-addressβ this command can be used fromopennhrp-script(8)to inform the opennhrp daemon of the real protocol-address of a dynamically discovered NHS π£
These selectors can be used to limit which cache entries will be affected:
nbma nbma-addressβ matches entries where the remote has NBMA address nbma-address π―protocol protocol-address[/prefix-length]β matches entries where the remote has protocol address protocol-address with at least prefix length prefix-length πlocal-nbma nbma-addressβ matches entries from the local interface that owns the NBMA address nbma-address πlocal-protocol protocol-addressβ matches entries only from the local interface that owns the protocol address protocol-address π«Άinterface interface-nameβ search entries only from the local interface with name interface-name πiface interface-nameβ same selector energy, same local-interface search by name interface-name πdev interface-nameβ yep, same thing again: search entries only from the local interface with name interface-name β¨
π FILES π
/var/run/opennhrp.socketβ theopennhrp(8)control socket π
π¦ SEE ALSO π¦
π AUTHORS π
Timo Teras <timo.teras@iki.fi> π
okay bestie, thatβs the whole page β it comes from OpenNHRP Documentation, dated 20 May 2009, and itβs giving iconic admin-tool energy forever π β¨π«Ά
π¦ where this page comes from
- alpine 3.22: opennhrp-doc 0.14.1-r12 Β· MIT AND (BSD-2-Clause OR GPL-2.0-or-later)
- alpine 3.23: opennhrp-doc 0.14.1-r12 Β· MIT AND (BSD-2-Clause OR GPL-2.0-or-later)
- alpine 3.24: opennhrp-doc 0.14.1-r12 Β· MIT AND (BSD-2-Clause OR GPL-2.0-or-later)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms