Appendix B. A gated Reference
This appendix covers the syntax of the
gated command and the
gated configuration language for Gated 3.6—the
publicly available version of
a reference to the
language, this appendix stands on its own. But to fully understand how to
gated, use this reference in
conjunction with the sample configuration files in Chapter 7.
gated is constantly being
improved. As it is upgraded, the command language changes. Refer to the
latest manpages for the most recent information about
The gated Command
The syntax of the
gated [-v] [-c] [-C] [-n] [-N] [-t
-n command-line options debug the routing
configuration file without impacting the network or the kernel routing table. Frequently, these debugging options
are used with a test configuration identified by the
gatedto read the configuration file and check for syntax errors. When
gatedfinishes reading the configuration file, it produces a snapshot of its status and then terminates. It writes the snapshot to /usr/tmp/gated_dump. Running
-coption does not require superuser privileges, and it is not necessary to terminate the active
Checks the configuration file for syntax errors.
gatedexits with a status 1 if there are errors and 0 if there are none. Because this provides exit status, it is useful for script files.
gatednot to update ...