ampr-ripd(8)
π NAME π
Okay bestie, welcome to the ampr-ripd(8) page, the General Manual Commands entry π
It's a routing daemon for AMPRNet gateways v2.4.2 and it's honestly giving main character energy β¨
πΈ SYNOPSIS πΈ
ampr-ripd [-?|-h] [-d] [-v] [-s] [-r] [-i <interface>] [-a <ip|hostname|subnet>[,<ip|hostname|subnet>...]] [-p <password>] [-m <metric>] [-w <window>] [-f <interface>] [-e <ip>] [-F <interface>] [-E <ip>] [-x <system command>] [-g <gateway>]
π¦ DESCRIPTION π¦
Okay so, AMPRnet is a RIPv4 Listener and route injector daemon that gets used with AMPRnet gateways. It's the behind-the-scenes queen π
β¨ OPTIONS β¨
-?,-hβ Usage info, for when you need a little reminder π-dβ Debug mode! No daemonization (it stays in the foreground) and verbose output π-vβ Extra verbose debug output π’ Using this without debug means the console stays attached.-sβ Saves routes to/var/lib/ampr-ripd/encap.txt(encap format) πΎ If that file already exists, it gets loaded on startup no matter what, so you don't even need this flag for that part.-rβ Uses a raw listening socket for systems with broken multicast support π οΈ-i <interface>β The tunnel interface to use. Defaults totunl0π-t <table>β The routing table to use. Defaults to'main'ποΈ-a <ip>[,<ip>...]β A comma separated list of IPs, hostnames, or ampr subnets to be ignored π« Subnets can be written as full network/mask (like44.182.20.0/24) or encap (like44.182.20/24), but they MUST match an entry in the RIP broadcast. If you use a hostname, its IP gets re-resolved 30 sec after every RIP broadcast. The list has your local interface IPs by default.-m <metric>β The metric used when setting routes π It's a number from0to255, and it defaults to0.-w <window>β Sets the TCP window size to a given value (defaults to840) πͺ This is needed because IP over AX.25 connections have a small TCP window size. A value of0disables setting the window size. Not recommended, the default should be totally fine π ββοΈ-p <password>β The RIPv2 password. It defaults to the current valid password, so only use this if the password ever changes π-f <interface>β The interface for RIP forwarding. Defaults to none/disabled π‘-e <ip>β The RIP forward destination IP. Defaults to224.0.0.9if enabled π―-F <interface>β The interface for AMPR RIP forwarding. Defaults to none/disabled π‘-E <ip>β The AMPR RIP forward destination IP. Defaults to224.0.0.9if enabled π―-x <system command>β Runs this system command after a route is set or changed β‘ If the command has white spaces, wrap it in quotes, bestie.-g <gateway>β The gateway for direct 44net connections. Accepts a gateway IP or an interface name. If you don't set it, it gets auto-detected π€-L <callsign@locator>β Turns on sending acallsign@locatorstring (honestly any string works) to the home gateway atudp:44.182.21.1:59001π It gets sent at startup and then every 5 minutes. On termination, a"shutdown"string gets sent. On HUP, the string goes out immediately and the cycle restarts. The whole point is building a dynamic map of all ampr-ripd gateways for visual display πΊοΈ If this parameter isn't set, no data gets sent.
π Observation
All routes are created with netlink protocol 44 so they're super easy to manage π§
π¦ SIGNALS π¦
SIG_HUPβ ampr-ripd deletes all set routes but stays active π Routes get set again on the next received RIPv2 set, and the saved encap file gets updated.SIG_TERM(exit) β ampr-ripd deletes all set routes and exits π
π DEBUG π
With the default debug level and the -d option, the daemon stays in the foreground, which lets you find the RIPv2 password if you need it π΅οΈ (check out the find_pass.sh shell script). For full debug output, it has to be compiled with -D HAVE_DEBUG or by uncommenting the right DOPT line.
β οΈ Heads up: this is how you dig up the RIPv2 password, so handle it with care, okay? π«Ά
π AUTHOR π
Author: Marius Petrescu, YO2LOJ, <marius@yo2loj.ro> π
π KNOWN ISSUES π
- When you use a table other than
'main', interrogating the routes via netlink doesn't work properly π That means every update deletes the route and recreates it, even if it's already set correctly. It should be fine, though, since this only happens at startup on encap loading and on route change. - For BGP announced 44net endpoints, only a single subnet can be assigned to a given endpoint π ββοΈ
Okay that's the whole tea on ampr-ripd, April 2025 edition π Now go be iconic, bestie π§π π
π¦ where this page comes from
- fedora 43: ampr-ripd 2.4.2-2.fc43 Β· GPL-2.0-or-later
- fedora 44: ampr-ripd 2.4.2-4.fc44 Β· GPL-2.0-or-later
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms