Date: Tue, 6 Apr 2004 21:16:00 -0500 (CDT) From: "Douglas K. Rand" <rand@meridian-enviro.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/65276: net/ntop startup script (ntop.sh) broken Message-ID: <200404070216.i372G04Y090232@snoopy.meridian-enviro.com> Resent-Message-ID: <200404070220.i372KL7m017739@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65276 >Category: ports >Synopsis: net/ntop startup script (ntop.sh) broken >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 06 19:20:20 PDT 2004 >Closed-Date: >Last-Modified: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404070216.i372G04Y090232>