Menu

Tree [r3] /
 History

HTTPS access


File Date Author Commit
 bin 2011-06-23 honey212 [r2] .
 pins 2011-06-23 honey212 [r2] .
 scapy-2.0.1 2011-06-23 honey212 [r2] .
 README 2011-06-23 honey212 [r1] LS.tgz
 clear.gif 2011-06-23 honey212 [r2] .
 index.php 2011-06-23 honey212 [r2] .
 info.php 2011-06-23 honey212 [r2] .
 initdb.sh 2011-06-23 honey212 [r2] .
 lanscape.php 2011-06-23 honey212 [r2] .
 lister.php 2011-06-23 honey212 [r2] .
 login.php 2011-06-23 honey212 [r2] .
 processfilter.php 2011-06-23 honey212 [r2] .
 scapy-latest.zip 2011-06-23 honey212 [r2] .
 scapy-latest.zip.1 2011-06-23 honey212 [r2] .
 slider.html 2011-06-23 honey212 [r2] .
 timewindow.html 2011-06-23 honey212 [r2] .
 timewindow.php 2011-06-23 honey212 [r2] .
 title.jpg 2011-06-23 honey212 [r2] .
 tmp 2011-06-23 honey212 [r2] .
 twopanel.php 2011-06-23 honey212 [r2] .
 worldmap.jpg 2011-06-23 honey212 [r2] .
 worldmap.php 2011-06-23 honey212 [r2] .

Read Me

#!/bin/csh -f

Make sure you have the web server installed:
yum install httpd


Move the LS directory into /var/www/html

Then go into the directory
cd /var/www/html/LS

Make sure it has the right ownership and permissions:
chmod -Rf 755 .
chown -Rf apache .
chgrp -Rf apache .

Make sure MySQL is installed:
yum install mysql
yum install mysql-administrator
yum install mysql-server

Start up the MySQL server:

/etc/init.d/mysqld restart
/usr/bin/mysql_secure_installation

Modify the settings of SELinux to allow HTTPD scripts to access
databases.

Modify the four key parameters in login.php appropriately based on
our choices in the MySQL installation:

Set up the database for LANscaper by running the initdb.sh script:
cd /var/www/LS
./initdb.sh

Make sure PHP is installed, with extensions for MySQL and the GD graphics library:
yum install php
yum install php-mysql
yum install php-gd

Make sure Python is installed, with extensions for MySQL:
yum install python
yum install MySQL-python

Restart the web server:
/etc/init.d/httpd restart

Download and install Scapy:
http://www.secdev.org/projects/scapy/
unzip scapy-latest.zip
cd scapy-2.0.1/
./setup.py install

Verify you are not running IPv6.  The output of
 lsmod | grep v6
should be empty.

If you are running IPv6 kill it on NICs you intend to use:
Create a file /etc/modprobe.d/kill-ipv6.conf with the line 
   install ipv6 /bin/true
/sbin/ifconfig eth1 del fe80::222:19ff:fe1f:dca4/64
/sbin/service ip6tables stop
/sbin/chkconfig ip6tables off
/sbin/service network restart
Restart your machine.

Read here for more details on disabling IPv6:
http://www.g-loaded.eu/2008/05/12/how-to-disable-ipv6-in-fedora-and-centos/

Run the ARP monitor:

cd /var/www/LS/bin
./arpmonitor.py eth1 1 18

Run the Network monitor:

cd /var/www/LS/bin
./netmonitor.py eth1 1 18

______                            
___  /________________________  __
__  __ \  __ \_  __ \  _ \_  / / /
_  / / / /_/ /  / / /  __/  /_/ / 
/_/ /_/\____//_/ /_/\___/_\__, /  
                         /____/   


MongoDB Logo MongoDB