Debian Codegraph @

ax25rtd/ax25rtd.conf.man

raw
1 .TH AX25RTD.CONF 5 "11 November 2003" Linux "Linux Programmer's Manual"
2 .SH NAME
3 ax25rtd.conf \- ax25 routing daemon configuration file
4 .SH SYNOPSIS
5 .B /etc/ax25/ax25rtd.conf
6 .SH DESCRIPTION
7
8
9 The file /etc/ax25/ax25rtd.conf is the configuration file for @@@ax25rtd@@@.
10 The parameters of the options shown here are the default values except the
11 ones marked with (example)
12 .PP
13 ax25-maxroutes 4096
14 .TP
15 ip-maxroutes 4096
16 The maximum size of the three lists / caches. On overflow,
17 @@@ax25rtd@@@ will substitute the oldest entry with the new one.
18 .TP
19 iproute2-table radio
20
21 name ("radio") of the kernel routing table. This is an advanced
22 routing feature. If you do not need it, just leave this setting as is.
23
24 The current implementation depends on iproute2 (anyone like to code it
25 directly?).
26
27 If not set or empty, routes are set in the normal, default, manner.
28 Please configure /etc/iproute2/rt_protos with
29
30 44 @@@ax25rtd@@@
31
32 and /etc/iproute2/rt_tables with
33
34 210 radio
35
36 where "radio" is the name of the table, (for the configuration example above).
37
38 This option is disabled by default.
39 .TP
40 ip-encaps-dev ipax0
41 This option was for a patched kernel of the 2.2.x series. Multiple interfaces
42 were aggregated to one interface when sending IP frames. This option is
43 disabled by default.
44 .TP
45 [1k2]
46 .br
47 This marks the beginning of per-port definitions. Note that
48 you have to use port names as defined in axports(5) here,
49 anywhere else you may use the port or the device name.
50 .TP
51 ax25-learn-routes no
52 Set this to "yes", @@@ax25rtd@@@ will add the routing information
53 for every heard frame (with complete digipeater path) to the
54 kernel AX.25 routing table. Note that @@@ax25rtd@@@'s internal cache
55 will be updated anyway, regardless of this option.
56 .TP
57 ax25-learn-only-mine no
58 If you set it to "yes", only frames that are sent to (1) the
59 interface callsign, (2) any of the listeners on this device, or
60 (3) the callsigns specified by ax25-more-mycalls will be used
61 to update the internal cache and (depending on
62 ax25-learn-routes) the kernel routing table.
63 .TP
64 ax25-add-path db0ach (example)
65 This is useful on DAMA digipeaters. In this case, the DAMA
66 master has to be used for _every_ AX.25 connection, thus
67 @@@ax25rtd@@@ will add this digipeater(s) to every target we learn
68 that has no digipeater path (yet). "db0ach" is just an
69 example here.
70 .TP
71 ax25-more-mycalls dl1bke dl1bke-8 (example)
72 You can specify more calls as calls here that belong to
73 this interface... "dl1bke" and "dl1bke-8" are examples.
74 .TP
75 ip-learn-routes no
76 If set to "yes", @@@ax25rtd@@@ will modify the IP routing table if it
77 receives an IP frame (directed to us). This is dangerous!
78
79 It should not screw up your routing table, though. @@@Ax25rtd@@@
80 recognizes the netmask of the device and will adjust the route
81 only if it fits the netmask and the old route points to
82 one of the devices @@@ax25rtd@@@ knows about (hence an AX.25 device).
83
84 The problems begin if you have more than one port and a user
85 is able to hear your outgoing traffic on at least two of them.
86 Due to technical reasons @@@ax25rtd@@@ adjusts the route _after_ the
87 kernel has sent the reply to the received TCP frame already.
88 This has technical reasons.
89
90 If the remote does the same both are switching between the two
91 ports.
92
93 Don't use this feature unless you know what you are doing.
94
95 It _should_ be safe do enable this on one-port machines, although
96 I strongly recommend to set a network route instead, i.e.:
97
98 route add -net 44.0.0.0 scc3
99
100 Note that @@@ax25rtd@@@'s internal cache will be updated anyway,
101 regardless of this option.
102 .TP
103 irtt <irtt>
104 If ip-learn-routes is enabled this will assign newly added
105 routes an initial round trip time (IRTT) for TCP. <irtt>
106 is measured in msec, hence
107
108 irtt 10000
109
110 sets the irtt to 10 seconds. A value of 0 disables this
111 feature (default).
112 .TP
113 ip-adjust-mode no
114 If you set this option to "yes" @@@ax25rtd@@@ will change the IP
115 encapsulation mode according to the last received IP frame.
116
117 The problem with this option is that the kernel AX.25 sends
118 a received IP frame to the IP layer regardless if it was
119 sent in UI frame encapsulation "mode datagram (dg)" or
120 in I frame encaps, hence in an AX.25 connection, "mode virtual
121 connect (vc)". The Linux kernel will respond to this frame
122 before @@@ax25rtd@@@ can adjust the mode. If the remote does the
123 same... You get the picture.
124
125 Don't use this feature unless you know what you are doing.
126 .TP
127 arp-add no
128 This option, if set to "yes", changes the ARP table to the
129 source callsign of the received frame. It should be harmless,
130 just has the the effect that if it is a new entry, the Linux
131 ARP code will send one ARP request before @@@ax25rtd@@@ has adjust
132 the ARP table. If there was already an existing ARP entry
133 for this IP route, one IP datagram will be sent to the old
134 address. Not really a problem, I hope.
135 .SH "SEE ALSO"
136 .BR @@@ax25rtd@@@ (8),
137 .BR ax25rtctl (8).
138 .LP
139 .SH AUTHORS
140 .nf
141 Joerg Reuter <[email protected]>
142 .br
143 Klaus Kudielka OE1KIB
144 .fi