From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 9 15:40:07 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D4A51065700 for ; Tue, 9 Jun 2009 15:40:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1D7A38FC36 for ; Tue, 9 Jun 2009 15:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n59Fe3d1006841 for ; Tue, 9 Jun 2009 15:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n59Fe3qZ006840; Tue, 9 Jun 2009 15:40:03 GMT (envelope-from gnats) Resent-Date: Tue, 9 Jun 2009 15:40:03 GMT Resent-Message-Id: <200906091540.n59Fe3qZ006840@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anthony Maszeroski Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EE27106564A for ; Tue, 9 Jun 2009 15:35:05 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 8BD7A8FC12 for ; Tue, 9 Jun 2009 15:35:05 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n59FZ5aH049540 for ; Tue, 9 Jun 2009 15:35:05 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n59FZ4ph049538; Tue, 9 Jun 2009 15:35:04 GMT (envelope-from nobody) Message-Id: <200906091535.n59FZ4ph049538@www.freebsd.org> Date: Tue, 9 Jun 2009 15:35:04 GMT From: Anthony Maszeroski To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/135418: Can not disable NETFLOW plugin debug in ntop 3.3.9_1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2009 15:40:21 -0000 >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: :53035 -> :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: