You've gotta run it with -t 4 or -t 5, so we can see the DLT code # being returned from libpcap. (I suppose I should add that to the error message too).
All the error is saying is that the values for the DLT_ code aren't in the table, so the header length is zero, which is bad. -----Burton ---------- Original Message ---------------------------------- From: Julien TOUCHE <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Fri, 07 Nov 2003 09:53:13 +0100 >Burton M. Strauss III wrote: > >> I've committed a message cleanup, along the lines of what I was discussing >> below. That way, we'll get the next layer of information, if you're >> interested in pursuing this... > >with ntop-cvs from 07/11/2003 > ># gdb /opt/bin/ntop >gdb: Symbol `emacs_ctlx_keymap' has different size in shared object, >consider re-linking >GNU gdb 2002-04-01-cvs >Copyright 2002 Free Software Foundation, Inc. >GDB is free software, covered by the GNU General Public License, and you are >welcome to change it and/or distribute copies of it under certain >conditions. >Type "show copying" to see the conditions. >There is absolutely no warranty for GDB. Type "show warranty" for details. >This GDB was configured as "i386-linux"... >(gdb) run -u ntop -w 192.168.2.1:3000 -p /etc/ntop/protocol.list -P >/var/lib/ntop -a /var/lib/ntop/access.log -i >eth1,sit1,tun3,tun4,tun7,tun9 -t 0 -O /var/log/ntop/ -M -m 192.168.2.0/24 >Starting program: /export/opt/bin/ntop -u ntop -w 192.168.2.1:3000 -p >/etc/ntop/protocol.list -P /var/lib/ntop -a /var/lib/ntop/access.log -i >eth1,sit1,tun3,tun4,tun7,tun9 -t 0 -O /var/log/ntop/ -M -m 192.168.2.0/24 >[New Thread 16384 (LWP 17762)] > >07/Nov/2003 09:44:29 ntop v.2.2.96 MT (SSL) [i586-pc-linux-gnu (debian >Linux 3.0)] (11/07/03 09:28:11 AM build) >07/Nov/2003 09:44:29 Copyright 1998-2003 by Luca Deri <[EMAIL PROTECTED]> >07/Nov/2003 09:44:29 Get the freshest ntop from http://www.ntop.org/ >07/Nov/2003 09:44:29 Initializing ntop >07/Nov/2003 09:44:29 PROTO_INIT: Processing protocol file: >'/etc/ntop/protocol.list', size: 424 >07/Nov/2003 09:44:29 **ERROR** DLT: Device 1 [sit1] Header value for >DLT_ is zero >07/Nov/2003 09:44:30 **ERROR** DLT: Device 2 [tun3] Header value for >DLT_ is zero >07/Nov/2003 09:44:30 **ERROR** DLT: Device 3 [tun4] Header value for >DLT_ is zero >07/Nov/2003 09:44:30 **ERROR** DLT: Device 4 [tun7] Header value for >DLT_ is zero >07/Nov/2003 09:44:30 **ERROR** DLT: Device 5 [tun9] Header value for >DLT_ is zero >07/Nov/2003 09:44:30 Now running as requested user 'ntop' (105:105) >07/Nov/2003 09:44:30 **FATAL_ERROR** ....open of >/var/lib/ntop/addressQueue.db failed: File write error > >Program exited with code 0377. >(gdb) > > >Regards > > Julien > > > >_______________________________________________ >Ntop mailing list >[EMAIL PROTECTED] >http://listgateway.unipi.it/mailman/listinfo/ntop > ____________________________________________________________ Free 20MB Web Site Hosting and Personalized E-mail Service! Get It Now At Doteasy.com http://www.doteasy.com/et/ _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
