Hello!

I've been using NTOP for a while, but can't get it to save the stats
correctly. When using -S 1, often a seg fault will occur - I can't seem to
see any pattern behind it - it's been running for two weeks once, but
afterwards it was about 30 seconds. I've recently updated to the latest CVS
(17 Sept), but now can't get it to run for more than 10 minutes. I've
noticed that just before a crash, the hosts list fills up with MAC addresses
that are flagged as gateways??!

The second issue is that it keeps flagging specific hosts as having
duplicated MAC addresses, but I can't see where the duplicates are. If it is
being truthful, please can we have some idea of where the duplicate is?

The system is SUSE 7.1, with GBDM 1.8.0, and libpcap 0.4 (is this right?)

Below are two dumps - the first with -i eth0 -w 3000 -P /var/lib/ntop -S 1

The second is the same, but with -t 5 on the end. This crashed before I
could access the system!

----1
Wait please: ntop is coming up...
19/Sep/2001:03:11:50 Initializing IP services...
19/Sep/2001:03:11:50 Initializing GDBM...
19/Sep/2001:03:11:51 Initializing network devices...
19/Sep/2001:03:11:51 ntop v.2.0.0 MT [i686-pc-linux] (09/17/01 04:06:06 PM
build)
19/Sep/2001:03:11:51 Listening on [eth0]
19/Sep/2001:03:11:51 Copyright 1998-2001 by Luca Deri <[EMAIL PROTECTED]>
19/Sep/2001:03:11:51 Get the freshest ntop from http://www.ntop.org/
19/Sep/2001:03:11:51 Initialising...
19/Sep/2001:03:11:51 Truncated network size to 1024 hosts (real netmask
255.255.248.0)
19/Sep/2001:03:11:51 Loading plugins (if any)...
19/Sep/2001:03:11:51 Searching plugins in /usr/lib/ntop/plugins
19/Sep/2001:03:11:51 WARNING: unable to load plugin
'/usr/lib/ntop/plugins/arpPlugin.so'
[undefined symbol: sendHTTPHeaderType]
19/Sep/2001:03:11:51 Welcome to icmpWatchPlugin. (C) 1999 by Luca Deri.
19/Sep/2001:03:11:51 Welcome to LastSeenWatchPlugin. (C) 1999 by Andrea
Marangoni.
19/Sep/2001:03:11:51 Welcome to nfsWatchPlugin. (C) 1999 by Luca Deri.
19/Sep/2001:03:11:51 WARNING: unable to load plugin
'/usr/lib/ntop/plugins/remoteInterface.so'
[undefined symbol: sendHTTPHeaderType]
19/Sep/2001:03:11:51 Welcome to ntopRmon. (C) 2000 by Luca Deri.
19/Sep/2001:03:11:51 Welcome to WAPPlugin. (C) 2000 by Luca Deri.
19/Sep/2001:03:11:51 WARNING: unable to load plugin
'/usr/lib/ntop/plugins/libpep.so'
[undefined symbol: Perl_hv_undef]
19/Sep/2001:03:11:51 WARNING: For security reasons it is STRONGLY
recommended to
19/Sep/2001:03:11:51 WARNING: run ntop as unprivileged user by using the -u
option!
19/Sep/2001:03:11:51 Resetting traffic statistics...
19/Sep/2001:03:11:52 Started thread (1026) for network packet analyser.
19/Sep/2001:03:11:52 Started thread (2051) for host traffic statistics.
19/Sep/2001:03:11:52 Started thread (3076) for throughput update.
19/Sep/2001:03:11:52 Started thread (4101) for idle hosts detection.
19/Sep/2001:03:11:52 Started thread (5126) for idle TCP sessions detection.
19/Sep/2001:03:11:52 Started thread (6151) for DNS address resolution.
19/Sep/2001:03:11:52 Initialising plugins (if any)...
19/Sep/2001:03:11:52 Waiting for HTTP connections on port 3000...
19/Sep/2001:03:11:52 ntop/RMON started
19/Sep/2001:03:11:52 Sniffying...
19/Sep/2001:03:11:52 Started thread (9226) for network packet sniffing on
eth0.
*************************19/Sep/2001:03:11:52 Extending hash: [old=32,
new=48]
19/Sep/2001:03:11:52 Index 581 out of range (0...32) [hash.c:543]
19/Sep/2001:03:11:52 Index 581 out of range (0...32) [hash.c:543]
19/Sep/2001:03:11:52 Index 581 out of range (0...32) [hash.c:543]
************19/Sep/2001:03:11:52 Extending hash: [old=48, new=72]
19/Sep/2001:03:11:52 Index 581 out of range (0...48) [hash.c:543]
19/Sep/2001:03:11:52 Index 1974 out of range (0...48) [hash.c:543]
*****19/Sep/2001:03:11:52 Extending TCP hash [new size: 64]
****************19/Sep/2001:03:11:53 Extending hash: [old=72, new=108]
19/Sep/2001:03:11:53 Index 301 out of range (0...72) [hash.c:543]
19/Sep/2001:03:11:53 Index 1348 out of range (0...72) [hash.c:550]
19/Sep/2001:03:11:53 Index 570 out of range (0...72) [hash.c:543]
19/Sep/2001:03:11:53 Index 1298 out of range (0...72) [hash.c:550]
19/Sep/2001:03:11:53 Index 581 out of range (0...72) [hash.c:543]
***********19/Sep/2001:03:11:54 Extending TCP hash [new size: 128]
*******************19/Sep/2001:03:11:54 Extending hash: [old=108, new=162]
19/Sep/2001:03:11:54 Index 1188 out of range (0...108) [hash.c:543]
19/Sep/2001:03:11:54 Index 581 out of range (0...108) [hash.c:543]
************************19/Sep/2001:03:11:56 Extending TCP hash [new size:
256]
*****19/Sep/2001:03:11:57 INFO: semaphore 0x40325B20 [pbuf.c:5041] locked
for 1 secs
***********19/Sep/2001:03:11:59 Extending hash: [old=162, new=242]
19/Sep/2001:03:11:59 Index 581 out of range (0...162) [hash.c:543]
19/Sep/2001:03:11:59 Index 581 out of range (0...162) [hash.c:543]
19/Sep/2001:03:11:59 Index 581 out of range (0...162) [hash.c:543]
19/Sep/2001:03:11:59 Index 581 out of range (0...162) [hash.c:543]
**************************19/Sep/2001:03:12:02 Extending TCP hash [new size:
512]
**********************************19/Sep/2001:03:12:15 Extending hash:
[old=242, new=362]
19/Sep/2001:03:12:15 Index 581 out of range (0...242) [hash.c:543]
19/Sep/2001:03:12:15 Index 581 out of range (0...242) [hash.c:543]
19/Sep/2001:03:12:15 Index 581 out of range (0...242) [hash.c:543]
19/Sep/2001:03:12:15 Index 581 out of range (0...242) [hash.c:543]
19/Sep/2001:03:12:15 Index 581 out of range (0...242) [hash.c:550]
19/Sep/2001:03:12:15 Index 581 out of range (0...242) [hash.c:543]
19/Sep/2001:03:12:15 Index 581 out of range (0...242) [hash.c:543]
19/Sep/2001:03:12:15 Index 581 out of range (0...242) [hash.c:543]
19/Sep/2001:03:12:15 Index 581 out of range (0...242) [hash.c:543]
19/Sep/2001:03:12:15 Index 581 out of range (0...242) [hash.c:543]
19/Sep/2001:03:12:15 Index 581 out of range (0...242) [hash.c:543]
19/Sep/2001:03:12:15 Index 581 out of range (0...242) [hash.c:543]
19/Sep/2001:03:12:15 Index 581 out of range (0...242) [hash.c:543]
19/Sep/2001:03:12:15 Index 581 out of range (0...242) [hash.c:543]
19/Sep/2001:03:12:15 Index 581 out of range (0...242) [hash.c:543]
*19/Sep/2001:03:12:15 Extending TCP hash [new size: 1024]
****************************************************************************
********************19/Sep/2001:03:12:42 Extending hash: [old=362, new=542]
19/Sep/2001:03:12:42 Index 581 out of range (0...362) [hash.c:543]
19/Sep/2001:03:12:42 Index 581 out of range (0...362) [hash.c:543]
19/Sep/2001:03:12:42 Index 581 out of range (0...362) [hash.c:543]
19/Sep/2001:03:12:42 Index 581 out of range (0...362) [hash.c:543]
19/Sep/2001:03:12:42 Index 849 out of range (0...362) [hash.c:543]
19/Sep/2001:03:12:42 Index 849 out of range (0...362) [hash.c:550]
19/Sep/2001:03:12:42 Index 570 out of range (0...362) [hash.c:543]
19/Sep/2001:03:12:42 Index 572 out of range (0...362) [hash.c:543]
19/Sep/2001:03:12:42 Index 572 out of range (0...362) [hash.c:550]
19/Sep/2001:03:12:42 Index 1973 out of range (0...362) [hash.c:543]
19/Sep/2001:03:12:42 Index 1973 out of range (0...362) [hash.c:550]
19/Sep/2001:03:12:42 Index 472 out of range (0...362) [hash.c:550]
19/Sep/2001:03:12:42 Index 1367 out of range (0...362) [hash.c:543]
19/Sep/2001:03:12:42 Index 1298 out of range (0...362) [hash.c:550]
19/Sep/2001:03:12:42 Index 1635 out of range (0...362) [hash.c:543]
19/Sep/2001:03:12:42 Index 1714 out of range (0...362) [hash.c:550]
19/Sep/2001:03:12:42 Index 581 out of range (0...362) [hash.c:543]
19/Sep/2001:03:12:42 Index 1679 out of range (0...362) [hash.c:543]
19/Sep/2001:03:12:42 Index 1973 out of range (0...362) [hash.c:543]
19/Sep/2001:03:12:42 Index 1973 out of range (0...362) [hash.c:550]
19/Sep/2001:03:12:42 Index 581 out of range (0...362) [hash.c:543]
19/Sep/2001:03:12:42 Index 581 out of range (0...362) [hash.c:543]
19/Sep/2001:03:12:42 Index 581 out of range (0...362) [hash.c:543]
******19/Sep/2001:03:12:42 Extending TCP hash [new size: 2048]
*******19/Sep/2001:03:12:52 Purging Idle Hosts... (ignoreIdleTime=0,
actDevice=0)
19/Sep/2001:03:12:52 WARNING: index 581 out of range 0-542 [hash.c:872]
19/Sep/2001:03:12:52 Purging completed (0 sec/0 hosts deleted).
*****



----2
Wait please: ntop is coming up...
19/Sep/2001:03:08:57 Initializing IP services...
19/Sep/2001:03:08:57 [initialize.c:430] Initializing GDBM...
19/Sep/2001:03:08:58 [initialize.c:628] Initializing network devices...
19/Sep/2001:03:08:58 [main.c:425] ntop v.2.0.0 MT [i686-pc-linux] (09/17/01
04:06:06 PM build)
19/Sep/2001:03:08:58 [main.c:445] Listening on [eth0]
19/Sep/2001:03:08:58 [main.c:446] Copyright 1998-2001 by Luca Deri
<[EMAIL PROTECTED]>
19/Sep/2001:03:08:58 [main.c:447] Get the freshest ntop from
http://www.ntop.org/
19/Sep/2001:03:08:58 [main.c:448] Initialising...
19/Sep/2001:03:08:58 [initialize.c:988] Truncated network size to 1024 hosts
(real netmask 255.255.248.0)
19/Sep/2001:03:08:58 [plugin.c:317] Loading plugins (if any)...
19/Sep/2001:03:08:58 [plugin.c:335] Searching plugins in
/usr/lib/ntop/plugins
19/Sep/2001:03:08:58 [plugin.c:189] WARNING: unable to load plugin
'/usr/lib/ntop/plugins/arpPlugin.so'
[undefined symbol: sendHTTPHeaderType]
19/Sep/2001:03:08:58 [icmpPlugin.c:584] Welcome to icmpWatchPlugin. (C) 1999
by Luca Deri.
19/Sep/2001:03:08:58 [lastSeenPlugin.c:414] Welcome to LastSeenWatchPlugin.
(C) 1999 by Andrea Marangoni.
19/Sep/2001:03:08:58 [nfsPlugin.c:342] Welcome to nfsWatchPlugin. (C) 1999
by Luca Deri.
19/Sep/2001:03:08:58 [plugin.c:189] WARNING: unable to load plugin
'/usr/lib/ntop/plugins/remoteInterface.so'
[undefined symbol: sendHTTPHeaderType]
19/Sep/2001:03:08:58 [rmonPlugin.c:104] Welcome to ntopRmon. (C) 2000 by
Luca Deri.
19/Sep/2001:03:08:58 [wapPlugin.c:304] Welcome to WAPPlugin. (C) 2000 by
Luca Deri.
19/Sep/2001:03:08:58 [plugin.c:189] WARNING: unable to load plugin
'/usr/lib/ntop/plugins/libpep.so'
[undefined symbol: Perl_hv_undef]
19/Sep/2001:03:08:58 [main.c:479] WARNING: For security reasons it is
STRONGLY recommended to
19/Sep/2001:03:08:58 [main.c:480] WARNING: run ntop as unprivileged user by
using the -u option!
19/Sep/2001:03:08:58 [initialize.c:345] Resetting traffic statistics...
19/Sep/2001:03:08:58 [initialize.c:537] Started thread (1026) for network
packet analyser.
19/Sep/2001:03:08:58 [initialize.c:544] Started thread (2051) for host
traffic statistics.
19/Sep/2001:03:08:58 [initialize.c:552] Started thread (3076) for throughput
update.
19/Sep/2001:03:08:58 [initialize.c:560] Started thread (4101) for idle hosts
detection.
19/Sep/2001:03:08:58 [initialize.c:564] Started thread (5126) for idle TCP
sessions detection.
19/Sep/2001:03:08:58 [initialize.c:587] Started thread (6151) for DNS
address resolution.
19/Sep/2001:03:08:58 [plugin.c:404] Initialising plugins (if any)...
19/Sep/2001:03:08:58 [webInterface.c:949] Waiting for HTTP connections on
port 3000...
19/Sep/2001:03:08:58 [rmonPlugin.c:52] ntop/RMON started
19/Sep/2001:03:08:58 [main.c:507] Sniffying...
19/Sep/2001:03:08:58 [initialize.c:1141] Started thread (9226) for network
packet sniffing on eth0.
**********************19/Sep/2001:03:08:59 [hash.c:192] Extending hash:
[old=32, new=48]
19/Sep/2001:03:08:59 [hash.c:131] Index 581 out of range (0...32)
[hash.c:543]
19/Sep/2001:03:08:59 [hash.c:131] Index 581 out of range (0...32)
[hash.c:543]
***************19/Sep/2001:03:08:59 [hash.c:192] Extending hash: [old=48,
new=72]
19/Sep/2001:03:08:59 [hash.c:131] Index 581 out of range (0...48)
[hash.c:543]
19/Sep/2001:03:08:59 [hash.c:131] Index 581 out of range (0...48)
[hash.c:543]
*********19/Sep/2001:03:09:00 [hash.c:1222] Extending TCP hash [new size:
64]
**********19/Sep/2001:03:09:00 [hash.c:192] Extending hash: [old=72,
new=108]
19/Sep/2001:03:09:00 [hash.c:131] Index 581 out of range (0...72)
[hash.c:543]
19/Sep/2001:03:09:00 [hash.c:131] Index 581 out of range (0...72)
[hash.c:543]
19/Sep/2001:03:09:00 [hash.c:131] Index 581 out of range (0...72)
[hash.c:543]
******************19/Sep/2001:03:09:01 [hash.c:1222] Extending TCP hash [new
size: 128]
**********19/Sep/2001:03:09:02 [hash.c:192] Extending hash: [old=108,
new=162]
19/Sep/2001:03:09:02 [hash.c:131] Index 1348 out of range (0...108)
[hash.c:550]
19/Sep/2001:03:09:02 [hash.c:136] Mapping failed for index 62 [hash.c:550]
19/Sep/2001:03:09:02 [hash.c:131] Index 570 out of range (0...108)
[hash.c:543]
19/Sep/2001:03:09:02 [hash.c:131] Index 1298 out of range (0...108)
[hash.c:550]
19/Sep/2001:03:09:02 [hash.c:131] Index 301 out of range (0...108)
[hash.c:543]
19/Sep/2001:03:09:02 [hash.c:131] Index 581 out of range (0...108)
[hash.c:543]
*******************19/Sep/2001:03:09:04 [pbuf.c:75] Index error idx=314 @
[reportUtils.c:64]
19/Sep/2001:03:09:04 [pbuf.c:75] Index error idx=1367 @ [reportUtils.c:64]
19/Sep/2001:03:09:04 [pbuf.c:75] Index error idx=1635 @ [reportUtils.c:64]

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop

Reply via email to