\section{Usage}
FIAIF installs a program in \verb|/etc/init.d/fiaif|, which is used to
control the firewall. The program should only be started by the
\textit{root} user. The program accepts the following arguments.

\begin{description}
\item[\texttt{start}:] This will save the current firewall rules, and
  deploys the new firewall as described by the configuration files.
  
\item[\texttt{stop}:] Remove all firewall rules, and restores
  previously saved firewall rules. This can only be
  used if the firewall has been previously started.

\item[\texttt{force-reload}:] This option is the same as start, although
 it can be invoked without stopping the firewall first.

\item[\texttt{restart}:] This option stops and then restarts the
 firewall. Refer to starting and stopping FIAIF.

\item[\texttt{panic}:] Shut off all IP traffic - do not accept any
 packets from anywhere for any reason. This can be used, for example,
 if uninvited guests are discovered on the system to quickly close the
 firewall and start analyzing log files.

\item[\texttt{status}:]  Lists all rules in the firewall.
  
\item[\texttt{test}:] Check the rules in the configuration files. All
  rules are written to the file specified in the \verb|TEST_FILE|
  parameter in the global configuration file. This can be useful to
  see that the syntax of the rules is correct before deploying the
  firewall. Any errors will be written to \verb|stdout|. Besides
  testing, it also runs a sanity check on the networking
  configuration.

\item[\texttt{tc-start}:] Start only traffic shaping. This option
 ignores the \verb|ENABLE_TC| parameter in the global configuration file.

\item[\texttt{tc-stop}:] Stops the traffic shaping. This option
 ignores the \verb|ENABLE_TC| parameter in the global configuration file.
 
\item[\texttt{tc-status}:] Lists packet counters for all traffic
  classes.
\end{description}
