Various directories and files for Passive Capture do not reside with the installation
directory, which defaults to /usr/local/ctccap
. Some paths are directly used by the
software. Some are user configurable, and some are touch through the course of normal administration
and usage of the software.
The following list describes various directories and files outside of the installation directory.
This lists assumes that you are using tpcinstaller.sh
date and version: 2007/07/05,
revision 17, or later.
/archive [optional]
The optional directory is documented in the procedure for performing a minimal installation of Red Hat Enterprise Linux™. It exists in case packet archiving must be enabled to diagnose various capture issues. It is not required for normal operation and is not used by default.
/etc/cron.d/tealeaf
The tealeaf-pca
package installs the crontab for use by the package.
/etc/init.d/tealeaf-pca.sh
/etc/init.d/tealeaf-startup.sh
The tealeaf-pca
package installs the tealeaf-pca.sh
and
tealeaf-startup.sh
scripts to control the startup and shutdown of the software.
/etc/opt/tealeaf
Passive Capture uses the directory for various configuration and installation settings. For
example, the tealeaf-pca package uses this directory to record the installation directory in file
/etc/opt/tealeaf/config/installprefix
and to record the location of the
tealeaf
symbolic link in file /etc/opt/tealeaf/config/tealeafcmd
.
The tpcinstaller.sh
script uses this directory for its configuration files,
including SSL keys that must be automatically imported.
/etc/syslog.conf
Passive Capture uses the syslog facility to log messages, which are configured in the file.
/etc/group
, /etc/passwd
, and other user-account related
files.
The tealeaf-pca package creates a user and a group account for running the software if they do not exist. These operations modify various system files that are updated when user accounts are created or updated.
/tmp/tealeaf-pca-11-prein.log
/tmp/tealeaf-pca-12-postin.log
/tmp/tealeaf-pca-21-preun.log
/tmp/tealeaf-pca-22-postun.log
The tealeaf-pca
package creates the log files to record various
installation-related activities.
/tmp/tealeaf-pca.log
The tealeaf-pca
package, prior to build 3204, used the log file to record
various installation-related activities.
/tmp/tpcinstaller.log
The tpcinstaller.sh
script uses the log file to record its activities.
/usr/local/bin/tealeaf
This file is a symbolic link to the Tealeaf
command in the bin subdirectory of
the installation directory. For example: /usr/local/ctccap/bin/tealeaf
. Environment
variables TEALEAFCMDDIR
and TEALEAFCMDENABLE
manage location and
creation of this symbolic link.
/var/log/messages
Passive Capture uses the syslog facility to log messages, which can affect the log file,
configured in /etc/syslog.conf
.
/var/log/tealeaf
Passive Capture uses the directory for its log files.