Perhaps this would be better on an ntop-specific list but due to how
completely broken this applications apears to be I wondered if
anyone else on FreeBSD has seen this..

Basically, on -STABLE, the net/ntop port just won't stay running for
more than a few minutes without segfaulting like so:

Aug 27 16:07:40 nubian ntop[85870]:   ntop v.3.0 SourceForge .tgz MT (SSL)
Aug 27 16:07:40 nubian ntop[85870]:   Configured on Aug 26 2004  7:47:47, built on Aug 
26 2004 07:48:58.
Aug 27 16:07:40 nubian ntop[85870]:   Copyright 1998-2004 by Luca Deri <[EMAIL 
PROTECTED]>
Aug 27 16:07:40 nubian ntop[85870]:   Get the freshest ntop from http://www.ntop.org/
Aug 27 16:07:40 nubian ntop[85870]:   Initializing ntop
Aug 27 16:07:40 nubian /kernel: sis0: promiscuous mode enabled
Aug 27 16:07:40 nubian ntop[85870]:   Checking sis0 for additional devices
Aug 27 16:07:40 nubian ntop[85870]:   Resetting traffic statistics for device sis0
Aug 27 16:07:40 nubian ntop[85870]:   DLT: Device 0 [sis0] is 1, mtu 1514, header 14
Aug 27 16:07:40 nubian ntop[85870]:   Initializing gdbm databases
Aug 27 16:07:40 nubian ntop[85870]:   Now running as requested user 'ntop' (1030:1030)
Aug 27 16:07:40 nubian ntop[85870]:   VENDOR: Loading MAC address table.
Aug 27 16:07:40 nubian ntop[85870]:   VENDOR: Checking for MAC address table file
Aug 27 16:07:40 nubian ntop[85870]:   VENDOR: File 
'/usr/local/etc/ntop/specialMAC.txt.gz' does not need to be reloaded
Aug 27 16:07:40 nubian ntop[85870]:   VENDOR: ntop continues ok
Aug 27 16:07:40 nubian ntop[85870]:   VENDOR: Checking for MAC address table file
Aug 27 16:07:41 nubian ntop[85870]:   VENDOR: File '/usr/local/etc/ntop/oui.txt.gz' 
does not need to be reloaded
Aug 27 16:07:41 nubian ntop[85870]:   VENDOR: ntop continues ok
Aug 27 16:07:41 nubian ntop[85870]:   INIT: Parent process is exiting (this is normal)
Aug 27 16:07:41 nubian ntop[85872]:   INIT: Bye bye: I'm becoming a daemon...
Aug 27 16:07:41 nubian ntop[85872]:   Now running as a daemon
Aug 27 16:07:41 nubian ntop[85872]:   OSFP: Checking for OS fingerprint table file
Aug 27 16:07:41 nubian ntop[85872]:   OSFP: Loading file 
'/usr/local/etc/ntop/etter.passive.os.fp.gz'
Aug 27 16:07:41 nubian ntop[85872]:   ASN: Checking for Autonomous System Number table 
file
Aug 27 16:07:41 nubian ntop[85872]:   **WARNING** ASN: Unable to open file 
'AS-list.txt'
Aug 27 16:07:41 nubian ntop[85872]:   I18N: This instance of ntop does not support 
multiple languages
Aug 27 16:07:41 nubian ntop[85872]:   IP2CC: Checking for IP address <-> Country Code 
mapping file
Aug 27 16:07:41 nubian ntop[85872]:   IP2CC: Loading file 
'/usr/local/etc/ntop/p2c.opt.table.gz'
Aug 27 16:07:43 nubian ntop[85872]:   IP2CC: ...found 52395 lines
Aug 27 16:07:43 nubian ntop[85872]:   GDVERCHK: Guessing at libgd version
Aug 27 16:07:43 nubian ntop[85872]:   GDVERCHK: ... as 2.0.21+
Aug 27 16:07:43 nubian ntop[85872]:   Initializing external applications
Aug 27 16:07:43 nubian ntop[85872]:   Initializing semaphores, mutexes and threads
Aug 27 16:07:43 nubian ntop[85872]:   THREADMGMT: Started thread (134577152) for 
network packet analyser
Aug 27 16:07:43 nubian ntop[85872]:   THREADMGMT: Started thread (135754752) for 
fingerprinting
Aug 27 16:07:43 nubian ntop[85872]:   THREADMGMT: Started thread (135755776) for idle 
hosts detection
Aug 27 16:07:43 nubian ntop[85872]:   THREADMGMT: Started thread (135756800) for DNS 
address resolution
Aug 27 16:07:43 nubian ntop[85872]:   Calling plugin start functions (if any)
Aug 27 16:07:43 nubian ntop[85872]:   Sniffying...
Aug 27 16:07:43 nubian ntop[85872]:   INIT: Created pid file (/var/db/ntop/ntop.pid)
Aug 27 16:07:43 nubian ntop[85872]:   Listening on [sis0]
Aug 27 16:07:43 nubian ntop[85872]:   Now running as requested user 'ntop' (1030:1030)
Aug 27 16:07:43 nubian ntop[85872]:   Loading Plugins
Aug 27 16:07:43 nubian ntop[85872]:   Searching for plugins in 
/usr/local/lib/ntop/plugins
Aug 27 16:07:43 nubian ntop[85872]:   ICMP: Welcome to icmpWatchPlugin. (C) 1999-2004 
by Luca Deri
Aug 27 16:07:43 nubian ntop[85872]:   LASTSEEN: Welcome to LastSeenWatchPlugin. (C) 
1999 by Andrea Marangoni
Aug 27 16:07:44 nubian ntop[85872]:   NETFLOW: Welcome to NetFlow.(C) 2002-04 by Luca 
Deri
Aug 27 16:07:44 nubian ntop[85872]:   NFS: Welcome to nfsWatchPlugin. (C) 1999-2004 by 
Luca Deri
Aug 27 16:07:45 nubian ntop[85872]:   PDA: Welcome to PDAPlugin. (C) 2001-2004 by 
L.Deri and W.Brock
Aug 27 16:07:45 nubian ntop[85872]:   RRD: Welcome to rrdPlugin. (C) 2002-04 by Luca 
Deri.
Aug 27 16:07:45 nubian ntop[85872]:   SFLOW: Welcome to sFlowPlugin. (C) 2002-04 by 
Luca Deri
Aug 27 16:07:45 nubian ntop[85872]:   XML: Welcome to xmldump plugin. (C) 2003-2004 by 
Burton Strauss
Aug 27 16:07:45 nubian ntop[85872]:   Calling plugin start functions (if any)
Aug 27 16:07:45 nubian ntop[85872]:   RRD: Welcome to the RRD plugin
Aug 27 16:07:45 nubian ntop[85872]:   RRD: Mask for new directories is 0700
Aug 27 16:07:45 nubian ntop[85872]:   RRD: Mask for new files is 0066
Aug 27 16:07:45 nubian ntop[85872]:   THREADMGMT: Packet processor thread running...
Aug 27 16:07:45 nubian ntop[85872]:   THREADMGMT: Fingerprint scan thread running...
Aug 27 16:07:45 nubian ntop[85872]:   THREADMGMT: Idle host scan thread running...
Aug 27 16:07:45 nubian ntop[85872]:   THREADMGMT: Address resolution thread running...
Aug 27 16:07:45 nubian ntop[85872]:   CHKVER: Checking current ntop version at 
version.ntop.org/version.xml
Aug 27 16:07:45 nubian ntop[85872]:   THREADMGMT: rrd thread (135812096) started
Aug 27 16:07:45 nubian ntop[85872]:   RRD: Started thread (135812096) for data 
collection.
Aug 27 16:07:45 nubian ntop[85872]:   SSL: Initializing...
Aug 27 16:07:45 nubian ntop[85872]:   SSL_PRNG: Automatically initialized!
Aug 27 16:07:46 nubian ntop[85872]:   SSL initialized successfully
Aug 27 16:07:46 nubian ntop[85872]:   Note: Reporting device initally set to 0 [sis0] 
(merged)
Aug 27 16:07:46 nubian ntop[85872]:   INITWEB: Initializing web server
Aug 27 16:07:46 nubian ntop[85872]:   INITWEB: Initializing tcp/ip socket connections 
for web server
Aug 27 16:07:46 nubian ntop[85872]:   INITWEB: Initialized socket, port 3000, address 
(any)
Aug 27 16:07:46 nubian ntop[85872]:   INITWEB: Waiting for HTTP connections on port 
3000
Aug 27 16:07:46 nubian ntop[85872]:   INITWEB: Initialized ssl socket, port 3001, 
address (any)
Aug 27 16:07:46 nubian ntop[85872]:   INITWEB: Waiting for HTTPS (SSL) connections on 
port 3001
Aug 27 16:07:46 nubian ntop[85872]:   INITWEB: Starting web server
Aug 27 16:07:46 nubian ntop[85872]:   THREADMGMT: Started thread (135814144) for web 
server
Aug 27 16:07:46 nubian ntop[85872]:   THREADMGMT: Started thread (139984896) for 
network packet sniffing on sis0
Aug 27 16:07:46 nubian ntop[85872]:   THREADMGMT: web connections thread (85872) 
started...
Aug 27 16:07:46 nubian ntop[85872]:   Note: SIGPIPE handler set (ignore)
Aug 27 16:07:46 nubian ntop[85872]:   WEB: ntop's web server is now processing requests
Aug 27 16:07:46 nubian ntop[85872]:   THREADMGMT: pcap dispatch thread running...
Aug 27 16:07:46 nubian ntop[85872]:   CHKVER: Version file is from 'version.ntop.org'
Aug 27 16:07:46 nubian ntop[85872]:   CHKVER: as of date is '2004-03-22T04:30:00'
Aug 27 16:07:46 nubian ntop[85872]:   CHKVER: This version of ntop is the CURRENT 
stable version
Aug 27 16:32:02 nubian ntop[85872]:   **WARNING** Error: bad magic number 
(expected=1968/real=0)
Aug 27 16:32:02 nubian ntop[85872]:   **WARNING** Error: wrong bucketIdx 4B:6A/ 
(expected=12056/real=2)
Aug 27 16:32:03 nubian /kernel: pid 85872 (ntop), uid 1030: exited on signal 11
Aug 27 16:32:03 nubian /kernel: sis0: promiscuous mode disabled

Port options in use are WITH_PCAP_PORT and WITHOUT_TCPWRAPPR

FreeBSD nubian.blitzed.org 4.10-STABLE FreeBSD 4.10-STABLE #0: Sun Jun 13 15:13:51 UTC 
2004     [EMAIL PROTECTED]:/usr/obj/usr/src/sys/NUBIAN  i386

Anyone got any ideas before I take this to an ntop list?

Attachment: pgpwtDYkMjRs1.pgp
Description: PGP signature

Reply via email to