** this problem is also present with 3.0 and 3.0.53
** (see "Problem description" below)

  n t o p   v e r s i o n  '2.2.97'  p r o b l e m   r e p o r t

From: Marc Mazuhelli

EMail: [EMAIL PROTECTED]

Date:  2004-10-04 13:31:19 GMT

Problem Report Id: PR_PVUJV96

----------------------------------------------------------------------------
Summary
Missing information in Network Load Statistics page

OS: RedHat Linux  version: 9

ntop from: source

Hardware:  CPU:           i686
           # Processors:  1 real, 2 simulated (Xeon)
           Memory:        1536 MB

Packets
Received:  1259096057
Processed: 1259096057 (immediately)
Queued:             0
Lost:               0 (queue full)
Queue:     Current: 0 Maximum: 0

Network:
Merged packet counts:
     Received:  1259096057
     Ethernet:  1259096057
     Broadcast:  581835035
     IP:        1258900297

     Network Interface  0  eth1
     Received (pcap):1269361379
     Dropped (pcap):   10265273
          Mfg: ? built-in network card in IBM eServer x335   Model: ?
          NIC Speed: 1000  Bus: ? (probably PCI)
          Location:  LAN
          Bandwidth: ntop sees between 20 and 60 Mb/s
          # Hosts (machines): thousands

----------------------------------------------------------------------------
Log extract

Nothing useful appears in the logs regarding this problem which is present
from the time ntop starts. Here are the last lines on ntop's initialization:

Oct  1 13:45:16 gbp ntop[6381]:  [main:1202] Plugins started... continuing
with initialization
Oct  1 13:45:16 gbp ntop[6381]:  [ssl:65] SSL is present but https is
disabled: use -W <https port> for enabling it
Oct  1 13:45:16 gbp ntop[6381]:  [report:47] Device  0. eth1
(active)
Oct  1 13:45:16 gbp ntop[6381]:  [report:59] WEB: Merging interfaces,
reporting device forced to 0
Oct  1 13:45:16 gbp ntop[6381]:  [report:94] Note: Reporting device initally
set to 0 [eth1] (merged)
Oct  1 13:45:16 gbp ntop[6381]:  [webInterface:4907] WEB: Initializing web
server
Oct  1 13:45:16 gbp ntop[6381]:  [webInterface:4913] WEB: Initializing
tcp/ip socket connections for web server
Oct  1 13:45:16 gbp ntop[6381]:  [webInterface:4737] Initializing socket,
port 3000, address (any)
Oct  1 13:45:16 gbp ntop[6381]:  [webInterface:4798] FILEDESCRIPTORBUG:
Work-around activated
Oct  1 13:45:16 gbp ntop[6381]:  [webInterface:4805] FILEDESCRIPTORBUG:
Creating 0, '/tmp/ntop-000006381-0'
Oct  1 13:45:16 gbp ntop[6381]:  [webInterface:4813] FILEDESCRIPTORBUG:
Created file 0 - '/tmp/ntop-000006381-0'(9)
Oct  1 13:45:16 gbp ntop[6381]:  [webInterface:4805] FILEDESCRIPTORBUG:
Creating 1, '/tmp/ntop-000006381-1'
Oct  1 13:45:16 gbp ntop[6381]:  [webInterface:4813] FILEDESCRIPTORBUG:
Created file 1 - '/tmp/ntop-000006381-1'(10)
Oct  1 13:45:16 gbp ntop[6381]:  [webInterface:4805] FILEDESCRIPTORBUG:
Creating 2, '/tmp/ntop-000006381-2'
Oct  1 13:45:16 gbp ntop[6381]:  [webInterface:4813] FILEDESCRIPTORBUG:
Created file 2 - '/tmp/ntop-000006381-2'(11)
Oct  1 13:45:16 gbp ntop[6381]:  [webInterface:4842] WEB: Created a new
socket (12)
Oct  1 13:45:16 gbp ntop[6381]:  [webInterface:4891] Initialized socket,
port 3000, address (any)
Oct  1 13:45:16 gbp ntop[6381]:  [webInterface:4922] WEB: Waiting for HTTP
connections on port 3000
Oct  1 13:45:16 gbp ntop[6381]:  [webInterface:4939] WEB: Starting web
server
Oct  1 13:45:16 gbp ntop[6381]:  [webInterface:5348] THREADMGMT: web
connections thread (6381) started...
Oct  1 13:45:16 gbp ntop[6381]:  [webInterface:4941] THREADMGMT: Started
thread (1133742896) for web server
Oct  1 13:45:16 gbp ntop[6381]:  [webInterface:4987] WEB: Server started...
continuing with initialization
Oct  1 13:45:16 gbp ntop[6381]:  [ntop:74] THREADMGMT: pcap dispatch thread
running...
Oct  1 13:45:16 gbp ntop[6381]:  [initialize:1750] THREADMGMT: Started
thread (1142135600) for network packet sniffing on eth1
Oct  1 13:45:16 gbp ntop[6381]:  [webInterface:5440] Note: SIGPIPE handler
set (ignore)
Oct  1 13:45:24 gbp ntop[6381]:  [http:2200] SECURITY: Loading items table
Oct  1 13:46:14 gbp ntop[6381]:  [hash:580] IDLE_PURGE: FINISHED selection,
0 [out of 1303] hosts selected
Oct  1 13:46:14 gbp ntop[6381]:  [hash:613] IDLE_PURGE: Device 0: no hosts
deleted
Oct  1 13:46:33 gbp ntop[6381]:  [address:361] gethost... call returned
NULL/NETDB_SUCCESS - this is odd, but apparently normal
Oct  1 13:48:14 gbp ntop[6381]:  [hash:580] IDLE_PURGE: FINISHED selection,
0 [out of 2591] hosts selected
Oct  1 13:48:14 gbp ntop[6381]:  [hash:613] IDLE_PURGE: Device 0: no hosts
deleted
Oct  1 13:50:14 gbp ntop[6381]:  [hash:580] IDLE_PURGE: FINISHED selection,
0 [out of 3301] hosts selected
Oct  1 13:50:14 gbp ntop[6381]:  [hash:613] IDLE_PURGE: Device 0: no hosts
deleted
Oct  1 13:52:14 gbp ntop[6381]:  [hash:580] IDLE_PURGE: FINISHED selection,
0 [out of 4440] hosts selected
Oct  1 13:52:14 gbp ntop[6381]:  [hash:613] IDLE_PURGE: Device 0: no hosts
deleted
Oct  1 13:54:14 gbp ntop[6381]:  [hash:580] IDLE_PURGE: FINISHED selection,
0 [out of 5023] hosts selected
Oct  1 13:54:14 gbp ntop[6381]:  [hash:613] IDLE_PURGE: Device 0: no hosts
deleted
Oct  1 13:56:14 gbp ntop[6381]:  [hash:580] IDLE_PURGE: FINISHED selection,
237 [out of 5971] hosts selected
Oct  1 13:56:15 gbp ntop[6381]:  [hash:605] IDLE_PURGE: Device 0 [eth1]: 237
hosts deleted, elapsed time is 0.102340 seconds (0.000432 per host)
Oct  1 13:58:15 gbp ntop[6381]:  [hash:580] IDLE_PURGE: FINISHED selection,
981 [out of 6466] hosts selected
Oct  1 13:58:15 gbp ntop[6381]:  [hash:605] IDLE_PURGE: Device 0 [eth1]: 981
hosts deleted, elapsed time is 0.099235 seconds (0.000101 per host)
Oct  1 14:00:15 gbp ntop[6381]:  [hash:580] IDLE_PURGE: FINISHED selection,
558 [out of 6059] hosts selected


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

When I first start ntop, the Stats->Network load page doesn't show the
first few hours of stats on the first (per-minute) graph. After 24 hours,
when the per-hour graphs appears, the first few hours will be missing.
And the first few days of the daily graph are also missing.

I included in this message a version of "Network Load Statistics.html"
and 3 "thptGraph.png" files that reproduce the problem (I had to rename
two of the .png files to "thptGraph2.png" and "thptGraph3.png" and I
changed the .html file accordingly). If you save all four files to the
same directory and open the .html file you will see what I mean.

In this example you will see that ntop has been running for more than 2
days but the daily graph is empty. Also, the hourly graph is half empty.

I am showing this with 2.2.97 but the same happens with 3.0 or 3.0.053
from the CVS (I can't gat these newer versions running more than a few
hours so I downgraded to 2.2.97 until I find out why 3.0.x crashes so
often).

Since this has to do with png files and the exact version of libpng doesn't
seem to be included in the bug report, here it is:

$ rpm -qa|grep png
libpng-devel-1.2.2-20
libpng-1.2.2-20
libpng10-1.0.13-11

----------------------------------------------------------------------------
ntop Configuration


ntop version.....2.2.97
Built on.....12/16/03 02:44:14 PM
OS.....i686-pc-linux-gnu (redhat Linux 9)
ntop Process Id.....6381
http Process Id.....6381


Command line

Started as..../usr/local/ntop/bin/ntop -i eth1 --user ntop --daemon
--db-file-path /var/run/ntop -i eth1 -m
xxx.xxx.0.0/16,xxx.xxx.xxx.0/22,xxx.xxx.xxx.0/23,xxx.xxx.xxx.0/24
--trace-level 5 --use-syslog=local1 --http-server 3000 --no-mac
--track-local-hosts --disable-sessions --disable-schedyield --max-table-rows
50 --refresh-time 300 --access-log-path /var/run/ntop/access.log

Resolved to..../usr/local/ntop/bin/ntop
            -i
            eth1
            --user
            ntop
            --daemon
            --db-file-path
            /var/run/ntop
            -i
            eth1
            -m
            
xxx.xxx.0.0/16,xxx.xxx.xxx.0/22,xxx.xxx.xxx.0/23,xxx.xxx.xxx.0/24
            --trace-level
            5
            --use-syslog=local1
            --http-server
            3000
            --no-mac
            --track-local-hosts
            --disable-sessions
            --disable-schedyield
            --max-table-rows
            50
            --refresh-time
            300
            --access-log-path
            /var/run/ntop/access.log
            

Command line parameters are:

-a | --access-log-path...../var/run/ntop/access.log
-b | --disable-decoders.....(default)   No
-c | --sticky-hosts.....(default)   No
-d | --daemon.....Yes
-e | --max-table-rows.....50
-f | --traffic-dump-file.....(default)   (nil)
-g | --track-local-hosts.....Track local hosts only
-o | --no-mac.....Don't trust MAC Addresses
-i | --interface   (effective).....eth1
-j | --create-other-packets.....(default)   Disabled
-k | --filter-expression-in-extra-frame.....(default)   No
-l | --pcap-log.....(default)   (nil)
-m | --local-subnets   (effective).....xxx.xxx.0.0/16, xxx.xxx.xxx.0/22,
xxx.xxx.xxx.0/23, xxx.xxx.xxx.0/24
-n | --numeric-ip-addresses.....(default)   No
-p | --protocols.....(default)   internal list
-q | --create-suspicious-packets.....(default)   Disabled
-r | --refresh-time.....300
-s | --no-promiscuous.....(default)   No
-t | --trace-level.....5
-u | --user.....ntop (uid=513, gid=519)
-w | --http-server.....(default)   Active, all interfaces, port 3000
-z | --disable-sessions.....Yes
-B | --filter-expression.....(default)   none
-D | --domain.....telecom.usherbrooke.ca
-F | --flow-spec.....(default)   none
-K | --enable-debug.....(default)   No
-L | --use-syslog.....local1
-M | --no-interface-merge   (effective).....(default)   (Merging Interfaces)
Yes
-O | --pcap-file-path.....(default)   /usr/local/ntop/var/ntop
-P | --db-file-path...../var/run/ntop
-Q | --spool-file-path...../var/run/ntop
-U | --mapper.....(default)   (nil)
-W | --https-server.....Uninitialized
--ssl-watchdog.....(default)   No
--p3p-cp.....(default)   none
--p3p-uri.....(default)   none
--disable-schedYield.....Yes
--disable-stopcap.....(default)   No
--log-extra.....1
--disable-instantsessionpurge.....(default)   No
--disable-mutexextrainfo.....(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

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.7a Feb 19 2003
zlib version.....1.1.4
Protocol Decoders.....Enabled
Fragment Handling.....Enabled
Tracking only local hosts.....Yes
# IP Protocols Being Monitored.....18
# Protocol slots.....954
# IP Ports Being Monitored.....55
# IP Ports slots.....110
# Handled SIGPIPE Errors.....0
# Handled HTTP Requests.....3858
WebServer Request Queue.....5
Devices (Network Interfaces).....1
Domain name (short).....ca
IP to country flag table (entries).....49056
Total Hash Collisions (Vendor/Special) (lookup).....0
Local Networks.....0.0.0.0/255.255.255.255 [device eth1]


Memory allocation - data segment

arena limit, getrlimit(RLIMIT_DATA, ...).....-1
Allocated blocks (ordblks).....2592
Allocated (arena).....436688672
Used (uordblks).....17109672
Free (fordblks).....419579000


Memory allocation - mmapped

Allocated blocks (hblks).....2
Allocated bytes (hblkhd).....4481024


Memory Usage

IPX/SAP Hash Size (bytes).....1897
IP to country flag table (bytes).....1496064 (1.4 MB)
Bytes per entry.....30.5
IP to AS (Autonomous System) number table (bytes).....0 (0.0 MB)
Current memory usage.....441169696
Base memory usage.....7108384
Hosts stored (active+cache).....7341 = (7341 + 0)
(very) Approximate memory per host.....57.8KB


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


Packets

Received.....1259096057
Processed immediately.....1259096057
Queued.....0
Current queue.....0
Maximum queue.....0


Host/Session counts - global

Purged hosts.....2497347
Maximum hosts to purge per cycle.....512
DEFAULT_MAXIMUM_HOSTS_PURGE_PER_CYCLE.....512

Host/Session counts - Device 0 (eth1)
Hash Bucket Size.....2.0 KB
Actual Hash Size.....16384
Stored hosts.....7341
Bucket List Length.....[min 1][max 4][avg 1.2]
Max host lookup.....8


Address Resolution

DNS sniffed:

DNS Packets sniffed.....10341553
  less 'requests'.....5479127
  less 'failed'.....1535328
  less 'reverse dns' (in-addr.arpa).....609775
DNS Packets processed.....2717323
Stored in cache (includes aliases).....1745096


IP to name - ipaddr2str():

Total calls.....2504688
....OK.....0
....Total not found.....2504688
........Not found in cache.....2504688
........Too old in cache.....0


Queued - dequeueAddress():

Total Queued.....2502948
Not queued (duplicate).....1740
Maximum Queued.....28020
Current Queue.....0


Resolved - resolveAddress():

Addresses to resolve.....2502948
....less 'Error: No cache database'.....0
....less 'Found in ntop cache'.....2306968
Gives: # gethost (DNS lookup) calls.....195980


DNS lookup calls:

DNS resolution attempts.....195980
....Success: Resolved.....19520
....Failed.....176460
........HOST_NOT_FOUND.....176440
........NO_DATA.....0
........NO_RECOVERY.....0
........TRY_AGAIN (don't store).....20
........Other error (don't store).....0
DNS lookups stored in cache.....195960
Host addresses kept numeric.....176460


Vendor Lookup Table

Input lines read.....0
Records added total.....0
.....includes special records.....0
getVendorInfo() calls.....0
getSpecialVendorInfo() calls.....2504679
Found 48bit (xx:xx:xx:xx:xx:xx) match.....0
Found 24bit (xx:xx:xx) match.....2504679
Found multicast bit set.....0
Found LAA (Locally assigned address) bit set.....0


Thread counts

Active.....6
Dequeue.....1
Children (active).....1000
Directory (search) order

Data Files......
                          /usr/local/ntop/share/ntop
Config Files......
                            /usr/local/ntop/etc/ntop
                            /etc
Plugins....../plugins
                       /usr/local/ntop/lib/ntop/plugins


Compile Time: ./configure

./configure parameters.....--prefix=/usr/local/ntop
Built on (Host).....i686-pc-linux-gnu
Built for(Target).....i686-pc-linux-gnu
compiler (cflags).....gcc -g -O2 -I/usr/local/include -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fPIC -DHAVE_CONFIG_H
include path.....-I/home/xxxxxxxx/logiciels/ntop/2.97/ntop/myrrd
system libraries.....-L/usr/local/lib
-L/home/xxxxxxxx/logiciels/ntop/2.97/ntop/myrrd -lpthread -lresolv -lnsl
-lcrypt -lc -lssl -lcrypto -lpcap -lgdbm -lgd -lpng -lz -lmyrrd
install path...../usr/local/ntop
GNU C (gcc) version.....3.2.2 20030222 (Red Hat Linux 3.2.2-5) (3.2.2)


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
INITWEB_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 virtual network interfaces (per device).....#define
MAX_NUM_DEVICES_VIRTUAL 7
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

Size.....#define CONST_HASH_INITIAL_SIZE 16384


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_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_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.....no
HAVE_LIBDLD.....no
HAVE_LIBGD.....yes
HAVE_LIBGDBM.....yes
HAVE_LIBGDOME.....no
HAVE_LIBGLIB.....no
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_LIBXNET.....no
HAVE_LIBZ.....yes
HAVE_LIMITS_H.....yes
HAVE_LINUX_IF_PPPOX_H.....yes
HAVE_LOCALE_H.....yes
HAVE_LOCALTIME_R.....yes
HAVE_LONG_DOUBLE.....yes
HAVE_MATH_H.....yes
HAVE_MEMCHR.....yes
HAVE_MEMORY_H.....yes
HAVE_MEMSET.....yes
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_H.....yes
HAVE_PCAP_OPEN_DEAD.....yes
HAVE_PNG_H.....yes
HAVE_PTHREAD_ATFORK.....yes
HAVE_PTHREAD_H.....yes
HAVE_PUTENV.....yes
HAVE_PWD_H.....yes
HAVE_RE_COMP.....yes
HAVE_REGCOMP.....yes
HAVE_REGEX.....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_STDDEF_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_WITH_I18N.....no
MAKE_WITH_SSLV3_SUPPORT.....no
MAKE_WITH_SSLWATCHDOG_COMPILETIME.....no
MAKE_WITH_XMLDUMP.....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/ntop/etc/ntop
CFG_DATAFILE_DIR - data file directory...../usr/local/ntop/share/ntop
CFG_DBFILE_DIR - database file directory...../usr/local/ntop/var/ntop
CFG_PLUGIN_DIR - plugin file directory...../usr/local/ntop/lib/ntop/plugins
CFG_RUN_DIR - run file directory...../usr/local/ntop/var/ntop
CFG_NEED_GETDOMAINNAME (getdomainname(2) function).....yes
CFG_xxxxxx_ENDIAN (Hardware Endian).....little
HAVE_FILEDESCRIPTORBUG.....yes


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.....24
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_NETFLOWSIGTRAP.....no
MAKE_WITH_RRDSIGTRAP.....no
MAKE_WITH_SCHED_YIELD.....yes
MAKE_WITH_SEMAPHORES.....yes
MAKE_WITH_SSLWATCHDOG.....yes
MAKE_WITH_SSLWATCHDOG_RUNTIME.....yes
MAKE_WITH_SYSLOG.....yes
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
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_PROTOS.....64
MAX_NUM_PROTOS_SCREENS.....5
MAX_NUM_PURGED_SESSIONS.....512
MAX_NUM_PWFILE_ENTRIES.....32
MAX_NUM_ROUTERS.....512
MAX_NUM_STORED_FLAGS.....4
MAX_NUM_UNKNOWN_PROTOS.....5
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_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
THREAD_MODE.....MT (SSL)


PLUGINS:

RRD:
RRD path...../var/run/ntop/rrd
New directory permissions.....0700
New file umask.....0066

----------------------------------------------------------------------------

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

Reply via email to