From Gentoo Linux Wiki
[edit] Introduction
This document has moved to: HOWTO Apache2 with BASE
If you are wondering what BASE is; it is a web-based front-end to the Snort NIDS. It allows you to organize your Snort logs and alerts into an easily readable format and to graph that data. It is a modern replacement for ACID (which is no longer being developed). BASE also provides some additional features not found in ACID, such as user authentication. If you are familiar with ACID, then you will feel right at home using BASE.
[edit] Abstract
The goal of this document is to walk you though the installation and setup of
BASE. The only requirements are that
you have Gentoo installed successfully, and you must have administrative
privileges. This document will explain how to install and configure any
necessary dependencies for BASE to run.
[edit] Procedure
[edit] Install Prerequisite Programs
| Code: Install PostgreSQL, Apache, PHP, and Snort
|
|
|
[edit] Install mod_ssl (optional)
| Code: If using Apache-1, install mod_ssl (recommended).
|
|
|
[edit] Install BASE
[edit] Setup BASE
| File: Verify the '/etc/base/base_conf.php' settings
|
|
|
You're done! You can access BASE by navigating to 'base_main.php' (e.g., https://localhost/base/base_main.php).
[edit] BASE Authentication Setup (optional)
| File: /etc/base/base_conf.php
|
|
|
[edit] Troubleshooting
| Code: Verify cookie support is enabled in the browser (Firefox)
|
|
|
| Code: Verify proper USE flags are set (i.e., dev-lang/php requires '+cli', '+gd' and '+pear' for chart support)
|
|
|
| Code: Check the logs for any clues
|
|
|
| Code: Verify permissions and content of '/etc/base/base_conf.php' (it should be -rw-r----- root apache)
|
|
|
[edit] References
/usr/share/doc/base-1.2.2/README.gz
BASE homepage
Snort homepage
PostgreSQL homepage
PHP homepage
Apache homepage
exklusve's guide to Snort, MySQL, and ACID (In the Gentoo Forums)
MySQL homepage
ACID homepage