According to Luca, --set-pcap-nonblocking shouldn't be used for FreeBSD 5... IMHO YMMV.
If it seems you need it, you probably also want to use pcap_dispatch not pcap_loop. I posted a patch for 4.x to do this within the last 7 days - archives will have it - just adjust the FREEBSD_CC_VERSION value to include 5.3 for your testing. It would be interesting to know the state of ntop when the web server hangs. When it appears to hang, use gdb and connect to the running instance. Show threads and post the status. That may tell us what's hanging. -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Buraglio Sent: Monday, January 10, 2005 10:35 AM To: [email protected] Subject: [Ntop] ntop data display timeout -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Is anyone else having issues with the web interface from ntop 3.1 stable? I recently upgraded from 3.0 because I need the virtual netflow interfaces and since the upgrade I've not had reliable (or really any) access to the web interface. I currently have 3 virtual netflow interfaces. tcpdump shows netflow packets from each source as expected. ntop is running, netstat -an shows the tcp4 port open and listening. I'm starting ntop with the /usr/local/etc/rc.d/ntop.sh script on this freebsd 5.3 machine. the command line used is: /usr/local/bin/ntop -d -L --set-pcap-nonblocking -w 0 -W 3000 -a /var/log/ntop.access.log -u nobody --ipv4 It yields the same result startig from the CLI with the command line /usr/local/bin/ntop -d -w 0 -W 3000 --ipv4 and /usr/local/bin/ntop -d -i rl0 -w 0 -W 3000 --ipv4 as well as /usr/local/bin/ntop -d -w 0 -w 3000 --ipv4 any ideas? I've recently rejoined the list so my archives are out of date. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB4q7HFOm2Sy5bRPQRAh2fAJ4vzLjkEmxCiZpL1IGiuhOt6pWGJACeNMkZ zuTxQjY+y4RD1ESs9re8X+U= =kcwP -----END PGP SIGNATURE----- _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
