Hi Erik,
On Wed, 2013-08-28 at 13:13 +0200, Erik K. wrote:
Hi all, i want to report a problem with the unreleased, updated version of IPTraf-ng-1.1.4 . The problem occurs if i turn on the IPTraf logging, after a while i get an "Floating point exception" under the "Packets catured:" line and IPTraf-ng quits. Until now i couldnĀ“t localize the problem, but it seems like a bug in the new version. The IPTraf-ng version 1.1.3 works without this problem.
This is most certainly a division by zero. If you do that, the floating point unit of the CPU throws a floating point exception. It is best to report that to the iptraf-ng developers and open a bug report about this on our own bugtracker as well, so that we can update as soon as a fix is available.
Beside info: I have added an IPTraf-ng configuration for the logrotate.conf. In here --> http://git.ipfire.org/?p=people/ummeegge/ipfire-2.x.git;a=commit;h=16bcdaebc... the diff can be found.
Should this be merged? Why is iptraf-ng writing log files any way?
-Michael