***************** Nulog *************************
* This interface is released under the GPL licence 	*
* Copyright 2003-2005 INL   				*
* Homepage : http://www.inl.fr/Nulog.html               *
****************************************************

It's a php interface to the ulogd-mysql plugin.

To use it create a mysql database ulogd, tape as root :
	mysqladmin create ulog 
Next, populate the database using ulogd.mysqldump :
	cat scripts/ulogd.mysqldump | mysql -u USER -p ulog
Put your user and  password in 
	include/config.inc

Now you can log into the database :

to log bad packet you can use
	iptables -A FORWARD  -j ULOG --ulog-nlgroup 1 --ulog-prefix "badif" 

You can use scripts provided in the scripts directory to rotate table on a 
weekly basis.

If you use NuFW, you can use a second table in your mysql database for active connection (open
and established). For this you must create "conntrack_ulog" table with
conntrack.mysqldump script :
        cat scripts/conntrack.mysqldump | mysql -u USER -p ulogd
Next, you must activate this option by setting "conntrack_enabled" to "yes" in
"include/config.inc" file. By default this option is set to "no".

If you experience problem with user display, it may help to create the
users table in the database. Use ulogd-users.mysqldump for this.
        
Happy logging !
