ports/135418: Can not disable NETFLOW plugin debug in ntop 3.3.9_1

Anthony Maszeroski maszeroskia3 at scranton.edu
Tue Jun 9 15:40:21 UTC 2009


>Number:         135418
>Category:       ports
>Synopsis:       Can not disable NETFLOW plugin debug in ntop 3.3.9_1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 09 15:40:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Anthony Maszeroski
>Release:        7.2-RELEASE
>Organization:
University of Scranton
>Environment:
FreeBSD anthony.netsvs.scranton.edu 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Thu May 21 14:02:02 EDT 2009     root at anthony.netsvs.scranton.edu:/usr/obj/usr/src/sys/ANTHONY  i386
>Description:
Disabling netflow plugin debug in the web admin gui has no effect. Debug messages are sent to syslog regardless:

Jun  9 10:08:17 anthony ntop[48662]:   >>>> NETFLOW: handleGenericFlow() called
Jun  9 10:08:17 anthony ntop[48662]:   DEBUG: <source_IP>:53035 -> <destination_ip>:80 [last=1986646253][first=1986634280][last-first=12]

The resulting message volume is huge.
>How-To-Repeat:
In the ntop web gui, click on:

Plugins->NetFlow->View/Configure

Click "Edit NetFlow Device"

In the "Debug" section, select the "Off" radio button, click "Set Debug"

Restart ntop, tail -f /var/log/messages
>Fix:
--- netflowPlugin.c     2009-06-09 10:40:27.000000000 -0400
+++ netflowPlugin.c.orig        2009-06-09 10:40:37.000000000 -0400
@@ -28,7 +28,7 @@
 static void* netflowUtilsLoop(void* _deviceId);
 #endif

-#define DEBUG_FLOWS
+/* #define DEBUG_FLOWS */

 #define CONST_NETFLOW_STATISTICS_HTML       "statistics.html"

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list