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. Fix: -#define DEBUG_FLOWS +/* #define DEBUG_FLOWS */ #define CONST_NETFLOW_STATISTICS_HTML "statistics.html"--amjRoZibVOiClKkK8HnRqzSrqgxdrGdPYE0vvKbT44vPtwCY Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- 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 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
Responsible Changed From-To: freebsd-ports-bugs->wxs I'll take it.
wxs 2009-06-22 22:59:08 UTC FreeBSD ports repository Modified files: net/ntop Makefile Added files: net/ntop/files patch-plugins_netflowPlugin.c Log: - Turn off a debug knob which was left on. PR: ports/135418 Submitted by: Anthony Maszeroski <maszeroskia3@scranton.edu> Revision Changes Path 1.75 +1 -1 ports/net/ntop/Makefile 1.1 +11 -0 ports/net/ntop/files/patch-plugins_netflowPlugin.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Fixed, sorry.