Technical data

Gateway Routing Daemon (GATED) Configuration Reference
A.7 Tracing Options
Table A–3 Trace Options
Option Definition
trace_file
Specifies the file to receive tracing information. If this file
name does not begin with a slash (/), the directory in which
GATED was started is prepended to the name.
replace
Replaces an existing trace file. The default is to append to an
existing file.
size size[k|m] files
files
Limits the maximum size of the trace file to the specified
size (minimum 10 kilobytes). When the trace file reaches the
specified size, it is renamed to file.0, then file.1, file.2, up to the
maximum number of files (minimum specification is 2).
control_options
Specifies options that control the appearance of tracing. The
only valid value is nostamp, which specifies that a timestamp
should not be prepended to all trace lines.
except
trace_options
Enables a broad class of tracing and then disables more specific
options.
none
Specifies that all tracing should be turned off for this protocol
or peer.
A.7.1 Global Tracing Options
There are two types of global options: those with global significance (Table A–4)
and those with protocol significance (Table A–5).
Table A–4 Global Significance Options
Option Definition
parse
Traces the lexical analyzer and parser. Used mainly by GATED
developers for debugging.
adv
Traces the allocation of and freeing of policy blocks. Used
mainly by the GATED developers for debugging.
symbols
Traces symbols read from the kernel at startup. The principal
way to specify this level of tracing is by the -t option on the
command line, because the symbols are read from the kernel
before parsing the configuration file.
iflist
Traces the reading of the kernel interface list. It is useful to
specify this with the -t option on the command line, because
the first interface scan is done before reading the configuration
file.
Table A–5 Protocol Significance Options
Option Description
all
Turns on all of the options flags.
general
A shorthand notation for specifying both normal and route.
state
Traces state machine transitions in the protocols.
(continued on next page)
Gateway Routing Daemon (GATED) Configuration Reference A–7