- status: open --> accepted
Hi,
I installed: nfsight-beta-20110908.
I was getting logs of:
1 2011-09-19 12:38:06 system send_email root@localhost: [Nfsight] SQL query error report (... 0
Edit Delete 2 2011-09-19 12:38:06 admin authenticate 275.1.1.1 -1
and was unable to log in. I have patched, function.php with the following:
Original
$sql = "SELECT count(*) as total, last_connect FROM user WHERE username = '".$user."' and password = '".$pass."' LIMIT 1";
Fixed
$sql = "SELECT count(*) as total, last_connect FROM user WHERE username = '".$user."' and password = '".$pass."' group by last_connect LIMIT 1";
Also, I have multiple flows arriving but nfsight only appears to be reporting on one, where should I be looking to try to fix this?
I think I found the problem... It appears that section OPEN NETFLOW FILE, specifically netflow_sources doesn't handle more than one source.
Thoughts?
Many thanks.
Anonymous