David, Can you capture the traffic using tcpdump ?
Rivalino. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of David Brodbeck Sent: Tuesday, June 14, 2005 6:46 PM To: [email protected] Subject: Re: [Ntop] problem report: ntop ignores --interface switch,capturesfrom first interface instead Burton Strauss wrote: > Then for some reason, ntop is completely ignoring your command line. Is > there ANY evidence it's even seeing it?? > > What you need to do is to build ntop with #define PARAM_DEBUG > (globals-defines.h around line 400) and then run from the console ... not a > script ... so you can capture the complete startup info. That will show > argument by argument processing of the command line Here's what I got: ringbill# /usr/local/bin/ntop --set-pcap-nonblocking --skip-version-check -i tun0 -w 3000 -W 0 -u nobody PARAM_DEBUG: Parameter 1 is '--set-pcap-nonblocking' PARAM_DEBUG: Parameter 2 is '--skip-version-check' PARAM_DEBUG: Parameter 3 is '-i' PARAM_DEBUG: Parameter 4 is 'tun0' PARAM_DEBUG: Parameter 5 is '-w' PARAM_DEBUG: Parameter 6 is '3000' PARAM_DEBUG: Parameter 7 is '-W' PARAM_DEBUG: Parameter 8 is '0' PARAM_DEBUG: Parameter 9 is '-u' PARAM_DEBUG: Parameter 10 is 'nobody' PARAM_DEBUG: 0. '/usr/local/bin/ntop' PARAM_DEBUG: 1. '--set-pcap-nonblocking' PARAM_DEBUG: 2. '--skip-version-check' PARAM_DEBUG: 3. '-i' PARAM_DEBUG: 4. 'tun0' PARAM_DEBUG: 5. '-w' PARAM_DEBUG: 6. '3000' PARAM_DEBUG: 7. '-W' PARAM_DEBUG: 8. '0' PARAM_DEBUG: 9. '-u' PARAM_DEBUG: 10. 'nobody' Tue Jun 14 17:43:04 2005 Initializing gdbm databases Tue Jun 14 17:43:04 2005 PARAM_DEBUG: getopt(139//(null)) WARNING: --set-pcap-nonblocking requested Tue Jun 14 17:43:04 2005 PARAM_DEBUG: getopt(150//(null)) Tue Jun 14 17:43:04 2005 PARAM_DEBUG: getopt(105/i/tun0) Tue Jun 14 17:43:04 2005 PARAM_DEBUG: getopt(119/w/3000) Tue Jun 14 17:43:04 2005 PARAM_DEBUG: getopt(87/W/0) Tue Jun 14 17:43:04 2005 PARAM_DEBUG: getopt(117/u/nobody) Tue Jun 14 17:43:04 2005 ntop v.3.1 MT (SSL) Tue Jun 14 17:43:04 2005 Configured on Jun 14 2005 16:41:27, built on Jun 14 2005 16:45:53. Tue Jun 14 17:43:04 2005 Copyright 1998-2004 by Luca Deri <[EMAIL PROTECTED]> Tue Jun 14 17:43:04 2005 Get the freshest ntop from http://www.ntop.org/ Tue Jun 14 17:43:04 2005 Initializing ntop Tue Jun 14 17:43:04 2005 No default device configured. Using dc0 It seems to be getting the parameter, but then it's ignored and it uses dc0 (the first interface) instead... _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
