Basic Installation
==================

Typically,

  ./configure && \
  make && \
  make install

should work if everything is in place.

Also,

  make check

will run the test suite. Prior to this, it's necessary to alter
configuration file v6wpd-test.conf in the test directory to reflect the
test configuration.

WARNING: Test suite destroys data in tables, so it's advisable to run
them on scratch databases.

Starting, Stopping and Operating v6wpd
======================================
* Modify the given example v6wpd.conf to reflect your environment.
* Create the mysql user and msyql database specified in the configuration,
  if not exists:

  create database <your_database>;

  should create the database, and

  grant insert,delete,select on <your_database>.* to <dbuser> identified by
  <dbpass>;

  should create the user.

* Run "make-sql-tables-v6wpd <path_to_your_v6wpd_conf>" to create
  necessary tables.
* Run "v6wpd -f <path_to_your_v6wpd_conf>" to start the server.
* In order to stop the server, simply kill the process.
* Sending HUP signal to the process will make the server reread the proxy
  table.
* Sending USR2 signal to the process will make the server dump current
  connections to the log file.

Requirements
============

* glib >= 2.0.7               http://www.gtk.org/
  (glib requires pkgconfig, available from
   http://www.freedesktop.org/software/pkgconfig/)

* mysql >= 3.23               http://www.mysql.com/

* In order to run the test suite, ipv6 enabled netcat is needed, available
  from ftp://ftp.ferrara.linux.it/pub/project6/sources . Also a working
  whois client should also be present, available from
  ftp://ftp.ripe.net/ripe/tools/ripe-whois-latest.tar.gz .
