AX25RTD.CONF(5) | Linux Programmer's Manual | AX25RTD.CONF(5) |
ax25rtd.conf - ax25 routing daemon configuration file
/etc/ax25/ax25rtd.conf
The file /etc/ax25/ax25rtd.conf is the configuration file for ax25rtd. The parameters of the options shown here are the default values except the ones marked with (example)
ax25-maxroutes 4096
name ("radio") of the kernel routing table. This is an advanced routing feature. If you do not need it, just leave this setting as is.
The current implementation depends on iproute2 (anyone like to code it directly?).
If not set or empty, routes are set in the normal, default, manner. 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).
This option is disabled by default.
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).
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 _after_ 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.
Don't use this feature unless you know what you are doing.
It _should_ be safe do 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.
irtt 10000
sets the irtt to 10 seconds. A value of 0 disables this feature (default).
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 before 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.
Joerg Reuter <jreuter@poboxes.com>
Llaus Kudielka OE1KIB
11 November 2003 | Linux |