OPENNHRP(8)

πŸ“¦ version 0.14.1, in alpine 3.22, alpine 3.23, alpine 3.24

πŸ’– 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 received INITIIAL-CONTACT notification πŸ’€
  • 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 from opennhrp-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 β€” the opennhrp(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