Pitcher sets, delivers... Batter swings - good contact with the ball - it's
going deep, way back ... oh no, it's curving towards the foul pole ... it's
a foul ball...

SIGPIPE is the spurious one.  SIGSEGV is what you want to trap.  By
continuing, you just let ntop's handler grab it, which doesn't give us the
info...  read the 'GDB ultraMini-tutorial' in docs/FAQ - it shows the output
from bt full... that's what we need to see.


-----Burton


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Byron Munns
Sent: Tuesday, July 01, 2003 12:50 AM
To: [EMAIL PROTECTED]
Subject: RE: [Ntop-dev] Problem Report Id: PR_73NWKZ6


Try again

01/Jul/2003 12:05:48 Get the freshest ntop from http://www.ntop.org/
01/Jul/2003 12:05:48 Initializing ntop
SSL is present but https is disabled: use -W <https port> for enabling it
01/Jul/2003 12:05:48 Initializing gdbm databases
01/Jul/2003 12:05:48 Listening on [eth0]
01/Jul/2003 12:05:48 **WARNING** Truncated network size (device eth0) to
1024 hosts (real netmask 255.255.252.0)
01/Jul/2003 12:05:48 Loading Plugins
01/Jul/2003 12:05:48 Searching for plugins in /usr/local/lib/ntop/plugins
01/Jul/2003 12:05:49 ICMP: Welcome to icmpWatchPlugin. (C) 1999 by Luca Deri
01/Jul/2003 12:05:51 LASTSEEN: Welcome to LastSeenWatchPlugin. (C) 1999 by
Andrea Marangoni
01/Jul/2003 12:05:52 NETFLOW: Welcome to NetFlow.(C) 2002 by Luca Deri
01/Jul/2003 12:05:54 NFS: Welcome to nfsWatchPlugin. (C) 1999 by Luca Deri
01/Jul/2003 12:05:56 PDA: Welcome to PDAPlugin. (C) 2001-2002 by L.Deri and
W.Brock
01/Jul/2003 12:05:58 SFLOW: Welcome to sFlowPlugin. (C) 2002 by Luca Deri
01/Jul/2003 12:05:59 RRD: Welcome to rrdPlugin. (C) 2002 by Luca Deri.
01/Jul/2003 12:05:59 Plugins loaded... continuing with initialization
01/Jul/2003 12:06:00 Resetting traffic statistics...
01/Jul/2003 12:06:00 VENDOR: Loading MAC address table.
01/Jul/2003 12:06:00 VENDOR: Checking './specialMAC.txt'
01/Jul/2003 12:06:00 VENDOR: Checking '/usr/local/etc/ntop/specialMAC.txt'
01/Jul/2003 12:06:00 VENDOR: ...found, 61 lines, loaded 59 records!
01/Jul/2003 12:06:00 VENDOR: Checking './oui.txt'
01/Jul/2003 12:06:00 VENDOR: Checking '/usr/local/etc/ntop/oui.txt'
01/Jul/2003 12:06:00 VENDOR: ...found, 70 lines, loaded 62 records!
01/Jul/2003 12:06:00 I18N: This instance of ntop does not support multiple
languages
01/Jul/2003 12:06:00 IP2CC: Looking for IP address <-> Country code mapping
file
01/Jul/2003 12:06:01 IP2CC: 47455 records read
01/Jul/2003 12:06:01 THREADMGMT: Packet processor thread (0) started...
01/Jul/2003 12:06:01 THREADMGMT: Started thread (1026) for network packet
analyser
01/Jul/2003 12:06:01 THREADMGMT: Idle Scan thread (0) started
01/Jul/2003 12:06:01 THREADMGMT: Started thread (2051) for idle hosts
detection
01/Jul/2003 12:06:01 THREADMGMT: Address resolution thread started...
01/Jul/2003 12:06:01 THREADMGMT: Started thread (3076) for DNS address
resolution
01/Jul/2003 12:06:01 Calling plugin start functions (if any)
01/Jul/2003 12:06:01 RRD: Welcome to the RRD plugin
01/Jul/2003 12:06:01 THREADMGMT: rrd thread (0) started
01/Jul/2003 12:06:01 RRD: Started thread (4101) for data collection.
01/Jul/2003 12:06:01 NETFLOW: White list initialized to ''
01/Jul/2003 12:06:01 NETFLOW: Black list initialized to ''
01/Jul/2003 12:06:01 NETFLOW: Collector listening on port 2055
01/Jul/2003 12:06:01 NETFLOW: Export disabled at user request
01/Jul/2003 12:06:01 THREADMGMT: netFlow thread(0) started
01/Jul/2003 12:06:01 WEB: Initializing
01/Jul/2003 12:06:01 Note: Reporting device set to 1[NetFlow-device]
01/Jul/2003 12:06:01 WEB: Waiting for HTTP connections on port 3000
01/Jul/2003 12:06:01 THREADMGMT: web connections thread (0) started...
01/Jul/2003 12:06:01 THREADMGMT: Started thread (6151) for web server
01/Jul/2003 12:06:01 Sniffying...
01/Jul/2003 12:06:01 THREADMGMT: pcap dispatch thread started...
01/Jul/2003 12:06:01 Extending hash size [32->512][deviceId=0]
01/Jul/2003 12:06:02 THREADMGMT: Started thread (7176) for network packet
sniffing on eth0
01/Jul/2003 12:06:03 Extending hash size [32->512][deviceId=1]
01/Jul/2003 12:07:03 IDLE_PURGE: purgeIdleHosts firstRun (mutex every 64
times through the loop)
01/Jul/2003 12:11:05 RRD: rrdtool create --start now-1 file --step 300
DS:counter:COUNTER:300:0:12500000 RRA:AVERAGE:0.5:1:864 RRA:MIN:0.5:1:72
RRA:MAX:0.5:1:72 RRA:AVERAGE:0.5:12:2160 RRA:AVERAGE:0.5:288:1080
01/Jul/2003 12:14:51 Extending hash size [512->1024][deviceId=1]
01/Jul/2003 12:16:25 RRD: rrdtool create --start now-1 file --step 300
DS:counter:COUNTER:300:0:195312 RRA:AVERAGE:0.5:1:864 RRA:MIN:0.5:1:72
RRA:MAX:0.5:1:72 RRA:AVERAGE:0.5:12:2160 RRA:AVERAGE:0.5:288:1080
01/Jul/2003 12:18:07 **WARNING** gzflush error -2(stream error)
01/Jul/2003 12:18:15 **WARNING** RRD:
rrd_update(/home/ntop/rrd/interfaces/NetFlow-device/hosts/172.31.3.233/IP_NB
ios-IPRcvdBytes.rrd) error: expected 1 data source readings (got 0) from
/home/ntop/rrd/interfaces/NetFlow-device/hosts/172.31.3.233/IP_NBios-IPRcvdB
ytes.rrd:...
[New Thread 1024 (LWP 13532)]
[New Thread 2049 (LWP 13539)]
[New Thread 1026 (LWP 13540)]
[New Thread 2051 (LWP 13541)]
[New Thread 3076 (LWP 13542)]
[New Thread 4101 (LWP 13543)]
[New Thread 5126 (LWP 13544)]
[New Thread 6151 (LWP 13545)]
[New Thread 7176 (LWP 13546)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 4101 (LWP 13543)]
0x404a30c7 in pthread_mutex_lock () from /lib/i686/libpthread.so.0
(gdb) cont
Continuing.
01/Jul/2003 12:19:21 CLEANUP: ntop caught signal 11
01/Jul/2003 12:19:21 **ERROR** BACKTRACE: *****ntop error: Signal(11)
01/Jul/2003 12:19:21 **ERROR** BACKTRACE:     backtrace is:
01/Jul/2003 12:19:21 **ERROR** BACKTRACE:           1.
/lib/i686/libpthread.so.0 [0x404a4f75]
01/Jul/2003 12:19:21 **ERROR** BACKTRACE:           2. /usr/local/bin/ntop
[0x42029098]
01/Jul/2003 12:19:21 **ERROR** BACKTRACE:           3.
/usr/local/bin/ntop(__libc_free+0xa8) [0x4207ac18]
01/Jul/2003 12:19:21 **ERROR** BACKTRACE:           4.
/usr/local/lib/libntop-2.2.so(ntop_safefree+0x51) [0x4013d169]
01/Jul/2003 12:19:21 **ERROR** BACKTRACE:           5.
/usr/local/lib/ntop/plugins/rrdPlugin.so [0x4102374a]
01/Jul/2003 12:19:21 **ERROR** BACKTRACE:           6.
/usr/local/lib/ntop/plugins/rrdPlugin.so(updateCounter+0x19) [0x41023775]
01/Jul/2003 12:19:21 **ERROR** BACKTRACE:           7.
/usr/local/lib/ntop/plugins/rrdPlugin.so [0x41025b43]
01/Jul/2003 12:19:21 **ERROR** BACKTRACE:           8.
/lib/i686/libpthread.so.0 [0x404a1fef]
01/Jul/2003 12:19:21 **ERROR** BACKTRACE:           9.
/lib/i686/libpthread.so.0 [0x404a20df]
01/Jul/2003 12:19:21 **ERROR** BACKTRACE:          10.
/usr/local/bin/ntop(__clone+0x3a) [0x420e779a]
01/Jul/2003 12:19:21 CLEANUP: Cleaning up, set FLAG_NTOPSTATE_TERM
01/Jul/2003 12:19:21 CLEANUP: Waiting until threads terminate
01/Jul/2003 12:19:21 **WARNING** THREADMGMT: Address resolution thread
terminated...
01/Jul/2003 12:19:21 **WARNING** THREADMGMT: netFlow thread(5126) terminated
01/Jul/2003 12:19:21 **WARNING** THREADMGMT: web connections thread (6151)
terminated...
01/Jul/2003 12:19:24 FREE_HOST: Start, 2 device(s)
01/Jul/2003 12:19:24 FREE_HOST: End, freed 791
01/Jul/2003 12:19:24 FREE_HOST: Start, 2 device(s)
01/Jul/2003 12:19:24 FREE_HOST: End, freed 0
01/Jul/2003 12:19:24 PLUGIN_TERM: Unloading plugins (if any)
01/Jul/2003 12:19:24 RRD: Thanks for using the rrdPlugin
01/Jul/2003 12:19:24 RRD: Done
01/Jul/2003 12:19:30 NETFLOW: Thanks for using ntop NetFlow
01/Jul/2003 12:19:30 NETFLOW: Done
01/Jul/2003 12:19:34 NETFLOW: Cisco NetFlow exporter terminated
01/Jul/2003 12:19:34 **ERROR** ERROR: releaseMutex() call with an
UN-INITIALIZED mutex [pbuf.c:2584]
01/Jul/2003 12:19:34 THREADMGMT: pcap dispatch thread terminated...
01/Jul/2003 12:19:34 CLEANUP: Freeing device eth0 (idx=0)
01/Jul/2003 12:19:34 STATS: 6,265 packets received by filter on eth0
01/Jul/2003 12:19:34 STATS: 0 packets dropped by kernel
01/Jul/2003 12:19:34 STATS: 0 packets dropped by ntop
01/Jul/2003 12:19:34 CLEANUP: Freeing device NetFlow-device (idx=1)
01/Jul/2003 12:19:34 ===================================
01/Jul/2003 12:19:34         ntop is shutdown...
01/Jul/2003 12:19:34 ===================================

Program exited normally.
(gdb)  list
721     int ntop_main(int argc, char *argv[]) {
722     #else
723     int main(int argc, char *argv[]) {
724     #endif
725       int i, rc, userSpecified, bufLen;
726     #ifndef WIN32
727       int effective_argc;
728       char **effective_argv;
729     #endif
730       char ifStr[196] = {0};
(gdb) info stack
(gdb) (gdb) quit


-----Original Message-----
From: Burton M. Strauss III [mailto:[EMAIL PROTECTED]
Sent: Friday, 27 June 2003 8:28 PM
To: [EMAIL PROTECTED]
Subject: RE: [Ntop-dev] Problem Report Id: PR_73NWKZ6


The gdb stuff is precisely what we need to see.  Unfortunately, the failure
information isn't there.
It's a gdb artifact - SIGPIPE gets (additionally, erroneously or
spuriously - you pick it) tripped when you're using gdb.
You can
   - perhaps - turn off the signal (help signal, IIRC it's (gdb) handle
SIGPIPE nostop),
   - QUICKLY type cont at the (gdb) prompt,
or - use the --ignore-sigpipe run time option.
That will continue ntop getting you past the specious SIGPIPE failure to see
what's really wrong.
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Byron Munns
Sent: Thursday, June 26, 2003 10:15 PM
To: [EMAIL PROTECTED]
Subject: [Ntop-dev] Problem Report Id: PR_73NWKZ6



From:  Byron Munns
EMail: [EMAIL PROTECTED]
Date:  2003-06-27 01:49:55 GMT
----------------------------------------------------------------------------
---
Summary
Program keeps crashing with a segmentation fault this is preceded by it
complaining about  the rrd update time being the same as the previous. I
have also included in this mail the  output from gdb
--------------------- gdb starts
here------------------------------------------
GNU gdb Red Hat Linux (5.1.90CVS-5)
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-redhat-linux"...
(gdb) set args -u ntop -P /home/ntop -K
(gdb) run
Starting program: /usr/local/bin/ntop -u ntop -P /home/ntop -K
Wait please: ntop is coming up...
27/Jun/2003 09:15:12 ntop v.2.2 MT (SSL) [i686-pc-linux-gnu] (06/20/03
04:21:13 PM build)
27/Jun/2003 09:15:12 Copyright 1998-2003 by Luca Deri <[EMAIL PROTECTED]>
27/Jun/2003 09:15:12 Get the freshest ntop from http://www.ntop.org/
27/Jun/2003 09:15:12 Initializing ntop
SSL is present but https is disabled: use -W <https port> for enabling it
27/Jun/2003 09:15:12 Initializing gdbm databases
27/Jun/2003 09:15:12 Listening on [eth0]
27/Jun/2003 09:15:12 **WARNING** Truncated network size (device eth0) to
1024 hosts (real  netmask 255.255.252.0)
27/Jun/2003 09:15:12 Loading Plugins
27/Jun/2003 09:15:12 Searching for plugins in /usr/local/lib/ntop/plugins
27/Jun/2003 09:15:13 ICMP: Welcome to icmpWatchPlugin. (C) 1999 by Luca Deri
27/Jun/2003 09:15:15 LASTSEEN: Welcome to LastSeenWatchPlugin. (C) 1999 by
Andrea Marangoni
27/Jun/2003 10:26:51 NETFLOW: Welcome to NetFlow.(C) 2002 by Luca Deri
27/Jun/2003 09:15:18 NFS: Welcome to nfsWatchPlugin. (C) 1999 by Luca Deri
27/Jun/2003 09:15:20 PDA: Welcome to PDAPlugin. (C) 2001-2002 by L.Deri and
W.Brock
27/Jun/2003 09:15:22 SFLOW: Welcome to sFlowPlugin. (C) 2002 by Luca Deri
27/Jun/2003 09:15:23 RRD: Welcome to rrdPlugin. (C) 2002 by Luca Deri.
27/Jun/2003 09:15:23 Plugins loaded... continuing with initialization
27/Jun/2003 09:15:24 Resetting traffic statistics...
27/Jun/2003 09:15:24 VENDOR: Loading MAC address table.
27/Jun/2003 09:15:24 VENDOR: Checking './specialMAC.txt'
27/Jun/2003 09:15:24 VENDOR: Checking '/usr/local/etc/ntop/specialMAC.txt'
27/Jun/2003 09:15:24 VENDOR: ...found, 61 lines, loaded 59 records!
27/Jun/2003 09:15:24 VENDOR: Checking './oui.txt'
27/Jun/2003 09:15:24 VENDOR: Checking '/usr/local/etc/ntop/oui.txt'
27/Jun/2003 09:15:24 VENDOR: ...found, 70 lines, loaded 62 records!
27/Jun/2003 09:15:24 I18N: This instance of ntop does not support multiple
languages
27/Jun/2003 09:15:24 IP2CC: Looking for IP address <-> Country code mapping
file
27/Jun/2003 09:15:24 IP2CC: 47455 records read
27/Jun/2003 09:15:25 THREADMGMT: Packet processor thread (0) started...
27/Jun/2003 09:15:25 THREADMGMT: Started thread (1026) for network packet
analyser
27/Jun/2003 09:15:25 THREADMGMT: Idle Scan thread (0) started
27/Jun/2003 09:15:25 THREADMGMT: Started thread (2051) for idle hosts
detection
27/Jun/2003 09:15:25 THREADMGMT: Address resolution thread started...
27/Jun/2003 09:15:25 THREADMGMT: Started thread (3076) for DNS address
resolution
27/Jun/2003 09:15:25 Calling plugin start functions (if any)
27/Jun/2003 09:15:25 RRD: Welcome to the RRD plugin
27/Jun/2003 09:15:25 THREADMGMT: rrd thread (0) started
27/Jun/2003 09:15:25 RRD: Started thread (4101) for data collection.
27/Jun/2003 09:15:25 NETFLOW: White list initialized to ''
27/Jun/2003 09:15:25 NETFLOW: Black list initialized to ''
27/Jun/2003 09:15:25 NETFLOW: Collector listening on port 2055
27/Jun/2003 09:15:25 NETFLOW: Export disabled at user request
27/Jun/2003 09:15:25 THREADMGMT: netFlow thread(0) started
27/Jun/2003 09:15:25 Extending hash size [32->512][deviceId=1]
27/Jun/2003 09:15:26 WEB: Initializing
27/Jun/2003 09:15:26 Note: Reporting device set to 1[NetFlow-device]
27/Jun/2003 09:15:26 WEB: Waiting for HTTP connections on port 3000
27/Jun/2003 09:15:27 THREADMGMT: web connections thread (0) started...
27/Jun/2003 09:15:27 THREADMGMT: Started thread (6151) for web server
27/Jun/2003 09:15:27 Sniffying...
27/Jun/2003 09:15:27 THREADMGMT: pcap dispatch thread started...
27/Jun/2003 09:15:27 THREADMGMT: Started thread (7176) for network packet
sniffing on eth0
27/Jun/2003 09:15:30 Extending hash size [32->512][deviceId=0]
[New Thread 1024 (LWP 7757)]
[New Thread 2049 (LWP 7764)]
[New Thread 1026 (LWP 7765)]
[New Thread 2051 (LWP 7766)]
[New Thread 3076 (LWP 7767)]
[New Thread 4101 (LWP 7768)]
[New Thread 5126 (LWP 7769)]
[New Thread 6151 (LWP 7770)]
[New Thread 7176 (LWP 7771)]
Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 6151 (LWP 7770)]
0x420e8242 in send () from /lib/i686/libc.so.6
(gdb) list
721     int ntop_main(int argc, char *argv[]) {
722     #else
723     int main(int argc, char *argv[]) {
724     #endif
725       int i, rc, userSpecified, bufLen;
726     #ifndef WIN32
727       int effective_argc;
728       char **effective_argv;
729     #endif
730       char ifStr[196] = {0};
(gdb) info stack
#0  0x420e8242 in send () from /lib/i686/libc.so.6
#1  0x404a6cf4 in send () from /lib/i686/libpthread.so.0
#2  0x400335e4 in sendStringLen (theString=0x44933d9c "HTTP/1.0 200 OK\r\n",
    len=17) at http.c:483
#3  0x40033679 in sendString (theString=0x44933d9c "HTTP/1.0 200 OK\r\n")
    at http.c:520
#4  0x400342dc in sendHTTPHeader (mimeType=1, headerFlags=17) at http.c:831
#5  0x4003515f in returnHTTPPage (pageName=0x449344fd "index.html",
    postLen=-1, from=0x4493471c, httpRequestedAt=0x449343b4,
    usedFork=0x449343b0, agent=0x449343bc "") at http.c:1367
#6  0x40037d92 in handleHTTPrequest (from={s_addr = 3406724212}) at
http.c:2492
#7  0x40060792 in handleSingleWebConnection (fdmask=0x44934a0c)
    at webInterface.c:5097
#8  0x40060493 in handleWebConnections (notUsed=0x0) at webInterface.c:4963
#9  0x404a1fef in pthread_start_thread () from /lib/i686/libpthread.so.0
#10 0x404a20df in pthread_start_thread_event () from
/lib/i686/libpthread.so.0
(gdb) list
731       time_t lastTime;
732       char *startedAs, *cmdLineBuffer, *readBuffer, *readBufferWork;
733       FILE *fd;
734       struct stat fileStat;
735       int _argc;
736       char *_argv[MAX_NUM_OPTIONS];
737
738       memset(&myGlobals, 0, sizeof(myGlobals));
739
740       /* printf("HostTraffic=%d\n", sizeof(HostTraffic)); return(-1); */
(gdb) list
741
742     #ifndef MAKE_MICRO_NTOP
743       printf("Wait please: ntop is coming up...\n");
744     #else
745       printf("Wait please: ntop (micro) is coming up...\n");
746     #endif
747
748     #ifdef MTRACE
749       mtrace();
750     #endif
(gdb) list
751
752     #ifdef MEMORY_DEBUG
753       initLeaks(); /* Don't move this below nor above */
754     #endif
755
756       /* *********************** */
757
758       if((argc == 2) && (argv[1][0] != '-')) {
759         /* Options specified on a configuration file */
760         FILE *fd = fopen(argv[optind], "r");
(gdb) quit
The program is running.  Exit anyway? (y or n)


------------------------gdb ends here------------------------------------




OS: Redhat Linux_____  version: 7.3______
ntop from: ______________________________ (rpm, source, ports, etc.)
Hardware:  CPU:           ___i86__ (i86, SPARC, etc.)
           # Processors:  _____1
           Memory:        ___124MB
Network:
     Network Interface  0  eth0
     Ethernet:         615
     Broadcast:         36
     Multicast:          1
     IP:               539
          Mfg: ____________________  Model: ____________________
          NIC Speed: 10/100/1000/Other  Bus: PCI ISA USB Firewire Other
          Location:  Public Internet / LAN / WAN
          Bandwidth: Dialup  DSL/CableModem  fT1  T1  10Mbps T3 100Mbps+
          # Hosts (machines): __________
     Network Interface  1  NetFlow-device
     Ethernet:       29315
     Broadcast:         59
     IP:             29315
          Mfg: ____________________  Model: ____________________
          NIC Speed: 10/100/1000/Other  Bus: PCI ISA USB Firewire Other
          Location:  Public Internet / LAN / WAN
          Bandwidth: Dialup  DSL/CableModem  fT1  T1  10Mbps T3 100Mbps+
          # Hosts (machines): __________
----------------------------------------------------------------------------
---
Log extract





----------------------------------------------------------------------------
---
Problem Description









----------------------------------------------------------------------------
---
ntop version.....2.2
Built on.....06/20/03 04:21:13 PM
OS.....i686-pc-linux-gnu
Process Id.....7804


Command line
Started as..../usr/local/bin/ntop -u ntop -P /home/ntop
Resolved to..../usr/local/bin/ntop
            -u
            ntop
            -P
            /home/ntop


Command line parameters are:
-a | --access-log-path.....(default)   (nil)
-b | --disable-decoders.....(default)   No
-c | --sticky-hosts.....(default)   No
-d | --daemon.....No
-e | --max-table-rows.....(default)   128
-f | --traffic-dump-file.....(default)   (nil)
-g | --track-local-hosts.....(default)   Track all hosts
-o | --no-mac.....(default)   Trust MAC Addresses
-i | --interface   (effective).....eth0
-k | --filter-expression-in-extra-frame.....(default)   No
-l | --pcap-log.....(default)   (nil)
-m | --local-subnets   (effective).....
-n | --numeric-ip-addresses.....(default)   No
-p | --protocols.....(default)   internal list
-q | --create-suspicious-packets.....(default)   Disabled
-r | --refresh-time.....(default)   120
-s | --no-promiscuous.....(default)   No
-t | --trace-level.....(default)   3
-u | --user.....ntop (uid=100, gid=500)
-w | --http-server.....(default)   Active, all interfaces, port 3000
-z | --disable-sessions.....(default)   No
-B | --filter-expression.....(default)   none
-D | --domain.....localdomain
-E | --enable-external-tools.....(default)   No
-F | --flow-spec.....(default)   none
-K | --enable-debug.....(default)   No
-L | --use-syslog.....daemon
-M | --no-interface-merge   (effective).....(parameter -M set, Interfaces
separate) No
-O | --pcap-file-path.....(default)   /usr/local/var/ntop
-P | --db-file-path...../home/ntop
-U | --mapper.....(default)   (nil)
-W | --https-server.....Uninitialized
--throughput-chart-type.....(default)   Area
--ignore-sigpipe.....(default)   No
--ssl-watchdog.....(default)   No
--dynamic-purge-limits.....(default)   No
--reuse-rrd-graphics.....(default)   No
--p3p-cp.....(default)   none
--p3p-uri.....(default)   none
--disable-stopcap.....(default)   No


Note:    (effective)   means that this is the value after ntop has processed
the parameter.
(default)   means this is the default value, usually (but not always) set by
a #define in  globals-defines.h.



Run time/Internal
External tool: lsof.....(no -E parameter): Disabled
Web server URL.....http://any:3000
SSL Web server (https://).....Not Active
GDBM version.....This is GDBM version 1.8.0, as of May 19, 1999.
OpenSSL Version.....OpenSSL 0.9.6b [engine] 9 Jul 2001
zlib version.....1.1.4
Protocol Decoders.....Enabled
Fragment Handling.....Enabled
Tracking only local hosts.....No
# IP Protocols Being Monitored.....18
# Protocol slots.....950
# IP Ports Being Monitored.....58
# Ports slots.....116
# Handled SIGPIPE Errors.....0
# Handled HTTP Requests.....47
Devices (Network Interfaces).....2
Domain name (short).....localdomain
IP to country flag table (entries).....47455
Total Hash Collisions (Vendor/Special) (lookup).....0
Local Networks.....172.31.0.0/255.255.252.0 [device eth0]
          192.168.0.1/255.255.255.0 [device NetFlow-device]


Memory allocation - data segment
arena limit, getrlimit(RLIMIT_DATA, ...).....-1
Allocated blocks (ordblks).....3
Allocated (arena).....8270504
Used (uordblks).....8262544
Free (fordblks).....7960


Memory allocation - mmapped
Allocated blocks (hblks).....6
Allocated bytes (hblkhd).....5812224


Memory Usage
IPX/SAP Hash Size (bytes).....1897
IP to country flag table (bytes).....1454304 (1.4 MB)
Bytes per entry.....30.6
Current memory usage.....14082728
Base memory usage.....9134760
Hosts stored (active+cache).....387 = (387 + 0)
(very) Approximate memory per host.....12.5KB


Host Memory Cache
Limit.....#define MAX_HOSTS_CACHE_LEN 512
Current Size.....0
Maximum Size.....0
# Entries Reused.....0


MAC/IPX Hash tables
IPX/SAP Hash Size (entries).....179
IPX/SAP Hash Collisions (load).....0
IPX/SAP Hash Collisions (use).....0


Packet queue
Queued to Process.....0
Maximum queue.....0


Host/Session counts - global
Purge idle hosts.....Enabled
Purged hosts.....0
Maximum hosts to purge per cycle.....512
DEFAULT_MAXIMUM_HOSTS_PURGE_PER_CYCLE.....512
Terminated Sessions.....73
Host/Session counts - Device 0 (eth0)
Actual Hash Size.....512
Stored hosts.....80 [15 %]
Sessions.....43
Max Num. Sessions.....43
Host/Session counts - Device 1 (NetFlow-device)
Actual Hash Size.....512
Stored hosts.....307 [59 %]
Sessions.....0
Max Num. Sessions.....0


Address Resolution
DNS sniffed:
DNS Packets sniffed.....21
  less 'requests'.....13
  less 'failed'.....6
  less 'reverse dns' (in-addr.arpa).....2
DNS Packets processed.....0
Stored in cache (includes aliases).....0


IP to name - ipaddr2str():
Total calls.....355
....OK.....2
....Total not found.....353
........Not found in cache.....353
........Too old in cache.....0


Queued - dequeueAddress():
Total Queued.....315
Not queued (duplicate).....38
Maximum Queued.....293
Current Queue.....293


Resolved - resolveAddress():
Addresses to resolve.....23
....less 'Error: No cache database'.....0
....less 'Found in ntop cache'.....0
Gives: # gethost (DNS lookup) calls.....23


DNS lookup calls:
DNS resolution attempts.....23
....Success: Resolved.....7
....Failed.....15
........HOST_NOT_FOUND.....11
........NO_DATA.....0
........NO_RECOVERY.....0
........TRY_AGAIN (don't store).....4
........Other error (don't store).....0
DNS lookups stored in cache.....18
Host addresses kept numeric.....15


Vendor Lookup Table
Input lines read.....131
Records added total.....121
.....includes special records.....59
getVendorInfo() calls.....0
getSpecialVendorInfo() calls.....46
Found 48bit (xx:xx:xx:xx:xx:xx) match.....1
Found 24bit (xx:xx:xx) match.....16
Found multicast bit set.....1
Found LAA (Locally assigned address) bit set.....0


Thread counts
Active.....7
Dequeue.....1
Children (active).....5
Reject duration (seconds).....300
It is now.....Fri 27 Jun 2003 09:49:54 WST
Directory (search) order
Data Files......<br>/usr/local/share/ntop<br>
Config Files......<br>/usr/local/etc/ntop<br>/etc<br>
Plugins....../plugins<br>/usr/local/lib/ntop/plugins<br>


Compile Time: ./configure
./configure
arameters.....--with-rrd-root=/usr/local/rrdtool-1.0.42  --with-libpng-root=
/usr/lib --with-glib-include=/usr/include/glib-2.0  --with-glibconfig-root=/
usr/lib/glib-2.0
Built on (Host).....i686-pc-linux-gnu
Built for (Target).....i686-pc-linux-gnu
compiler
(cflags).....gcc -DLINUX -g -O2 -Wshadow -Wpointer-arith -Wmissing-prototype
s  -Wmissing-declarations -Wnested-externs -fPIC -DHAVE_CONFIG_H
include
ath.....-I/usr/local/src/ntop-2.2/gdchart0.94c/zlib-1.1.4  -I/usr/local/src/
ntop-2.2/gdchart0.94c -I/usr/local/src/ntop-2.2/gdchart0.94c/gd-1.8.3  -I/us
r/lib -I/usr/local/rrdtool-1.0.42/include
system
libraries.....-lxml2 -lglib -lpthread -lresolv -lnsl -lssl -lcrypto -lpcap -
lgdbm  -ldl -lcrypt -lc -L/usr/local/src/ntop-2.2/gdchart0.94c/zlib-1.1.4 -l
z  -L/usr/local/src/ntop-2.2/gdchart0.94c -lgdchart  -L/usr/local/src/ntop-2
.2/gdchart0.94c/gd-1.8.3 -lgd -L/usr/lib -lpng  -L/usr/local/rrdtool-1.0.42/
lib -lrrd
install path...../usr/local
GNU C (gcc) version.....2.96 20000731 (Red Hat Linux 7.3 2.96-110) (2.96.0)


Internationalization (i18n)
i18n enabled.....No


Compile Time: Debug settings in globals-defines.h
DEBUG.....no
ADDRESS_DEBUG.....no
DNS_DEBUG.....no
DNS_SNIFF_DEBUG.....no
FTP_DEBUG.....no
GDBM_DEBUG.....no
HASH_DEBUG.....no
HOST_FREE_DEBUG.....no
HTTP_DEBUG.....no
IDLE_PURGE_DEBUG.....no
MEMORY_DEBUG.....no
NETFLOW_DEBUG.....no
SEMAPHORE_DEBUG.....no
SESSION_TRACE_DEBUG.....no
SSLWATCHDOG_DEBUG.....no
STORAGE_DEBUG.....no
UNKNOWN_PACKET_DEBUG.....no


Compile Time: globals-define.h
PARM_PRINT_ALL_SESSIONS.....no
PARM_PRINT_RETRANSMISSION_DATA.....no
PARM_FORK_CHILD_PROCESS.....yes (normal)
CGI Scripts.....globals-defines.h: #define PARM_USE_CGI
Alternate row colors.....globals-defines.h: /* #define PARM_USE_COLOR */
Buggy gethostbyaddr() - use alternate implementation.....globals-defines.h:
/* #define  PARM_USE_HOST */
MAKE_ASYNC_ADDRESS_RESOLUTION.....yes
MAKE_WITH_SSLWATCHDOG.....yes
MAKE_WITH_SSLWATCHDOG_RUNTIME (derived).....yes
Bad IP Address table size.....globals-defines.h: #define
MAX_NUM_BAD_IP_ADDRESSES 3
Minimum refresh interval (seconds).....#define
PARM_MIN_WEBPAGE_AUTOREFRESH_TIME 15
Maximum # of Protocols to show in graphs.....#define MAX_NUM_PROTOS 64
Maximum # of routers (Local Subnet Routers report).....#define
MAX_NUM_ROUTERS 512
Maximum # of network interface devices.....#define MAX_NUM_DEVICES 32
Maximum # of processes for lsof report.....#define
MAX_NUM_PROCESSES_READLSOFINFO 1024
Maximum network size (hosts per interface).....#define MAX_SUBNET_HOSTS 1024
Allocated # of passive FTP sessions.....#define
MAX_PASSIVE_FTP_SESSION_TRACKER 384
Inactive passive FTP session timeout (seconds).....#define
PARM_PASSIVE_SESSION_MINIMUM_IDLE 60


Compile Time: Hash Table Sizes
Initial size.....#define CONST_HASH_INITIAL_SIZE 32
After 1st extend.....#define CONST_HASH_MINIMUM_SIZE 512
Intermediate increase factor.....#define CONST_HASH_INCREASE_FACTOR 2
Factor growth until.....#define CONST_HASH_FACTOR_MAXIMUM 4096
Then grow (linearly) by.....#define CONST_HASH_TERMINAL_INCREASE 4096


Compile Time: globals-define.h
Chart Format.....globals-report.h: #define CHART_FORMAT ".png"


Compile Time: config.h
CFG_ETHER_HEADER_HAS_EA.....no
CFG_MULTITHREADED.....yes
HAVE_ALARM.....yes
HAVE_ALLOCA.....yes
HAVE_ALLOCA_H.....yes
HAVE_ARPA_NAMESER_H.....yes
HAVE_BACKTRACE.....yes
HAVE_BZERO.....yes
HAVE_CTIME_R.....yes
HAVE_CURSES_H.....no
HAVE_DLFCN_H.....yes
HAVE_DL_H.....no
HAVE_DOPRNT.....no
HAVE_ENDPWENT.....yes
HAVE_ERRNO_H.....yes
HAVE_FACILITYNAMES.....yes
HAVE_FCNTL_H.....yes
HAVE_FORK.....yes
HAVE_GDBM_H.....yes
HAVE_GDCPIE_H.....yes
HAVE_GD_H.....yes
HAVE_GDOME_H.....no
HAVE_GETHOSTBYADDR.....yes
HAVE_GETHOSTBYADDR_R.....yes
HAVE_GETHOSTBYNAME.....yes
HAVE_GETHOSTNAME.....yes
HAVE_GETIPNODEBYADDR.....no
HAVE_GETPASS.....yes
HAVE_GETTIMEOFDAY.....yes
HAVE_GLIBCONFIG_H.....no
HAVE_GLIB_H.....no
HAVE_IF_H.....no
HAVE_IN6_ADDR.....yes
HAVE_INT16_T.....yes
HAVE_INT32_T.....yes
HAVE_INT64_T.....yes
HAVE_INT8_T.....yes
HAVE_INTTYPES_H.....yes
HAVE_LANGINFO_H.....yes
HAVE_LIBC.....yes
HAVE_LIBCRYPT.....yes
HAVE_LIBCRYPTO.....yes
HAVE_LIBDL.....yes
HAVE_LIBDLD.....no
HAVE_LIBGD.....yes
HAVE_LIBGDBM.....yes
HAVE_LIBGDOME.....no
HAVE_LIBGLIB.....yes
HAVE_LIBM.....no
HAVE_LIBNSL.....yes
HAVE_LIBPCAP.....yes
HAVE_LIBPNG.....yes
HAVE_LIBPOSIX4.....no
HAVE_LIBPTHREAD.....yes
HAVE_LIBPTHREADS.....no
HAVE_LIBRESOLV.....yes
HAVE_LIBRT.....no
HAVE_LIBSOCKET.....no
HAVE_LIBSSL.....yes
HAVE_LIBWRAP.....no
HAVE_LIBXML2.....no
HAVE_LIBZ.....yes
HAVE_LIMITS_H.....yes
HAVE_LOCALE_H.....yes
HAVE_LOCALTIME_R.....yes
HAVE_LONG_DOUBLE.....no
HAVE_MATH_H.....yes
HAVE_MEMCHR.....yes
HAVE_MEMORY_H.....yes
HAVE_MEMSET.....yes
HAVE_NCURSES_H.....no
HAVE_NDIR_H.....no
HAVE_NETDB_H.....yes
HAVE_OPENSSL.....yes
HAVE_OPENSSL_CRYPTO_H.....yes
HAVE_OPENSSL_ERR_H.....yes
HAVE_OPENSSL_PEM_H.....yes
HAVE_OPENSSL_RSA_H.....yes
HAVE_OPENSSL_SSL_H.....yes
HAVE_OPENSSL_X509_H.....yes
HAVE_PCAP_FREECODE.....yes
HAVE_PCAP_H.....yes
HAVE_PCAP_OPEN_DEAD.....yes
HAVE_PNG_H.....yes
HAVE_PTHREAD_H.....yes
HAVE_PUTENV.....yes
HAVE_PWD_H.....yes
HAVE_READLINE.....no
HAVE_READLINE_READLINE_H.....no
HAVE_RE_COMP.....yes
HAVE_REGCOMP.....yes
HAVE_REGEX.....yes
HAVE_RRD.....yes
HAVE_RRD_H.....yes
HAVE_SCHED_H.....yes
HAVE_SCHED_YIELD.....yes
HAVE_SECURITY_PAM_APPL_H.....yes
HAVE_SELECT.....yes
HAVE_SEMAPHORE_H.....yes
HAVE_SETJMP_H.....yes
HAVE_SHADOW_H.....yes
HAVE_SIGNAL_H.....yes
HAVE_SNPRINTF.....yes
HAVE_SOCKET.....yes
HAVE_SQRT.....yes
HAVE_STDARG_H.....yes
HAVE_STDIO_H.....yes
HAVE_STDLIB_H.....yes
HAVE_STRCASECMP.....yes
HAVE_STRCHR.....yes
HAVE_STRCSPN.....yes
HAVE_STRDUP.....yes
HAVE_STRERROR.....yes
HAVE_STRFTIME.....yes
HAVE_STRING_H.....yes
HAVE_STRINGS_H.....yes
HAVE_STRNCASECMP.....yes
HAVE_STRPBRK.....yes
HAVE_STRRCHR.....yes
HAVE_STRSPN.....yes
HAVE_STRSTR.....yes
HAVE_STRTOK_R.....yes
HAVE_STRTOUL.....yes
HAVE_SYS_DIR_H.....no
HAVE_SYS_IOCTL_H.....yes
HAVE_SYS_LDR_H.....no
HAVE_SYS_NDIR_H.....no
HAVE_SYS_RESOURCE_H.....yes
HAVE_SYS_SCHED_H.....no
HAVE_SYS_SOCKIO_H.....no
HAVE_SYS_TIME_H.....yes
HAVE_SYS_TYPES_H.....yes
HAVE_SYS_UN_H.....yes
HAVE_TCPD_H.....yes
HAVE_TM_ZONE.....yes
HAVE_TZNAME.....no
HAVE_U_INT16_T.....yes
HAVE_U_INT32_T.....yes
HAVE_U_INT64_T.....yes
HAVE_UINT64_T.....no
HAVE_U_INT8_T.....yes
HAVE_UNAME.....yes
HAVE_UNISTD_H.....yes
HAVE_VFORK.....yes
HAVE_VFORK_H.....no
HAVE_VPRINTF.....yes
HAVE_WORKING_FORK.....yes
HAVE_WORKING_VFORK.....yes
HAVE_ZLIB_H.....yes
MAKE_MICRO_NTOP.....no
MAKE_WITH_FTPDATA_ASSUMED.....no
MAKE_WITH_GDCHART.....yes
MAKE_WITH_I18N.....no
MAKE_WITH_IGNORE_SIGPIPE.....no
MAKE_WITH_LARGERRDPOP.....no
MAKE_WITH_SSLV3_SUPPORT.....no
MAKE_WITH_SSLWATCHDOG_COMPILETIME.....no
MAKE_WITH_ZLIB.....yes
__PROTOTYPES.....yes
PROTOTYPES.....yes
SETVBUF_REVERSED.....no
TIME_WITH_SYS_TIME.....yes
TM_IN_SYS_TIME.....no
CFG_CONFIGFILE_DIR - config file directory...../usr/local/etc/ntop
CFG_DATAFILE_DIR - data file directory...../usr/local/share/ntop
CFG_DBFILE_DIR - database file directory...../usr/local/var/ntop
CFG_PLUGIN_DIR - plugin file directory...../usr/local/lib/ntop/plugins
CFG_RUN_DIR - run file directory...../usr/local/var/ntop
CFG_NEED_GETDOMAINNAME (getdomainname(2) function).....yes
CFG_xxxxxx_ENDIAN (Hardware Endian).....little


Compile Time: globals-defines.h
EMSGSIZE.....90
ETHERMTU.....1500
LEN_CMDLINE_BUFFER.....4096
LEN_FGETS_BUFFER.....512
LEN_GENERAL_WORK_BUFFER.....1024
LEN_MEDIUM_WORK_BUFFER.....64
LEN_SMALL_WORK_BUFFER.....16
LEN_TIME_STAMP_BUFFER.....2
MAKE_NTOP_PACKETSZ_DECLARATIONS.....no
MAKE_RMON_SUPPORT.....yes
MAKE_WITH_FORK_COPYONWRITE.....yes
MAKE_WITH_HTTPSIGTRAP.....no
MAKE_WITH_RRDSIGTRAP.....no
MAKE_WITH_SCHED_YIELD.....yes
MAKE_WITH_SEMAPHORES.....yes
MAKE_WITH_SYSLOG.....yes
MAKE_WITH_XMLDUMP.....no
MAX_ADDRESSES.....35
MAX_ALIASES.....35
MAX_ASSIGNED_IP_PORTS.....1024
MAXCDNAME.....255
MAX_DEVICE_NAME_LEN.....64
MAXDNAME.....1025
MAX_HASHDUMP_ENTRY.....65535
MAXHOSTNAMELEN.....64
MAX_HOSTS_CACHE_LEN.....512
MAX_IP_PORT.....65534
MAX_IPXSAP_NAME_HASH.....179
MAXLABEL.....63
MAX_LANGUAGES_REQUESTED.....4
MAX_LANGUAGES_SUPPORTED.....8
MAX_LASTSEEN_TABLE_SIZE.....4096
MAX_LEN_VENDOR_NAME.....64
MAX_NFS_NAME_HASH.....12288
MAX_NODE_TYPES.....8
MAX_NUM_BAD_IP_ADDRESSES.....3
MAX_NUM_CONTACTED_PEERS.....8
MAX_NUM_DEQUEUE_THREADS.....yes
MAX_NUM_DEVICES.....32
MAX_NUM_DHCP_MSG.....8
MAX_NUM_FIN.....4
MAX_NUM_IGNOREDFLOWS.....32
MAX_NUM_NETWORKS.....32
MAX_NUM_PROBES.....16
MAX_NUM_PROCESSES_READLSOFINFO.....1024
MAX_NUM_PROTOS.....64
MAX_NUM_PROTOS_SCREENS.....5
MAX_NUM_ROUTERS.....512
MAX_NUM_STORED_FLAGS.....4
MAX_PASSIVE_FTP_SESSION_TRACKER.....384
MAX_PER_DEVICE_HASH_LIST.....65535
MAX_SESSIONS_CACHE_LEN.....512
MAX_SSL_CONNECTIONS.....32
NAME_MAX.....255
NETDB_SUCCESS.....0
NS_CMPRSFLGS.....192
NS_MAXCDNAME.....255
PACKETSZ.....512
PARM_ENABLE_EXPERIMENTAL.....no
PARM_FORK_CHILD_PROCESS.....yes
PARM_MIN_WEBPAGE_AUTOREFRESH_TIME.....15
PARM_PASSIVE_SESSION_MINIMUM_IDLE.....60
PARM_PIPE_READ_TIMEOUT.....15
PARM_SESSION_PURGE_MINIMUM_IDLE.....600
PARM_SHOW_NTOP_HEARTBEAT.....no
PARM_SSLWATCHDOG_WAITWOKE_LIMIT.....5
PARM_USE_CGI.....yes
PARM_USE_COLOR.....no
PARM_USE_HOST.....no
PARM_USE_MACHASH_INVERT.....yes
PARM_USE_SESSIONS_CACHE.....no
PARM_WEDONTWANTTOTALKWITHYOU_INTERVAL.....300
SLL_HDR_LEN.....16
THREAD_MODE.....MT (SSL)



----------------------------------------------------------------------------
---
Note: The generated id below should be unique. It's essentially a random 6
or 7
      character tracking tag for each problem report.  Since it's generated
on
      your machine, we can't just use an ever increasing global number.
      While it should be unique, it is not traceable back to a specific user
or
      machine.  If it makes you uncomfortable just delete it.
Problem Report Id: PR_73NWKZ6
----------------------------------------------------------------------------
---






Regards,




Byron Munns
Network Management Engineer
Alphawest
T:  (61 8)  9429 6132
F:  (61 8)  9429 6030
www.alphawest.com.au


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

Reply via email to