AX25RTD.CONF(5)
πΈ NAME πΈ
okay so bestie, this is ax25rtd.conf β like, literally the configuration file for the ax25 routing daemon π it lives in the Linux Programmer's Manual corner of the world and yes it's AX25RTD.CONF(5), we're fancy like that π
β¨ SYNOPSIS β¨
/etc/ax25/ax25rtd.conf
π DESCRIPTION π
so the file /etc/ax25/ax25rtd.conf is the configuration file for ax25rtd. every parameter you're about to see is showing you its default value β unless it's marked with (example), in which case it's just a lil demo, not the default, got it? π«Ά
ax25-maxroutes 4096ip-maxroutes 4096
these two set the maximum size of the three lists / caches. and when they overflow? ax25rtd just substitutes the oldest entry with the new one β out with the old, in with the new, iconic behavior honestly β¨
iproute2-table radioβ thename("radio") of the kernel routing table. this is an advanced routing feature; if you don't need it, literally just leave this setting as is, no thoughts head empty π
the current implementation depends on iproute2 (anyone like to code it directly? π ngl that's a real question from the original authors, I'm just the messenger).
if it's not set or it's empty, routes get set in the normal, default manner. but if you <em>are</em> using it, please configure /etc/iproute2/rt_protos with
44 ax25rtd
and /etc/iproute2/rt_tables with
210 radio
where "radio" is the name of the table (for the configuration example above, iykyk).
heads up bestie: this option is disabled by default.
ip-encaps-dev ipax0β this one was for a patched kernel of the 2.2.x series. multiple interfaces were aggregated to one interface when sending IP frames. it's disabled by default π¦[1k2]β this marks the beginning of the per-port definitions π and okay, important: you have to use port names as defined inaxports(5)here. anywhere else you may use the port <em>or</em> the device name. don't mix it up bestie, it's giving "read the room" energy.ax25-learn-routes noβ set this to"yes"andax25rtdwill add the routing information for every heard frame (with complete digipeater path) to the kernel AX.25 routing table. note thatax25rtd's internal cache will be updated anyway, regardless of this option. so like, the cache is always getting fed, this option is just about the kernel table πax25-learn-only-mine noβ set it to"yes"and only frames sent to (1) the interface callsign, (2) any of the listeners on this device, or (3) the callsigns specified byax25-more-mycallswill be used to update the internal cache and (depending onax25-learn-routes) the kernel routing table. so basically: only my people β¨ax25-add-path db0ach (example)β this is useful on DAMA digipeaters. in that case, the DAMA master has to be used for <em>every</em> AX.25 connection, soax25rtdwill add this digipeater(s) to every target we learn that has no digipeater path (yet)."db0ach"is just an example here, don't come for me πax25-more-mycalls dl1bke dl1bke-8 (example)β you can specify more calls as calls here that belong to this interface..."dl1bke"and"dl1bke-8"are examples. main character callsigns only, periodt πip-learn-routes noβ if you set it to"yes",ax25rtdwill modify the IP routing table if it receives an IP frame (directed to us). this is dangerous! π
it should not screw up your routing table, though. ax25rtd recognizes the netmask of the device and will adjust the route only if it fits the netmask and the old route points to one of the devices ax25rtd knows about (hence an AX.25 device). so like, it's checking the vibe first π§
the problems begin if you have more than one port and a user is able to hear your outgoing traffic on at least two of them. due to technical reasons ax25rtd adjusts the route <em>after</em> the kernel has sent the reply to the received TCP frame already. this has technical reasons.
if the remote does the same, both are switching between the two ports. π chaos.
don't use this feature unless you know what you are doing.
it <em>should</em> be safe to enable this on one-port machines, although I strongly recommend to set a network route instead, i.e.:
route add -net 44.0.0.0 scc3
note that ax25rtd's internal cache will be updated anyway, regardless of this option. again. always. the cache does not care about your flags π
irtt <irtt>β ifip-learn-routesis enabled, this will assign newly added routes an initial round trip time (IRTT) for TCP.<irtt>is measured in msec, hence
irtt 10000
sets the irtt to 10 seconds. a value of 0 disables this feature (default). math is mathing π
ip-adjust-mode noβ set this option to"yes"andax25rtdwill change the IP encapsulation mode according to the last received IP frame.
the problem with this option is that the kernel AX.25 sends a received IP frame to the IP layer regardless if it was sent in UI frame encapsulation "mode datagram (dg)" or in I frame encaps, hence in an AX.25 connection, "mode virtual connect (vc)". the Linux kernel will respond to this frame <em>before</em> ax25rtd can adjust the mode. if the remote does the same... you get the picture. π
don't use this feature unless you know what you are doing.
arp-add noβ this option, if set to"yes", changes the ARP table to the source callsign of the received frame. it should be harmless, it just has the effect that if it is a new entry, the Linux ARP code will send one ARP request beforeax25rtdhas adjusted the ARP table. if there was already an existing ARP entry for this IP route, one IP datagram will be sent to the old address. not really a problem, I hope. π«Ά (that "I hope" is the original author's energy and honestly? relatable.)
π₯ SEE ALSO π₯
π AUTHORS π
- Joerg Reuter
<jreuter@poboxes.com> - Llaus Kudielka OE1KIB
and that's the whole thing bestie, slay π this page came out of the Linux manual on 11 November 2003, filed under AX25RTD.CONF(5) β go forth and configure responsibly, no cap πΈβ¨
π¦ where this page comes from
- alpine 3.24: ax25-apps-doc 2.0.0-r0 Β· GPL-2.0-or-later
- fedora 43: ax25-apps 2.0.0-16.fc43 Β· GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- fedora 44: ax25-apps 2.0.0-18.fc44 Β· GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- ubuntu jammy: ax25-apps 0.0.8-rc5+git20190411+0ff1383-4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms