From rand@meridian-enviro.com  Tue Apr  6 19:17:58 2004
Return-Path: <rand@meridian-enviro.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0B7B816A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  6 Apr 2004 19:17:58 -0700 (PDT)
Received: from agena.meridian-enviro.com (agena.meridian-enviro.com [207.109.235.133])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4A72743D58
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  6 Apr 2004 19:17:57 -0700 (PDT)
	(envelope-from rand@meridian-enviro.com)
Received: from snoopy.meridian-enviro.com (snoopy.meridian-enviro.com [10.10.10.32])
	by agena.meridian-enviro.com (8.11.6p3/8.11.6) with ESMTP id i372G0e57947
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 6 Apr 2004 21:16:00 -0500 (CDT)
	(envelope-from rand@meridian-enviro.com)
Received: (from rand@localhost)
	by snoopy.meridian-enviro.com (8.12.9p2/8.12.9/Submit) id i372G04Y090232;
	Tue, 6 Apr 2004 21:16:00 -0500 (CDT)
	(envelope-from rand)
Message-Id: <200404070216.i372G04Y090232@snoopy.meridian-enviro.com>
Date: Tue, 6 Apr 2004 21:16:00 -0500 (CDT)
From: "Douglas K. Rand" <rand@meridian-enviro.com>
Reply-To: "Douglas K. Rand" <rand@meridian-enviro.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: net/ntop startup script (ntop.sh) broken
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         65276
>Category:       ports
>Synopsis:       net/ntop startup script (ntop.sh) broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    clement
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 06 19:20:20 PDT 2004
>Closed-Date:    Wed Apr 07 06:56:22 PDT 2004
>Last-Modified:  Wed Apr 07 06:56:22 PDT 2004
>Originator:     Douglas K. Rand
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
Meridian Environmental Technology, Inc.
>Environment:
System: FreeBSD snoopy.meridian-enviro.com 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Nov 3 21:39:37 CST 2003 rand@snoopy.meridian-enviro.com:/usr/obj/usr/src/sys/SNOOPY i386


>Description:
	The -4 argument to ntop in the ntop.sh startup script is undocumented
	and eats the following --set-pcap-nonblocking option, which breaks
	ntop when the -d switch is provided.
	
>How-To-Repeat:
	The command line
		/usr/local/bin/ntop -d -L --set-pcap-nonblocking -i xl0 -w 3000 -W 0 -u nobody
	works but the command line
		/usr/local/bin/ntop -d -L -4 --set-pcap-nonblocking -i xl0 -w 3000 -W 0 -u nobody
	doesn't. The problem is that all requests of ntop's web server simply
	block. This was reported at http://www.mail-archive.com/ntop-dev@unipi.it/msg03153.html
	The undocumented -4 (--ipv4) option expects an argument, and eats the
	--set-pcap-nonblocking argument. By dropping the -4 everything works.
>Fix:

	Don't specify the -4 option on the ntop command line.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->clement 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Apr 6 22:12:18 PDT 2004 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65276 
State-Changed-From-To: open->closed 
State-Changed-By: clement 
State-Changed-When: Wed Apr 7 06:55:57 PDT 2004 
State-Changed-Why:  
Fix committed. Thanks for your report! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65276 
>Unformatted:
