Next Previous Contents

8. The Sentry Firewall Configuration Scripts

This section is designed as a technical outline of the configuration scripts built for the Sentry Firewall CD. These configuration are responsible for finding and parsing the sentry.conf file and the directives contained therein.

As of version 1.5.0-rc14 there are six configuration scripts overall on the system. These are kept in the "/etc/rc.d/SENTRY/" or the "/etc/init.d/SENTRY/" directory on the rootdisk. They are also available on the CD in the "<CDROM>/SENTRY/scripts/cd-config/" directory or online. The configuration scripts are called `cd-config.pl', `do_config.pl', `file_functions.pl', `get_config.pl', `networking.pl', and `process_conf.pl'. The details of these files are outlined below.


8.1 cd-config.pl

This is the first perl script to run. It is usually called from the rc.S or rcS file, depending on the branch. This file contains the following:


8.2 get_config.pl

This file contains the following:


8.3 process_conf.pl

This file contains the following:


8.4 do_config.pl

In general, this is the only configuration file you would need to modify if you would like to create a Sentry Firewall CD for any Linux distribution. This file contains the following:


8.5 file_functions.pl

This script contains a number of general functions that are used throughout the other configuration scripts. Most of the functions are related to working with files and directories. Some of these were contained in do_config.pl in earlier versions of the CD.


8.6 networking.pl

This file contains the following:


Next Previous Contents