NEGI

Environment

OS: Debian squeeze

Library

  • zlib
  • libpqxx
  • libpcap

PostgreSQL setup

$su - postgres
$psql
psql# create user YourDBUserName
psql# create database YourDBName
psql# grant all privileges on database YourDBName to YourDBUserName
psql# \q
$exit

negi.sql is default template for DB
$psql -UYourDbUserName YourDBName < template/scripts/negi.sql

Compile NEGI

git clone https://github.com/westlab/negi.git

cd negi
make clean
make dep
make

Run NEGI

./negi template/config/pcap.conf