Scroll to navigation
||General Manual Commands
ampr-ripd - routing daemon for AMPRNet gateways
ampr-ripd [-?|-h] [-d] [-v] [-s] [-r] [-i <interface>] [-a
<interface>] [-e <ip>] [-x <system command>]
AMPRnet is a RIPv4 Listener and route injector daemon used with AMPRnet
- -?, -h
- Usage info
- Debug mode: no daemonization, verbose output
- More verbose debug output Using this option without debug leaves the
- Save routes to /var/lib/ampr-ripd/encap.txt (encap format), if this
file exists, it will be loaded on startup regardless of this option
- Compatibility only (ignored, raw sockets are always used)
- -i <interface>
- Tunnel interface to use, defaults to tunl0
- -t <table>
- Routing table to use, defaults to 'main'
- <ip>[,<ip>...] Comma separated list of IPs, hostnames or ampr
subnets to be ignored. Subnets can be in full network/mask (e.g.
22.214.171.124/24) or encap (e.g. 44.182.20/24) format, but MUST match an
entry in the RIP broadcast If a hostname is used, its IP will be
re-resolved 30 sec after every RIP broadcast. The List contains local
interface IPs by default
- -m <metric>
- Metric to be used when setting routes. This is a numerical value from 0 to
255. Defaults to 0.
- -w <window>
- Sets the TCP window size to a given value (defaults to 840). This is
needed since IP over AX.25 connections have small TCP window size. A value
of 0 disables setting the window size (not recommended, default value
should be ok)
- -f <interface>
- Interface for RIP forwarding, defaults to none/disabled
- -e <ip>
- Forward destination IP, defaults to 126.96.36.199 if enabled
- -x <system command>
- Execute this system command after route set/change. If the command
includes white spaces, use quotes.
- All routes are created with netlink protocol 44 for easy management
- - On signal SIG_HUP, ampr-ripd will delete all set routes, but will remain
active, so routes will be set again on next received RIPv2 set, and the
saved encap file updated.
- - On signal SIG_TERM (exit), ampr-ripd will delete all set routes and
With the default debug level, using the -d option, the daemon will stay
in the foreground and allow you to find the RIPv2 password if needed (see the
find_pass.sh shell script). To have full debug output, it has to be compiled
with -D HAVE_DEBUG or by uncommenting the right DOPT line.
Author: Marius Petrescu, YO2LOJ, <firstname.lastname@example.org>
When using other table than 'main', interogating the routes via netlink does not
work properly. This means that on any update, the route is deleted and then
recreated, even if it is already set correctly. This should be no problem
since this happen only at startup on encap loading and on route change.