# Author: Joshua Gimer <jgimer@gmail.com>
# Last Update: Tue Feb 10 18:15:08 MST 2009
# Version: 1.0

Each script may have additional comments about configuration, 
including the web based data parsing scripts.

All configuration variables should be at the top of the script. 
Please make sure that you review them before emailing me :)

If you have any ways in improving the scripts (which there are plenty)
please let me know. 

These scripts come without any warranty or maintenance promise, I AM NOT
RESPONSIBLE FOR DESTROYED CONFIGS OR UNSTABLE SYSTEMS!!

buildpie/ - Directory containing scripts to generate pie graphs based off of honeydstats output
color.properties - afterglow properties file for GraphViz Graphs
honeyd - Init script to start the whole thing
honeyd_importer.pl - Initial honeyd log database import script
honeyd_logger_mysql.pl - Honeyd database importer - MySQL
honeyd_logger_pg.pl - Honeyd database importer - Postgres
html/ - Directory containing web based data parsing scripts
rrd_honeyd.pl - Script for populating rrd database with connection data
schemas/ - Database schemas for Mysql and Postgres

I have also included the afterflow perl script and tcpdump parser.
You will need GraphViz installed for some of the traffic graphs to be generated.

http://afterglow.sourceforge.net/
http://www.graphviz.org/

Some additional Notes:

Make sure that you rename either honeyd_logger_mysql.pl or honeyd_logger_pg.pl to 
just honeyd_logger.pl and place all of the above scripts with the exclusion of the 
web based data parsing scripts into the SCRIPTS_DIR that is defined in the init script.

Place the web based scripts at your REPORT_BASE which should be your document root with a subdirectory called honeyd/.

You can set honeyd to start at system boot on Red Hat with the following commands:

cp honeyd /etc/init.d/
/sbin/chkconfig --add honeyd
/sbin/chkconfig honeyd on

You can then use /sbin/service to start, stop, and restart honeyd.
