The main tool to test is wflogs.

To compile wflogs:
$ ./configure
$ make

To test ipchains modules:
$ ./wflogs/wflogs -i ipchains -o ipchains test/logs_ipchains1
and compare it with the original logs_ipchains1 file.
Both should be quite the same, of course.

To test netfilter modules:
$ ./wflogs/wflogs -i netfilter -o netfilter test/logs_netfilter1
and compare it with the original logs_netfilter1 file.
Both should be quite the same, of course.

To test ipfilter modules:
$ ./wflogs/wflogs -i ipfilter -o ipfilter test/logs_ipfilter1
and compare it with the original logs_ipfilter1 file.
Both should be quite the same, of course.

To test text output module:
$ ./wflogs/wflogs -i netfilter -o text test/logs_netfilter1

To test html output module:
$ ./wflogs/wflogs -i netfilter -o html test/logs_netfilter1
and save it as an html file. Then use your favorite browser!

To test xml output module:
$ ./wflogs/wflogs -i netfilter -o xml test/logs_netfilter1

Hope you'll enjoy wflogs.

 Herv Eychenne <rv@wallfire.org>
