Yeah from some of the stuff that's happening and the reading, that may be
the best choice.  It sounds like ptrace and NPTL is just too much of a jump
until stuff catches up, e.g.:
https://listman.redhat.com/archives/phil-list/2003-May/msg00062.html.


I think the 'faq' answer has to be

'ntop does not work properly with NPTL, which are presently available ONLY
in RH9 and are not (yet) part of the standard Linux Kernel.  The symptom
seems to be frequent but random failures.  We are aware of the situation and
are looking into it.

As a work-around, it's been reported that setting

LD_ASSUME_KERNEL=2.4.1

before doing ./configure, make (and possibly at runtime), uses the old
linuxthreads implementation, and so may work successfully.  Please try it an
tell the ntop-dev mailing list of your success/failure.'



NPTL (Native POSIX Thread Library) is a big jump.  It's different in places
by design (fixes things where the old Linux P threads was wrong) and by
accident (where the 'correct' behavior is undefined, albeit something people
depended upon - see
https://listman.redhat.com/archives/phil-list/2003-May/msg00066.html as a
quick example).

The write up on NPTL is:

http://www.redhat.com/partners/pdf/POSIX_Linux_Threading.pdf

(especially See 'Problems with the existing implementation')


http://www.gurulabs.com/RedHatLinux9-review.html

Addition of Native POSIX Thread Library (NPTL) for standards based threading
support with impressive performance. This is definitely a nice addition,
however, I anticipate that sys admins who add patches on-top-of the RHL
kernel from 3rd party (UML, FreeSWAN, etc) sources will have a more
difficult time getting the patches to apply and work cleanly. Presumably
when the 2.6 kernel comes out, the divergence of the RHL kernel will drop
substantially.

Certain applications using the old LinuxThreads API in a certain manner may
no longer work (was that vague enough?)


http://www.onlamp.com/lpt/a/2839


Unfortunately, ntop's split - half fork(), half pthreads is probably part of
the problem.  It's not exactly recommended as a design choice, but there is
one major difference and it's something ntop uses to it's advantage.

The problem is that we use fork() to take advantage of the non-shared memory
(i.e. we fork() from the web server to get a copy of the internal structures
for reporting on, without worrying about changes to the data during the
reporting process).  Yet we use the shared memory of pthread_create for
myGlobals (for example) to be shared among all the threads.  Thus thread 1
can update a value and thread 2 sees that value.

Other tidbits...
   see "man pthread_atfork" for an interesting note about behavior.

   https://listman.redhat.com/archives/phil-list/2003-April/msg00035.html:
     Wan-Teh Chang wrote:
     > Red Hat Linux 9 ships with the NPTL.  Our code
     > contains workarounds for LinuxThreads, and I
     > want to disable the workarounds if we are compiling
     > against NPTL.  How do I detect whether the pthread
     > library is LinuxThreads or NPTL at compile time?

     This cannot be answered easily.  If you build a binary on RHL9 it'll be
     default link with LinuxThreads and at runtime it'll use by default
NPTL.
      You can force using NPTL at link time as well by
adding -L/usr/lib/nptl
     to your link line.  When you do this there is no further need to find
it
     out, you better know it beforehand.

I could keep going, but that's enough.



-----Burton

US-based commercial support for ntop:
     http://www.ntopsupport.com
     mailto:[EMAIL PROTECTED]

Search the ntop mailing lists at gmane:
     http://search.gmane.org

HowTo Ask for Help at
     http://snapshot.ntop.org/faq.php#83


-----Original Message-----
From: Dominique Lalot [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 4:51 AM
To: Burton M. Strauss III
Subject: RE: [Ntop] web interface looping


A 12:11 28/05/2003 -0500, vous avez �crit :

RH9 - problems - do bears you-know-what in the woods???

If you download RH's latest kernel package - kernel-2.4.20-8.src.rpm - there
are 149 source patches to the base kernel.  71 more than their old 2.4.18
kernel version.  Some are minor, some are quite major.  Stuff like ptrace -
which, while it fixes a privledge escalation attack, also breaks stuff like
gdb.

At this point, until RH get their act together and can offer versions of
essential tools that WORK together, I can't recommend RH9.


well, went back to the old glibc which is working


What I have is a RH8 system updated w/ the 2.4.18-27.8.0smp kernel,
glibc-2.3.2-4.80.6, and gcc-3.2-7 - so it's as current a RH8 as can be, as
least as of the last time I ran up2date...

Beyond that, you're on your own.


-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dominique
Lalot
Sent: Wednesday, May 28, 2003 2:29 AM
To: Dominique Lalot
Cc: [EMAIL PROTECTED]
Subject: Re: [Ntop] web interface looping


As a hint: I migate my server by hand, but properly to Redhat 9 and
glibc 2.3.2-27.9 from updates


In fact, I've got problems while constructing graphs.
The page is waiting for the PIEs and sometimes I can see:
GDC_ou_pie (002) wait failed interrupted ( 10 - ECHILD )


Is there some problems with RH9 around ?.


Thanks in advance


Dominique


A 07:36 28/05/2003 +0200, vous avez �crit :
----------------------------------------------------------------------------


n t o p v e r s i o n '2.2' p r o b l e m r e p o r t
From: Dominique LALOT
EMail: [EMAIL PROTECTED]
Date: 2003-05-28 07:22:51 GMT
Problem Report Id: PR_YPDZ9WX
----------------------------------------------------------------------------
Summary
Loop in web server trying to see an host
CVS from May the 20th




OS: Linux version: 2.4.20
ntop from: Sources 2.2+CVS (rpm, source, ports, etc.)
Hardware: CPU: Xeon_____ (i86, SPARC, etc.)
# Processors: 2
Memory: 1024 MB
Network:
Merged packet counts:
Ethernet: 287631
Broadcast: 121401
IP: 287630
Network Interface 0 eth1
Mfg: ____________________ Model: INTEL E1000
NIC Speed: 1000/ Bus: PCI
Location: Public Internet / LAN / WAN
Bandwidth: Dialup 100Mbps+
# Hosts (machines): >3000
----------------------------------------------------------------------------
Log extract
y 28 09:10:52 ad01u253 ntop[16466]: [MSGID00489-hash] IDLE_PURGE: Device
0(eth1), up to 512 of 16384 hosts
May 28 09:10:52 ad01u253 ntop[16466]: [MSGID00539-hash] IDLE_PURGE: FINISHED
selection, 0 hosts selected
May 28 09:10:53 ad01u253 ntop[16466]: [MSGID00583-hash] IDLE_PURGE: Device
0: no hosts deleted
May 28 09:12:29 ad01u253 kernel: application bug: ntop(16470) has SIGCHLD
set to SIG_IGN but calls wait().
May 28 09:12:29 ad01u253 kernel: (see the NOTES section of 'man 2 wait').
Workaround activated.
May 28 09:12:30 ad01u253 ntop[16466]: [MSGID00100-graph] **WARNING**
GDC_out_pie(002) - wait failed/interrupted (10 - ECHILD)
May 28 09:18:33 ad01u253 kernel: device eth1 left promiscuous mode
-------
May 28 09:23:17 ad01u253 last message repeated 3 times
May 28 09:23:17 ad01u253 ntop[16979]: [MSGID01012-util] **WARNING** WARNING:
accessMutex() call with a self-LOCKED mutex [from 16979 at util.c:4418
ntop_gdbm_fetch]
May 28 09:23:21 ad01u253 ntop[16979]: [MSGID01012-util] **WARNING** WARNING:
accessMutex() call with a self-LOCKED mutex [from 16979 at util.c:4438
ntop_gdbm_store]
May 28 09:26:15 ad01u253 ntop[16979]: [MSGID01012-util] **WARNING** WARNING:
accessMutex() call with a self-LOCKED mutex [from 16979 at util.c:4438
ntop_gdbm_store]
May 28 09:27:00 ad01u253 ntop[16979]: [MSGID01012-util] **WARNING** WARNING:
accessMutex() call with a self-LOCKED mutex [from 16979 at util.c:4438
ntop_gdbm_store]






----------------------------------------------------------------------------
Problem Description
ntop ran fine all the night.
Using web interface, doing tests to understand sessions
I clicked over a machine I've seen a few minutes before
Web server looped eating 100%CPU
Killed it and ntop stopped.
Should be a way to restart/kill the web server?.










----------------------------------------------------------------------------
ntop version.....2.2
Built on.....05/27/03 06:39:49 PM
OS.....i686-pc-linux-gnu
ntop Process Id.....16979
http Process Id.....1


Command line
Started as....ntop @manaix.ntop
Resolved to....ntop
-P
/usr/share/ntop
-u
ntop
-C
-L
-K
-d
-t
5
-c
-o
-g
-i
eth1
-a
/usr/share/ntop/access.log
-m
139.124.184.0/22, 193.50.174.0/24, 194.199.116.0/24, 139.124.242.0/24,
139.124.144.0/22, 139.124.140.0/22, 139.124.226.0/24, 193.50.125.0/24,
193.50.126.0/24, 139.124.228.0/24, 194.57.187.0/24, 194.57.195.0/24,
193.50.65.0/24, 147.94.192.0/21, 147.94.208.0/20, 193.50.127.0/24,
193.50.65.0/24, 194.214.88.0/25, 193.49.98.0/24, 193.49.99.0/24,
195.221.217.0/24, 195.221.218.0/24, 195.221.219.0/24, 193.51.62.0/24,
193.51.63.0/24, 194.199.136.0/24, 194.199.137.0/24, 194.167.161.0/24,
194.167.249.0/24
Command line parameters are:
-a | --access-log-path...../usr/share/ntop/access.log
-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.....Track local hosts only
-o | --no-mac.....Don't trust MAC Addresses
-i | --interface (effective).....eth1
-k | --filter-expression-in-extra-frame.....(default) No
-l | --pcap-log.....(default) (nil)
-m | --local-subnets (effective).....139.124.184.0/22, 193.50.174.0/24,
194.199.116.0/24, 139.124.242.0/24, 139.124.144.0/22, 139.124.140.0/22,
139.124.226.0/24, 193.50.125.0/24, 193.50.126.0/24, 139.124.228.0/24,
194.57.187.0/24, 194.57.195.0/24, 193.50.65.0/24, 147.94.192.0/21,
147.94.208.0/20, 193.50.127.0/24, 193.50.65.0/24, 194.214.88.0/25,
193.49.98.0/24, 193.49.99.0/24, 195.221.217.0/24, 195.221.218.0/24,
195.221.219.0/24, 193.51.62.0/24, 193.51.63.0/24, 194.199.136.0/24,
194.199.137.0/24, 194.167.161.0/24, 194.167.249.0/24
-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.....5
-u | --user.....ntop (uid=500, gid=500)
-w | --http-server.....(default) Active, all interfaces, port 3000
-z | --disable-sessions.....(default) No
-B | --filter-expression.....(default) none
-D | --domain.....u-3mrs.fr
-E | --enable-external-tools.....(default) No
-F | --flow-spec.....(default) none
-K | --enable-debug.....Yes
-L | --use-syslog.....daemon
-M | --no-interface-merge (effective).....(default) (Merging Interfaces) Yes
-O | --pcap-file-path.....(default) /usr/local/var/ntop
-P | --db-file-path...../usr/share/ntop
-U | --mapper.....(default) (nil)
--throughput-chart-type.....(default) Area
--ignore-sigpipe.....(default) No
--dynamic-purge-limits.....(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
GDBM version.....This is GDBM version 1.8.0, as of May 19, 1999.
zlib version.....1.1.4
Protocol Decoders.....Enabled
Fragment Handling.....Enabled
Tracking only local hosts.....Yes
# IP Protocols Being Monitored.....18
# Protocol slots.....950
# IP Ports Being Monitored.....58
# Ports slots.....116
# Handled SIGPIPE Errors.....0
# Handled HTTP Requests.....56
Devices (Network Interfaces).....1
Domain name (short).....fr
IP to country flag table (entries).....47455
Total Hash Collisions (Vendor/Special) (lookup).....0
Local Networks.....10.40.63.0/255.255.255.0 [device eth1]


Memory allocation - data segment
arena limit, getrlimit(RLIMIT_DATA, ...).....-1
Allocated blocks (ordblks).....1431
Allocated (arena).....10159708
Used (uordblks).....10020812
Free (fordblks).....138896


Memory allocation - mmapped
Allocated blocks (hblks).....4
Allocated bytes (hblkhd).....2277376


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.....12437084
Base memory usage.....5596764
Hosts stored (active+cache).....3261 = (3261 + 0)
(very) Approximate memory per host.....2.1KB


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.....2
Host/Session counts - Device 0 (eth1)
Actual Hash Size.....4096
Stored hosts.....3261 [79 %]
Sessions.....1
Max Num. Sessions.....1


Address Resolution
DNS sniffed:
DNS Packets sniffed.....8121
less 'requests'.....4076
less 'failed'.....2885
less 'reverse dns' (in-addr.arpa).....318
DNS Packets processed.....842
Stored in cache (includes aliases).....549


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


Queued - dequeueAddress():
Total Queued.....3258
Not queued (duplicate).....0
Maximum Queued.....143
Current Queue.....0


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


DNS lookup calls:
DNS resolution attempts.....3258
....Success: Resolved.....382
....Failed.....2876
........HOST_NOT_FOUND.....2876
........NO_DATA.....0
........NO_RECOVERY.....0
........TRY_AGAIN (don't store).....0
........Other error (don't store).....0
DNS lookups stored in cache.....3258
Host addresses kept numeric.....2876


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


Thread counts
Active.....5
Dequeue.....1
Children (active).....0
Reject duration (seconds).....300
It is now.....Wed May 28 09:22:51 2003
Directory (search) order
Data Files......
/usr/local/share/ntop
Config Files......
/usr/local/etc/ntop
/etc
Plugins....../plugins
/usr/local/lib/ntop/plugins


Compile Time: ./configure
./configure parameters.....
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
path.....-I/root/ntop-2.2/gdchart0.94c/zlib-1.1.4 -I/root/ntop-2.2/gdchart0.
94c -I/root/ntop-2.2/gdchart0.94c/gd-1.8.3 -I/root/ntop-2.2/gdchart0.94c/gd-
1.8.3/libpng-1.2.4
system
libraries.....-lxml2 -lpthread -lresolv -lnsl -lm -lssl -lcrypto -lpcap -lgd
bm -ldl -lcrypt -lc -L/root/ntop-2.2/gdchart0.94c/zlib-1.1.4 -lz -L/root/nto
p-2.2/gdchart0.94c -lgdchart -L/root/ntop-2.2/gdchart0.94c/gd-1.8.3 -lgd -L/
root/ntop-2.2/gdchart0.94c/gd-1.8.3/libpng-1.2.4 -lpng
install path...../usr/local
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
MEMORY_DEBUG.....no
NETFLOW_DEBUG.....no
SEMAPHORE_DEBUG.....no
SESSION_TRACE_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.....no
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.....no
HAVE_LIBM.....yes
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.....yes
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.....no
HAVE_OPENSSL_CRYPTO_H.....yes
HAVE_OPENSSL_ERR_H.....yes
HAVE_OPENSSL_PEM_H.....yes
HAVE_OPENSSL_RSA_H.....yes
HAVE_OPENSSL_SSL_H.....no
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.....no
HAVE_RRD_H.....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.....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
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_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

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

Reply via email to