Requirements:

 netacct-mysql >= 0.74 running in compactnet mode
 web server + php + mysql support

Installation:

 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 If you use old version of netacct-mysql 0.73 USE upgrade_database.php 
        to convert your base into new format for version 0.74-0.75 
              BUT FIRST MAKE A BACKUP OF OLD BASE !!!
       SET mysql root user and pass into upgrade_database.php, 
   because default user have't rights to make or alternate new table
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 Place all files somewhere in your web tree. Create mysql tables:

  $ mysql -u root -p < netstat.sql

 Open the page with your browser. By default user 'admin' with password
 'admin' is added so use it to log and change default password.
 Users must be added with specific IP address so they can view only 
 their own traffic. You can add specific user with permission to view
 summarized traffic (client), traffic in two tables international and
 peering (client with peering) and all traffic to all users (admin)

 If you plan to access web page for the first time from different address
 (default allowed ip is '127.0.0.1') you need to insert a row in 'ipallow'
 table.

 $ mysql -u acct -p
 password:
 mysql> use netacct
 mysql> insert into ipallow (ip) values ('your_ip_here');

 Otherwise you will NOT be allowed to log in web interface.

Contacts:

 bashbug@users.sourceforge.net
