Date: Tue, 9 Jun 2009 15:35:04 GMT From: Anthony Maszeroski <maszeroskia3@scranton.edu> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/135418: Can not disable NETFLOW plugin debug in ntop 3.3.9_1 Message-ID: <200906091535.n59FZ4ph049538@www.freebsd.org> Resent-Message-ID: <200906091540.n59Fe3qZ006840@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906091535.n59FZ4ph049538>