S:

That's probably not a total surprise - and I doubt there's much that we can
or will do about it.

1. 15% isn't considered excessive by me - remember, I advocate a dedicated
ntop box, so anything less than 100%, as long as ntop can keep up with the
traffic is fine...

2. The biggest difference between 2.2 and 2.2.9x is that there is a lot more
usage of mutexes to protect the code - something we know is expensive on
FreeBSD.  If the POSIX mutex handler is implemented as a separate control
thread...

3. We added an option (--disable-mutexextrainfo) flag to eliminate ntop's
frequent calls to getpid/gettime, which did significantly change your truss
output.

4. The pattern you're seeing:

gettimeofday(0x28348288,0x0)                     = 0 (0x0)
sigprocmask(0x3,0x283482f8,0x0)                  = 0 (0x0)
poll(0x8077000,0x1,0x0)                          = 0 (0x0)
sigreturn(0xbfa967e0)                            = 0 (0x0)

has to be in the device driver, library or something else called by ntop,
because there's no call to sigprocmask in the ntop source.

Given it's a poll and the hardware hasn't changed, I suspect it's the POSIX
mutex handler, polling to see if there are any signals.  (It also could be
the device driver, hence the discussion re the device polling option
previously).  The problem with figuring this out is that it doesn't seem
possible to get ps type stats at the thread level, as it is in Linux via
the -m option.


-----Burton



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Stanley Hopcroft
Sent: Sunday, November 16, 2003 5:32 PM
To: [EMAIL PROTECTED]
Subject: [Ntop] ntop CVS (17 Oct 2003) under FreeBSD 4.9-RELEASE: still
high CPU compared to 2.2 on same hardware.


Dear Ladies and Gentlemen,

I am writing with further reports of using a _recent_ CVS copy of ntop
(17 October, with BMS mutex disable patch) on FreeBSD 4.9-RELEASE.

Kernel config is at this stage unchanged (ie _no_ device polling for the
Intel PRO 10/100 NIC [fxp] driver, if it's possible on this older NIC).

On exactly the same hardware platform on which 2.2 runs with <= 5% CPU
use reported by 'top', Ntop 2.2.95 consumes 15% once it stabilises.

last pid: 31482;  load averages:  0.19,  0.13,  0.05
up 2+19:13:22  10:12:27
22 processes:  1 running, 21 sleeping
CPU states: 14.7% user,  0.0% nice,  0.4% system,  0.0% interrupt, 84.9%
idle
Mem: 23M Active, 17M Inact, 12M Wired, 5640K Cache, 15M Buf, 3692K Free
Swap: 250M Total, 32K Used, 250M Free

  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
31467 nobody     2   0 16904K 10056K poll     1:24 16.02% 16.02% ntop
31482 root      28   0  1892K  1048K RUN      0:00  3.23%  0.59% top
   78 root       2   0  2584K  1408K select   0:26  0.00%  0.00% sshd
   69 root       2   0  1296K   760K select   0:15  0.00%  0.00% ntpd
   81 root       2   0  3044K  1620K select   0:12  0.00%  0.00%
sendmail
   76 root      10   0   992K   608K nanslp   0:02  0.00%  0.00% cron
   66 root       2   0   976K   588K select   0:01  0.00%  0.00% syslogd
31390 anwsmh     2   0  5284K  1708K select   0:00  0.00%  0.00% sshd
   84 smmsp     18   0  2924K  1508K pause    0:00  0.00%  0.00%
sendmail
31383 anwsmh     2   0  5284K  1764K select   0:00  0.00%  0.00% sshd
31395 root      18   0  1408K   992K pause    0:00  0.00%  0.00% csh

Box is basically unloaded apart from Ntop; packet stream is limited by a
slow WAN link to 256 kbps - in fact it is more likely to be <= 128 kbps
since the other 128 kbps is overflow directed to an expensive ISDN link
after utilisation threshold is breached..

Ntop is only monitoring traffic between the LAN and the router (off net
traffic only).

There are some long details below.

--
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'

from Meditation 17, J Donne.

1 Startup messages

Nov 17 10:05:41 tssyd /kernel: fxp0: promiscuous mode enabled
Nov 17 10:05:41 tssyd /kernel: fxp0: promiscuous mode disabled
Nov 17 10:06:28 tssyd /kernel: fxp0: promiscuous mode enabled
Nov 17 10:06:28 tssyd ntop[31467]:   Now running as a daemon
Nov 17 10:06:28 tssyd ntop[31467]:   **WARNING** AS: Unable to open file
'AS-list.txt.gz'.
Nov 17 10:06:28 tssyd ntop[31467]:   I18N: This instance of ntop does
not support multiple languages
Nov 17 10:06:28 tssyd ntop[31467]:   IP2CC: Looking for IP address <->
Country code mapping file
Nov 17 10:06:28 tssyd ntop[31467]:   IP2CC: reading file
'/usr/local/ntop-2.2.95/etc/ntop/p2c.opt.table.gz'
Nov 17 10:06:32 tssyd ntop[31467]:   IP2CC: 49056 records read
Nov 17 10:06:32 tssyd ntop[31467]:   Initializing external applications
Nov 17 10:06:32 tssyd ntop[31467]:   Initializing semaphores, mutexes
and threads
Nov 17 10:06:32 tssyd ntop[31467]:   THREADMGMT: Started thread
(134691840) for network packet analyser
Nov 17 10:06:32 tssyd ntop[31467]:   THREADMGMT: Started thread
(137049088) for idle hosts detection
Nov 17 10:06:32 tssyd ntop[31467]:   THREADMGMT: Started thread
(137050112) for DNS address resolution
Nov 17 10:06:32 tssyd ntop[31467]:   Calling plugin start functions (if
any)
Nov 17 10:06:32 tssyd ntop[31467]:   Sniffying...
Nov 17 10:06:32 tssyd ntop[31467]:   INIT: Created pid file
(/var/log/ntop/ntop.pid)
Nov 17 10:06:32 tssyd ntop[31467]:   Listening on [fxp0]
Nov 17 10:06:32 tssyd ntop[31467]:   Now running as requested user
'nobody' (65534:65534)
Nov 17 10:06:32 tssyd ntop[31467]:   Loading Plugins
Nov 17 10:06:32 tssyd ntop[31467]:   Searching for plugins in
/usr/local/ntop-2.2.95/lib/ntop/plugins
Nov 17 10:06:32 tssyd ntop[31467]:   ICMP: Welcome to icmpWatchPlugin.
(C) 1999 by Luca Deri
Nov 17 10:06:32 tssyd ntop[31467]:   LASTSEEN: Welcome to
LastSeenWatchPlugin. (C) 1999 by Andrea Marangoni
Nov 17 10:06:32 tssyd ntop[31467]:   NETFLOW: Welcome to NetFlow.(C)
2002 by Luca Deri
Nov 17 10:06:32 tssyd ntop[31467]:   NFS: Welcome to nfsWatchPlugin. (C)
1999 by Luca Deri
Nov 17 10:06:32 tssyd ntop[31467]:   PDA: Welcome to PDAPlugin. (C)
2001-2002 by L.Deri and W.Brock
Nov 17 10:06:32 tssyd ntop[31467]:   SFLOW: Welcome to sFlowPlugin. (C)
2002 by Luca Deri
Nov 17 10:06:32 tssyd ntop[31467]:   RRD: Welcome to rrdPlugin. (C) 2002
by Luca Deri.
Nov 17 10:06:32 tssyd ntop[31467]:   Calling plugin start functions (if
any)
Nov 17 10:06:32 tssyd ntop[31467]:   RRD: Welcome to the RRD plugin
Nov 17 10:06:32 tssyd ntop[31467]:   RRD: Mask for new directories is
0700
Nov 17 10:06:33 tssyd ntop[31467]:   THREADMGMT: Packet processor thread
running...
Nov 17 10:06:33 tssyd ntop[31467]:   THREADMGMT: Idle host scan thread
running...
Nov 17 10:06:33 tssyd ntop[31467]:   THREADMGMT: Address resolution
thread running...
Nov 17 10:06:33 tssyd ntop[31467]:   RRD: Mask for new files is 0066
Nov 17 10:06:33 tssyd ntop[31467]:   RRD: Started thread (137051136) for
data collection.
Nov 17 10:06:33 tssyd ntop[31467]:   NETFLOW: White list initialized to
''
Nov 17 10:06:33 tssyd ntop[31467]:   NETFLOW: Black list initialized to
''
Nov 17 10:06:33 tssyd ntop[31467]:   NETFLOW: FILEDESCRIPTORBUG:
Work-around activated
Nov 17 10:06:33 tssyd ntop[31467]:   NETFLOW: Created a socket (13)
Nov 17 10:06:33 tssyd ntop[31467]:   NETFLOW: Export disabled at user
request
Nov 17 10:06:33 tssyd ntop[31467]:   SSL is present but https is
disabled: use -W <https port> for enabling it
Nov 17 10:06:33 tssyd ntop[31467]:   Note: Reporting device initally set
to 0 [fxp0]
Nov 17 10:06:33 tssyd ntop[31467]:   WEB: Initializing web server
Nov 17 10:06:33 tssyd ntop[31467]:   WEB: Initializing tcp/ip socket
connections for web server
Nov 17 10:06:33 tssyd ntop[31467]:   FILEDESCRIPTORBUG: Work-around
activated
Nov 17 10:06:33 tssyd ntop[31467]:   Initialized socket, port 3000,
address (any)
Nov 17 10:06:33 tssyd ntop[31467]:   WEB: Waiting for HTTP connections
on port 3000
Nov 17 10:06:33 tssyd ntop[31467]:   WEB: Starting web server
Nov 17 10:06:33 tssyd ntop[31467]:   THREADMGMT: Started thread
(141529088) for web server
Nov 17 10:06:33 tssyd ntop[31467]:   THREADMGMT: Started thread
(141530112) for network packet sniffing on fxp0
Nov 17 10:06:33 tssyd ntop[31467]:   THREADMGMT: rrd thread (137051136)
started
Nov 17 10:06:33 tssyd ntop[31467]:   THREADMGMT: web connections thread
(31467) started...
Nov 17 10:06:33 tssyd ntop[31467]:   THREADMGMT: pcap dispatch thread
running...
tssyd# tail -f /var/log/messages
Nov 17 10:06:33 tssyd ntop[31467]:   WEB: Initializing tcp/ip socket
connections for web server
Nov 17 10:06:33 tssyd ntop[31467]:   FILEDESCRIPTORBUG: Work-around
activated
Nov 17 10:06:33 tssyd ntop[31467]:   Initialized socket, port 3000,
address (any)
Nov 17 10:06:33 tssyd ntop[31467]:   WEB: Waiting for HTTP connections
on port 3000
Nov 17 10:06:33 tssyd ntop[31467]:   WEB: Starting web server
Nov 17 10:06:33 tssyd ntop[31467]:   THREADMGMT: Started thread
(141529088) for web server
Nov 17 10:06:33 tssyd ntop[31467]:   THREADMGMT: Started thread
(141530112) for network packet sniffing on fxp0
Nov 17 10:06:33 tssyd ntop[31467]:   THREADMGMT: rrd thread (137051136)
started
Nov 17 10:06:33 tssyd ntop[31467]:   THREADMGMT: web connections thread
(31467) started...
Nov 17 10:06:33 tssyd ntop[31467]:   THREADMGMT: pcap dispatch thread
running...


2 Details of installation.


ntop Configuration


ntop version.....2.2.95
Built on.....11/14/03 03:09:56 PM
OS.....i386-unknown-freebsd4.9
ntop Process Id.....31467
http Process Id.....31467


Command line

Started as..../usr/local/ntop/bin/ntop --disable-mutexextrainfo -o -c -u
nobody -d -P /var/log/ntop -w 3000 -i fxp0 -p
HTTP=http|https,DNS=domain,Ntop=3000,NBios-IP=netbios-ns|netbios-dgm|netbios
-ssn,Mail=lotusnote|pop2|pop3|kpop|smtp|imap,SNMP=snmp|snmptrap,Telnet=telne
t,Cache=3128,BEA=7000-7010,SSH=ssh,SAP=3202,PSCAM=4754,Virus=2967,LPD=515,PC
Any=5631|5632,FTP=ftp|49152-65536
-B ether host 00:60:47:1e:bb:aa

Resolved to..../usr/local/ntop/bin/ntop
            --disable-mutexextrainfo
            -o
            -c
            -u
            nobody
            -d
            -P
            /var/log/ntop
            -w
            3000
            -i
            fxp0
            -p

HTTP=http|https,DNS=domain,Ntop=3000,NBios-IP=netbios-ns|netbios-dgm|netbios
-ssn,Mail=lotusnote|pop2|pop3|kpop|smtp|imap,SNMP=snmp|snmptrap,Telnet=telne
t,Cache=3128,BEA=7000-7010,SSH=ssh,SAP=3202,PSCAM=4754,Virus=2967,LPD=515,PC
Any=5631|5632,FTP=ftp|49152-65536
            -B
            ether host 00:60:47:1e:bb:aa


Command line parameters are:

-a | --access-log-path.....(default)   (nil)
-b | --disable-decoders.....(default)   No
-c | --sticky-hosts.....Yes
-d | --daemon.....Yes
-e | --max-table-rows.....(default)   128
-f | --traffic-dump-file.....(default)   (nil)
-g | --track-local-hosts.....(default)   Track all hosts
-o | --no-mac.....Don't trust MAC Addresses
-i | --interface   (effective).....fxp0
-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.....HTTP
-q | --create-suspicious-packets.....(default)   Disabled
-r | --refresh-time.....(default)   120
-s | --no-promiscuous.....(default)   No
-t | --trace-level.....(default)   3
-u | --user.....nobody (uid=65534, gid=65534)
-w | --http-server.....(default)   Active, all interfaces, port 3000
-z | --disable-sessions.....(default)   No
-B | --filter-expression.....ether host 00:60:47:1e:bb:aa
-D | --domain.....aipo.gov.au
-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/ntop-2.2.95/var/ntop
-P | --db-file-path...../var/log/ntop
-Q | --spool-file-path...../var/log/ntop
-U | --mapper.....(default)   (nil)
-W | --https-server.....Uninitialized
--ssl-watchdog.....(default)   No
--p3p-cp.....(default)   none
--p3p-uri.....(default)   none
--disable-schedYield.....(default)   No
--disable-stopcap.....(default)   No
--log-extra.....(default)   0
--disable-instantsessionpurge.....(default)   No
--disable-mutexextrainfo.....Yes


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.7c 30 Sep 2003
zlib version.....1.1.4
Protocol Decoders.....Enabled
Fragment Handling.....Enabled
Tracking only local hosts.....No
# IP Protocols Being Monitored.....16
# Protocol slots.....3934
# IP Ports Being Monitored.....16418
# IP Ports slots.....32836
# Handled SIGPIPE Errors.....0
# Handled HTTP Requests.....29
Devices (Network Interfaces).....1
Domain name (short).....au
IP to country flag table (entries).....49056
Total Hash Collisions (Vendor/Special) (lookup).....0
Local Networks.....192.168.102.0/255.255.255.0 [device fxp0]


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)


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

Purged hosts.....0
Maximum hosts to purge per cycle.....512
DEFAULT_MAXIMUM_HOSTS_PURGE_PER_CYCLE.....512
Terminated Sessions.....87

Host/Session counts - Device 0 (fxp0)
Hash Bucket Size.....1.6 KB
Actual Hash Size.....16384
Stored hosts.....60
Bucket List Length.....[min 1][max 1][avg 1.0]
Max host lookup.....0
Session Bucket Size.....228
Sessions.....57
Max Num. Sessions.....57


Address Resolution

DNS sniffed:

DNS Packets sniffed.....66
  less 'requests'.....33
  less 'failed'.....8
  less 'reverse dns' (in-addr.arpa).....25
DNS Packets processed.....0
Stored in cache (includes aliases).....0


IP to name - ipaddr2str():

Total calls.....59
....OK.....28
....Total not found.....31
........Not found in cache.....30
........Too old in cache.....0


Queued - dequeueAddress():

Total Queued.....31
Not queued (duplicate).....0
Maximum Queued.....2
Current Queue.....0


Resolved - resolveAddress():

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


DNS lookup calls:

DNS resolution attempts.....31
....Success: Resolved.....23
....Failed.....8
........HOST_NOT_FOUND.....8
........NO_DATA.....0
........NO_RECOVERY.....0
........TRY_AGAIN (don't store).....0
........Other error (don't store).....0
DNS lookups stored in cache.....31
Host addresses kept numeric.....8


Vendor Lookup Table

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


Thread counts

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

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


Compile Time: ./configure

./configure parameters.....--disable-ssl --prefix=/usr/local/ntop-2.2.95
--with-gd-include=/usr/local/include/gd
Built on (Host).....i386-unknown-freebsd4.9
Built for(Target).....i386-unknown-freebsd4.9
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/usr/local/include/gd
-I/usr/home/anwsmh/build/ntop-cvs_17-Oct-2003/ntop/myrrd
system libraries.....-L/usr/local/lib
-L/usr/home/anwsmh/build/ntop-cvs_17-Oct-2003/ntop/myrrd -lc_r -lc
-lcrypt -lssl -lcrypto -lpcap -lgdbm -lgd -lpng -lz -lmyrrd
install path...../usr/local/ntop-2.2.95
GNU C (gcc) version.....2.95.4 20020320 [FreeBSD] (2.95.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
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 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.....no
HAVE_ARPA_NAMESER_H.....yes
HAVE_BACKTRACE.....no
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.....no
HAVE_GETHOSTBYNAME.....yes
HAVE_GETHOSTNAME.....yes
HAVE_GETIPNODEBYADDR.....yes
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.....no
HAVE_LIBPCAP.....yes
HAVE_LIBPNG.....yes
HAVE_LIBPOSIX4.....no
HAVE_LIBPTHREAD.....no
HAVE_LIBPTHREADS.....no
HAVE_LIBRESOLV.....no
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.....no
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_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.....no
HAVE_PTHREAD_H.....yes
HAVE_PUTENV.....yes
HAVE_PWD_H.....yes
HAVE_RE_COMP.....no
HAVE_REGCOMP.....yes
HAVE_REGEX.....no
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.....no
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.....yes
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.....yes
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-2.2.95/etc/ntop
CFG_DATAFILE_DIR - data file
directory...../usr/local/ntop-2.2.95/share/ntop
CFG_DBFILE_DIR - database file
directory...../usr/local/ntop-2.2.95/var/ntop
CFG_PLUGIN_DIR - plugin file
directory...../usr/local/ntop-2.2.95/lib/ntop/plugins
CFG_RUN_DIR - run file directory...../usr/local/ntop-2.2.95/var/ntop
CFG_NEED_GETDOMAINNAME (getdomainname(2) function).....yes
CFG_xxxxxx_ENDIAN (Hardware Endian).....little
HAVE_FILEDESCRIPTORBUG.....yes


Compile Time: globals-defines.h

EMSGSIZE.....40
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.....no
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.....256
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/log/ntop/rrd
New directory permissions.....0700
New file umask.....0066


3 truss

gettimeofday(0x28348288,0x0)                     = 0 (0x0)
sigprocmask(0x3,0x283482f8,0x0)                  = 0 (0x0)
poll(0x8077000,0x1,0x0)                          = 0 (0x0)
sigreturn(0xbfa96850)                            = 203400 (0x31a88)
SIGNAL 27
SIGNAL 27
gettimeofday(0x28348288,0x0)                     = 0 (0x0)
sigprocmask(0x3,0x283482f8,0x0)                  = 0 (0x0)
poll(0x8077000,0x1,0x0)                          = 0 (0x0)
sigreturn(0xbfa967e0)                            = 0 (0x0)
SIGNAL 27
SIGNAL 27
gettimeofday(0x28348288,0x0)                     = 0 (0x0)
sigprocmask(0x3,0x283482f8,0x0)                  = 0 (0x0)
poll(0x8077000,0x1,0x0)                          = 0 (0x0)
sigreturn(0xbfa967e0)                            = 0 (0x0)
SIGNAL 27
SIGNAL 27
gettimeofday(0x28348288,0x0)                     = 0 (0x0)
sigprocmask(0x3,0x283482f8,0x0)                  = 0 (0x0)
poll(0x8077000,0x1,0x0)                          = 0 (0x0)
sigreturn(0xbfa96850)                            = 0 (0x0)
SIGNAL 27
SIGNAL 27
gettimeofday(0x28348288,0x0)                     = 0 (0x0)
sigprocmask(0x3,0x283482f8,0x0)                  = 0 (0x0)
poll(0x8077000,0x1,0x0)                          = 0 (0x0)
sigreturn(0xbfa967e0)                            = 0 (0x0)
SIGNAL 27
SIGNAL 27
gettimeofday(0x28348288,0x0)                     = 0 (0x0)
sigprocmask(0x3,0x283482f8,0x0)                  = 0 (0x0)
poll(0x8077000,0x1,0x0)                          = 0 (0x0)
sigreturn(0xbfa967e0)                            = 0 (0x0)
SIGNAL 27
SIGNAL 27
gettimeofday(0x28348288,0x0)                     = 0 (0x0)
sigprocmask(0x3,0x283482f8,0x0)                  = 0 (0x0)
poll(0x8077000,0x1,0x0)                          = 0 (0x0)
sigreturn(0xbfa96850)                            = 0 (0x0)
SIGNAL 27
SIGNAL 27
gettimeofday(0x28348288,0x0)                     = 0 (0x0)
sigprocmask(0x3,0x283482f8,0x0)                  = 0 (0x0)
poll(0x8077000,0x1,0x0)                          = 0 (0x0)
sigreturn(0xbfa967e0)                            = 0 (0x0)
SIGNAL 27
SIGNAL 27


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

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

Reply via email to