You're here: Installation

previous topic  next topic

Installation

System Requirements

To be able to install and use Stingray Application Firewall, you need:

▪Sufficient CPU resources on the Stingray Traffic Manager server. Prior to the installation of Stingray Application Firewall the load on the server shouldn’t exceed 60%.
▪A minimum total of 1 GB free memory space on the hard disk for program data and log files created during operation.
▪A minimum of 1 GB RAM.

Important:  For web applications with high traffic, the log files generated can quickly become very large. Rotate and archive these on a regular basis.

First-time installation

Please refer to the detailed instructions in the Stingray Traffic Manager User Guide for installation and configuration instructions.

Update installation

Updates of Stingray Application Firewall are handled via the standard update channel of Stingray Traffic Manager. Please contact support if you encounter any difficulties.

Expand /Collapse All Subsections

Configuring Stingray Application Firewall

You can configure basic settings for Stingray Application Firewall from the Stingray Traffic Manager Administration Server. The System > Application Firewall section contains settings for the Stingray Application Firewall administration server, the decider processes, and for the internal communication ports that Stingray Application Firewall uses.

For more detailed configuration options, see System Configuration.

Note that any changes that you make to the Stingray Application Firewall settings apply to every machine in the cluster. After changing the settings, Stingray Application Firewall is automatically restarted on every machine in the cluster so the new settings take effect.

Setting enforcer options

Please refer to the detailed instructions in the Stingray Traffic Manager User Guide, which describe how to configure options for the Enforcer TrafficScript rule.

Protecting your services

You can configure your traffic manager’s Virtual Servers to have their traffic inspected by Stingray Application Firewall.

Each Virtual Server’s settings page provides an option to enable Stingray Application Firewall. When Stingray Application Firewall is activated, the Enforcer TrafficScript rule will be added to the Virtual Server and will start sending traffic to Stingray Application Firewall immediately.

For more information, see the Stingray Traffic Manager User Guide.

Caution:  As soon as the enforcer is activated, all queries to the web server are evaluated by Stingray Application Firewall. If any ruleset is active in protection mode, Stingray Application Firewall may deny queries that match one of the underlying rules.

Starting and Stopping the Software

You can restart the Stingray Application Firewall software from the System > Traffic Manager section of the Stingray Traffic Manager administration server.

You can uninstall Stingray Application Firewall from the System > Application Firewall section of the Stingray Traffic Manager administration server.

For more information, see the Stingray Traffic Manager User Guide.

Allowing to Connect to Update Server

If you want to take advantage of automated updates of rules and blacklists provided for basic detection and protection (see Baseline Protection Wizard, Baseline Protection Handler, Vulnerability Description Import Wizard), Stingray Application Firewall needs to connect to the following update server:
https://mydefence.artofdefence.com/update/

If you want to use a proxy, you must also specify this proxy. This is done within the configuration file zeusafm.conf (see System Configuration).

Configuring Multi-CPU Support

With complex rulesets the decider can become a performance bottleneck. With multi-CPU support, an individual decider process is run on each CPU. The traffic manager allocates the individual requests to the different CPUs, ensuring that queue times are minimized.

Stingray Application Firewall automatically takes advantage of multi-CPU machines by running one decider process for each CPU core that’s available. If Stingray Application Firewall is installed on a cluster of traffic managers, then the number of decider processes running on each machine is equal to the number of CPUs on the machine with the fewest CPUs.

You can manually configure the number of decider processes from the System > Application Firewall page of the Stingray Traffic Manager administration server.

Changing Ports

You can configure the ports that Stingray Application Firewall uses for internal communication from the System > Application Firewall page of the Stingray Traffic Manger user interface.

Using custon configuration files

On Linux/Unix systems, you can optionally use custom configuration files instead of the default zeusafm.conf and updater.conf file. You can even split your settings and have multiple configuration files in parallel.

 

To use a custom configuration file, set the following environment variables before starting Stingray Application Firewall or before starting the updater:

▪AOD_CONFIG_FILENAME for zeusafm.conf
▪AOD_UPDATER_CONFIG_FILENAME for updater.conf

 

Examples:

 
export AOD_CONFIG_FILENAME = /path/to/myconf.conf

export AOD_UPDATER_CONFIG_FILENAME = /path/to/myupconf.conf
 

 

Paths must be absolute (no relative paths). If the specified configuration file doesn’t exist, or if the script has no permission to read it, Stingray Application Firewall or the updater don’t start. If a value isn’t found in the specified file, its default setting is used.

 

 

Instead of using one single custom configuration file, you can even use multiple ones. This enables you to split or to cascade your settings. If identical configuration items are found in multiple files, the last processed one wins. Additional configuration files are always read after the global ones (that is after zeusafm.conf and updater.conf or after the ones specified by AOD_CONFIG_FILENAME and AOD_UPDATER_CONFIG_FILENAME).

To use additional custom configuration files, set the following environment variables:

▪AOD_CONFIG_FILENAME_* for zeusafm.conf
▪AOD_UPDATER_CONFIG_FILENAME_* for updater.conf

 

The files are processed in lexicographical order, that is numbers before letters and letters alphabetically.

 

Example:

 
export AOD_CONFIG_FILENAME_A = /path/to/myfile1.conf

export AOD_CONFIG_FILENAME_B = /path/to/myfile2.conf
export AOD_CONFIG_FILENAME_1 = /path/to/myfile3.conf
 

 

So, in this case, myfile3.conf are processed first, and then myfile1.conf and myfile2.conf. If a setting is specified in all three files, the setting of myfile2.conf is used because this is file that’s last processed.

 

©  Riverbed Technology, all rights reserved   previous topic  next topic