Professional Documents
Culture Documents
php
Snort_Inline Base
Last update: 26-Apr-2007
TOTAL
Search Since dec
What is Snort_Inline? Tool 2006
Screenshots Install 1'418'081
Prerequisites Ergonomy Visitors
Installation Forum Details 3'247'570
Oinkmaster - Snort Rules Pages
Oinkmaster - Bleeding Rules
Run Snort_Inline Apr
BASE 2010
Bridging Stats
78'336
Visitors
154'549
Pages
If you like our tutorials, don't hesitate to support us and visit our sponsors! 188
countries
Help us
Full
translate
statistics
our
OM TEAM
tutorials!
BASE is a graphical interface written in PHP used to display the logs generated by the Snort_Inline IPS and Director:
sent into the database. It stands for Basic Analysis and Security Engine. Blaise
JOIN the
You can find the BASE website here: http://base.secureideas.net/ Carrera
OpenManiak
Tutorials
Team.
creation:
1. DOWNLOAD BASE: Blaise
Carrera
Download the latest version. Translaters:
Giovanni
We now have to uncompress the files and put them in the correct folder: Fredducci
Angel
#tar -xvf base-1.3.5.tar.gz Chraniotis
#mv /home/user/Desktop/base-1.3.5 /var/www/base Moham.
H. Karvan
Alexandro
Silva
2. CONFIGURE BASE: Blaise
Carrera
We need ADOdb (Active Data Objects Data Base) for BASE. AdOdb is in fact a database abstraction library Andrei
for PHP. Chertolyas
Informations about ADOdb can be found here: http://adodb.sourceforge.net/ Sergiy
Uvarov
Download "ADOdb for PHP": http://adodb.sourceforge.net/#download Nickola
Again we now have to uncompress the files and put them in the correct folder: Kolev
Łukasz
#tar -xvf adodb490.tgz Nowatkowski
#mv /home/user/Desktop/adodb /var/www/base/ Ivo Raisr
Catalin
There are two ways to configure BASE: Bivolaru
Either you use a wizard or you change the config file by yourself. Bogdan A.
Costea
A) Using the wizard Kirill
Simonov
#chown -R www-data /var/www/base/ Oliver
Mucafir
The change above will be needed to let the web server user (www-data) write in the BASE directory. Open JaeYoung
a web browser and select the BASE directory: Jeon
http://localhost/base
Seungyoon
Here you are entering a wizard: Lee
Jie Yu & Si
Step 0: Check if everything is okay to begin the wizard. Cheng
Tao Wei
YukiAlex
Fumihito
Yoshida
Muhammad
Takdir
Çağdaş
Tülek
Auditors
Step 1: Language and path to ADOdb: /var/www/base/. Leslie
Luthi
Joe
Anderson
1 de 4 19/06/10 15:38
SNORT_INLINE - The Easy Tutorial - BASE http://openmaniak.com/inline_base.php
Jennifer
Ockwell
Nigel
Titley
Alison
Rees
Sabrina
Barbey
Step 4: Create the MySQL database and tables (click on Create BASE AG).
It's not mandatory to use the wizard, you can do everything manually.
The first thing to do is to set the file base_conf.php.dist.
Open base_config.php.dist in the BASE directory and change the lines as shown below.
2 de 4 19/06/10 15:38
SNORT_INLINE - The Easy Tutorial - BASE http://openmaniak.com/inline_base.php
$DBlib_path="./adodb";
$DBtype="mysql";
$alert_dbname = snort;
$alert_host = localhost;
$alert_port = "";
$alert_user = snortuser;
$alert_password = snortpassword;
$archive_dbname = snort;
$archive_host = localhost;
$archive_port = "";
$archive_user = snortuser;
$archive_password = snortpassword;
Second thing to do is to import the BASE MySQL tables into the snort database:
3. CONNECT TO BASE:
4. BASE GRAPHS:
First we have to install the graphics library php5-gd for handling graphics directly from PHP scripts.
# /etc/init.d/apache2 restart
To download and install the librairies easily, the best thing to do is to install the php-pear package:
Since there are some dependencies, you need to install the scripts in the order above.
Now, you have access to the graphs ...
PHP ERROR: PHP build incomplete: the prerequisite GD support required to generate graphs was not build
into PHP. Please recompile PHP with the necessary library (--with-gd).
3 de 4 19/06/10 15:38
SNORT_INLINE - The Easy Tutorial - BASE http://openmaniak.com/inline_base.php
$resolve_IP= 1;
/**
* This option is used to set if BASE will use colored results
* based on the priority of alerts
* 0 : no
* 1 : yes
*/
$colored_alerts = 1;
If you liked our tutorials, don't hesitate to support us and visit our sponsors!
4 de 4 19/06/10 15:38