When I set it as A CPPFLAG it did not show up in the web based configuration page. When I set it as a CFLAG it did. I have now setup the LINUXredhat2.1 file to add the flag to both but that seems to still be problematic. Both CVS from yesterday and from 2 days ago still exhibit the deadlock for traceEvent().
I'll keep beating on it but it will be outside work from now on. --- start version.c --- char * version = "3.1.1"; char * osName = "i686-pc-linux-gnu"; char * author = "Luca Deri <[EMAIL PROTECTED]>"; char * configureDate = "Mar 31 2005 16:43:17"; #define buildDateIs __DATE__ " " __TIME__ char * buildDate = buildDateIs; char * configure_parameters = "i386-redhat-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/ bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir= /usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/sh are/man --infodir=/usr/share/info --enable-optimize --bindir=/usr/bin --datadir=/var --enable-sslv 3 --enable-i18n"; char * host_system_type = "i386-redhat-linux-gnu"; char * target_system_type = "i386-redhat-linux-gnu"; char * compiler_cflags = "i386-redhat-linux-gcc -g -O2 -DFORPRENPTL -I/usr/local/include -g -Wsh adow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -DHAVE_CON FIG_H"; char * include_path = ""; char * system_libs = "-L/usr/local/lib -lxml2 -lglib -lpthread -lresolv -lnsl -lcrypt -lc -lssl -lcrypto -lpcap -lgdbm -lgd -lpng -lz"; char * install_path = "/usr"; /*i18n*/ char * locale_dir = "/usr/lib/locale"; char * distro = "redhat"; char * release = "2.1"; char * force_runtime = ""; --- end version.c --- --- start Bug Report info --- Basic Information ntop Version.....3.1.1 Configured on.....Mar 31 2005 16:43:17 Built on.....Mar 31 2005 16:43:50 OS.....i686-pc-linux-gnu This version of ntop is.....the current DEVELOPMENT version - Expect the unexpected! Next version recheck is.....Fri 15 Apr 2005 08:01:37 PM CDT libpcap version.....libpcap version 0.8.3 Running from...../usr/bin Libraries in...../usr/bin Library path.....(nil) ntop Process Id.....7256 http Process Id.....7264 Command line Started as........./usr/bin/ntop --no-fc -u ntop -d -P /var/ntop -i eth1 -m 172.18.32.0/21 -w3000 -W 0 --disable-schedyield Resolved to........./usr/bin/ntop --no-fc -u ntop -d -P /var/ntop -i eth1 -m 172.18.32.0/21 -w3000 -W 0 --disable-schedyield Preferences used -a | --access-log-file.....(default) (nil) -b | --disable-decoders.....(default) No -c | --sticky-hosts.....(default) No -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.....(default) 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).....172.18.32.0/21 -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=101) -w | --http-server.....(default) Active, all interfaces, port 3000 -z | --disable-sessions.....(default) No -B | --filter-expression.....(default) none -D | --domain.....ok.wni.com -F | --flow-spec.....(default) none -K | --enable-debug.....(default) No -L | --use-syslog.....daemon -M | --no-interface-merge (effective).....(default) (Merging Interfaces) Yes -N | --wwn-map.....(default) (nil) -O | --pcap-file-path.....(default) /var/ntop -P | --db-file-path.....(default) /var/ntop -Q | --spool-file-path.....(default) /var/ntop -U | --mapper.....(default) (nil) -W | --https-server.....Uninitialized --disable-schedYield.....Yes --disable-instantsessionpurge.....(default) No --disable-mutexextrainfo.....(default) No --disable-stopcap.....(default) No --fc-only.....(default) No --instance.....(default) (nil) --no-fc.....Yes --no-invalid-lun.....(default) No --p3p-cp.....(default) none --p3p-uri.....(default) none --pcap-nonblocking.....(default) No --skip-version-check.....(default) No --ssl-watchdog.....(default) No --w3c.....(default) No 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.6b [engine] 9 Jul 2001 zlib version.....1.1.4 gd version (guess).....1.8.4 Protocol Decoders.....Enabled Fragment Handling.....Enabled Tracking only local hosts.....No # IP Protocols Being Monitored.....19 # Protocol slots.....880 # IP Ports Being Monitored.....174 # IP Ports slots.....348 WebServer Request Queue.....10 Devices (Network Interfaces).....1 Domain name (short).....com IP to country flag table (entries).....52395 Total Hash Collisions (Vendor/Special) (lookup).....0 ntop Web Server Item..................http://...................https://# Handled Requests.....49.....- # Successful requests (200).....48.....- # Bad (We don't want to talk with you) requests.....0.....- # Invalid requests - 403 FORBIDDEN.....0.....- # Invalid requests - 404 NOT FOUND.....0.....- # Handled SIGPIPE Errors.....0 Memory allocation - data segment arena limit, getrlimit(RLIMIT_DATA, ...).....-1 Allocated blocks (ordblks).....2 Allocated (arena).....5263268 Used (uordblks).....5259524 Free (fordblks).....3744 Memory allocation - mmapped Allocated blocks (hblks).....4 Allocated bytes (hblkhd).....5017600 Memory Usage IPX/SAP Hash Size (bytes).....1897 IP to country flag table (bytes).....1614732 (1.5 MB) Bytes per entry.....30.8 IP to AS (Autonomous System) number table (bytes).....0 (0.0 MB) Current memory usage.....10280868 Base memory usage.....5050368 Hosts stored (active+cache).....18 = (18 + 0) (very) Approximate memory per host.....283.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.....224 Processed Immediately.....224 Queued.....0 Current Queue.....0 Maximum Queue.....0 Host/Session counts - global Purged Hosts.....0 Terminated Sessions.....0 Host/Session counts - Device 0 (eth1) Hash Bucket Size.....1.9 KB Actual Hash Size.....16384 Stored hosts.....18 Bucket List Length.....[min 1][max 1][avg 1.0] Max host lookup.....0 Session Bucket Size.....260 Sessions.....14 Max Num. Sessions.....14 ----- Address Resolution ----- DNS Sniffing (other hosts requests) DNS Packets sniffed.....6 less 'requests'.....4 less 'failed'.....0 less 'reverse dns' (in-addr.arpa).....2 DNS Packets processed.....0 Stored in cache (includes aliases).....0 IP to name - ipaddr2str(): Total calls.....15 ....OK.....6 ....Total not found.....9 ........Not found in cache.....6 ........Too old in cache.....3 Queued - dequeueAddress() Total Queued.....8 Not queued (duplicate).....1 Maximum Queued.....5 Current Queue.....0 Resolved - resolveAddress(): Addresses to resolve.....8 ....less 'Error: No cache database'.....0 ....less 'Found in ntop cache'.....0 Gives: # gethost (DNS lookup) calls.....8 DNS Lookup Calls: DNS resolution attempts.....8 ....Success: Resolved.....5 ....Failed.....3 ........HOST_NOT_FOUND.....2 ........NO_DATA.....0 ........NO_RECOVERY.....0 ........TRY_AGAIN (don't store).....1 ........Other error (don't store).....0 DNS lookups stored in cache.....7 Host addresses kept numeric.....3 Vendor Lookup Table Input lines read.....0 Records added total.....0 .....includes special records.....0 getVendorInfo() calls.....0 getSpecialVendorInfo() calls.....6 Found 48bit (xx:xx:xx:xx:xx:xx) match.....0 Found 24bit (xx:xx:xx) match.....6 Found multicast bit set.....0 Found LAA (Locally assigned address) bit set.....0 Thread counts Active.....8 Dequeue.....1 Children (active).....11 Directory (search) order Data Files...... /var/ntop Config Files...... /etc/ntop /etc Plugins....../plugins /usr/lib/ntop/plugins Compile Time: ./configure ./configure parameters.....i386-redhat-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --enable-optimize --bindir=/usr/bin --datadir=/var --enable-sslv3 --enable-i18n Built on (Host).....i386-redhat-linux-gnu Built for(Target).....i386-redhat-linux-gnu compiler (CFLAGS).....i386-redhat-linux-gcc -g -O2 -DFORPRENPTL -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -DHAVE_CONFIG_H include path.....(nil) system libraries.....-L/usr/local/lib -lxml2 -lglib -lpthread -lresolv -lnsl -lcrypt -lc -lssl -lcrypto -lpcap -lgdbm -lgd -lpng -lz install path...../usr GNU C (gcc) version.....2.96 20000731 (Red Hat Linux 7.2 2.96-128.7.2) (2.96.0) uname data.....sysname(Linux) release(2.4.9-e.48smp) version(#1 SMP Fri Jul 30 18:52:05 EDT 2004) machine(i686) Internationalization (i18n) i18n enabled.....Yes Locale directory (version.c)...../usr/lib/locale Languages - per request (Accept-Language:).....globals-defines.h: #define MAX_LANGUAGES_REQUESTED 4 Languages supported - maximum.....globals-defines.h: #define MAX_LANGUAGES_SUPPORTED 8 Languages supported - actual .....1 Default language.....en_US Locale.....en_US Numeric format.....1,000.00 Compile Time: Debug settings in globals-defines.h DEBUG.....no ADDRESS_DEBUG.....no CHKVER_DEBUG.....no CMPFCTN_DEBUG.....no DNS_DEBUG.....no DNS_SNIFF_DEBUG.....no FC_DEBUG.....no FINGERPRINT_DEBUG.....no FRAGMENT_DEBUG.....no FTP_DEBUG.....no GDBM_DEBUG.....no HASH_DEBUG.....no HOST_FREE_DEBUG.....no HTTP_DEBUG.....no I18N_DEBUG.....no IDLE_PURGE_DEBUG.....no INITWEB_DEBUG.....no MEMORY_DEBUG.....no NETFLOW_DEBUG.....no P2P_DEBUG.....no PACKET_DEBUG.....no PARAM_DEBUG.....no PLUGIN_DEBUG.....no PROBLEMREPORTID_DEBUG.....no RRD_DEBUG.....no SEMAPHORE_DEBUG.....no SESSION_TRACE_DEBUG.....no SSLWATCHDOG_DEBUG.....no STORAGE_DEBUG.....no UNKNOWN_PACKET_DEBUG.....no URL_DEBUG.....no VENDOR_DEBUG.....no Compile Time: config.h CFG_ETHER_HEADER_HAS_EA.....no CFG_MULTITHREADED.....yes CFG_NEED_INET_ATON.....no HAVE_ALARM.....yes HAVE_ALLOCA.....yes HAVE_ALLOCA_H.....yes HAVE_ARPA_INET_H.....yes HAVE_ARPA_NAMESER_H.....yes HAVE_BACKTRACE.....yes HAVE_BZERO.....yes HAVE_CRYPTGETFORMAT.....no HAVE_CRYPT_H.....yes HAVE_CTIME_R.....yes HAVE_DIRENT_H.....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_FINITE.....yes HAVE_FLOAT_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_GETOPT_H.....yes HAVE_GETPASS.....yes HAVE_GETTIMEOFDAY.....yes HAVE_GLIBCONFIG_H.....no HAVE_GLIB_H.....no HAVE_ICMP6_H.....no HAVE_IEEEFP_H.....no HAVE_IF_H.....no HAVE_IFLIST_SYSCTL.....no HAVE_IN6_ADDR.....yes HAVE_INET_NTOA.....yes HAVE_INT16_T.....yes HAVE_INT32_T.....yes HAVE_INT64_T.....yes HAVE_INT8_T.....yes HAVE_INTTYPES_H.....yes HAVE_IP6_H.....no HAVE_ISFINITE.....no HAVE_ISINF.....yes HAVE_LANGINFO_H.....yes HAVE_LIBC.....yes HAVE_LIBC_R.....no HAVE_LIBCRYPT.....yes HAVE_LIBCRYPTO.....yes HAVE_LIBDL.....no 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.....yes 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.....no HAVE_MALLINFO_MALLOC_H.....yes HAVE_MALLOC_H.....yes HAVE_MATH_H.....yes HAVE_MEMCHR.....yes HAVE_MEMORY_H.....yes HAVE_MEMSET.....yes HAVE_NDIR_H.....no HAVE_NET_BPF_H.....no HAVE_NETDB_H.....yes HAVE_NET_ETHERNET_H.....yes HAVE_NET_IF_DL_H.....no HAVE_NET_IF_H.....yes HAVE_NETINET_ICMP6_H.....yes HAVE_NETINET_IF_ETHER_H.....yes HAVE_NETINET_IN_H.....yes HAVE_NETINET_IN_SYSTM_H.....yes HAVE_NETINET_IP6_H.....yes HAVE_NETINET_IP_H.....yes HAVE_NETINET_TCP_H.....yes HAVE_NETINET_UDP_H.....yes HAVE_NET_PPP_DEFS_H.....yes HAVE_NET_ROUTE_H.....yes HAVE_NET_SNMP_NET_SNMP_CONFIG_H.....no 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_BPF_H.....yes HAVE_PCAP_FINDALLDEVS.....yes HAVE_PCAP_H.....yes HAVE_PCAP_OPEN_DEAD.....yes HAVE_PCAP_SETNONBLOCK.....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_SCTP.....no 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_SNMP.....no HAVE_SNPRINTF.....yes HAVE_SOCKET.....yes HAVE_SQRT.....yes HAVE_STAT_EMPTY_STRING_BUG.....no HAVE_STDARG_H.....yes HAVE_STDDEF_H.....yes HAVE_STDINT_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_STRUCT_TM_TM_ZONE.....yes HAVE_SYSCTL.....yes HAVE_SYS_DIR_H.....no HAVE_SYS_IOCTL_H.....yes HAVE_SYS_LDR_H.....no HAVE_SYSLOG_H.....yes HAVE_SYS_NDIR_H.....no HAVE_SYS_PARAM_H.....yes HAVE_SYS_RESOURCE_H.....yes HAVE_SYS_SCHED_H.....no HAVE_SYS_SELECT_H.....yes HAVE_SYS_SOCKET_H.....yes HAVE_SYS_SOCKIO_H.....no HAVE_SYS_STAT_H.....yes HAVE_SYS_SYSCTL_H.....yes HAVE_SYS_SYSLOG_H.....yes HAVE_SYS_TIME_H.....yes HAVE_SYS_TYPES_H.....yes HAVE_SYS_UN_H.....yes HAVE_SYS_UTSNAME_H.....yes HAVE_SYS_WAIT_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 INET6.....yes LSTAT_FOLLOWS_SLASHED_SYMLINK.....yes MAKE_STATIC_PLUGIN.....no MAKE_WITH_I18N.....yes MAKE_WITH_SNMP.....no MAKE_WITH_SSLV3_SUPPORT.....yes MAKE_WITH_SSLWATCHDOG_COMPILETIME.....no MAKE_WITH_ZLIB.....yes SETVBUF_REVERSED.....no STDC_HEADERS.....yes TIME_WITH_SYS_TIME.....yes TM_IN_SYS_TIME.....no CFG_CONFIGFILE_DIR - config file directory...../etc/ntop CFG_DATAFILE_DIR - data file directory...../var/ntop CFG_DBFILE_DIR - database file directory...../var/ntop CFG_PLUGIN_DIR - plugin file directory...../usr/lib/ntop/plugins CFG_RUN_DIR - run file directory...../var/ntop CFG_NEED_GETDOMAINNAME (getdomainname(2) function).....yes CFG_xxxxxx_ENDIAN (Hardware Endian).....little Compile Time: globals-defines.h CONST_ABTNTOP_HTML.....aboutNtop.html CONST_ACTIVE_TCP_SESSIONS_HTML.....NetNetstat.html CONST_ADD_URLS_HTML.....addURLs.html CONST_ADD_USERS_HTML.....addUsers.html CONST_APACHELOG_TIMESPEC.....%d/%b/%Y:%H:%M:%S CONST_ASLIST_FILE.....AS-list.txt CONST_AS_LIST_HTML.....asList.html CONST_BAR_ALLPROTO_DIST.....allProtoDistribution CONST_BAR_FC_PROTO_DIST.....fcProtoDistribution CONST_BAR_HOST_DISTANCE.....hostsDistanceChart CONST_BAR_LUNSTATS_DIST.....ScsiBytesLunDistribution CONST_BAR_VSAN_TRAF_DIST_RCVD.....vsanDomainTrafficDistribRcvd CONST_BAR_VSAN_TRAF_DIST_SENT.....vsanDomainTrafficDistribSent CONST_BROADCAST_ENTRY.....2 CONST_CGI_HEADER.....ntop-bin/ CONST_CHANGE_FILTER_HTML.....changeFilter.html CONST_COLOR_1.....#CCCCFF CONST_COLOR_2.....#FFCCCC CONST_CONFIG_NTOP_HTML.....configNtop.html CONST_CONST_PCTG_LOW_COLOR.....BGCOLOR=#C6EEF7 CONST_CONST_PCTG_MID_COLOR.....BGCOLOR=#C6EFC8 CONST_CREDITS_HTML.....Credits.html CONST_CRYPT_SALT.....99 CONST_DAEMONNAME.....ntop CONST_DELETE_URL.....deleteURL CONST_DELETE_USER.....deleteUser CONST_DNSCACHE_LIFETIME.....86400 CONST_DNSCACHE_PERMITTED_AGE.....900 CONST_DO_ADD_URL.....doAddURL CONST_DO_ADD_USER.....doAddUser CONST_DO_CHANGE_FILTER.....doChangeFilter CONST_DOMAIN_STATS_HTML.....domainStats.html CONST_DOUBLE_TWO_MSL_TIMEOUT.....240 CONST_DUMP_DATA_HTML.....dumpData.html CONST_DUMP_HOSTS_INDEXES_HTML.....dumpDataIndexes.html CONST_DUMP_NTOP_FLOWS_HTML.....dumpFlows.html CONST_DUMP_NTOP_HOSTS_MATRIX_HTML.....dumpHostsMatrix.html CONST_DUMP_NTOP_XML.....dump.xml CONST_DUMP_TRAFFIC_DATA_HTML.....dumpTrafficData.html CONST_ETTERCAP_FINGERPRINT.....fingerprint.php CONST_ETTERCAP_HOMEPAGE.....http://ettercap.sourceforge.net/ CONST_FAVICON_ICO.....favicon.ico CONST_FC_ACTIVITY_HTML.....fcActivity.html CONST_FC_DATA_HTML.....fcData.html CONST_FC_HOSTS_INFO_HTML.....fcHostsInfo.html CONST_FC_SESSIONS_HTML.....FcSessions.html CONST_FC_THPT_HTML.....fcThpt.html CONST_FC_TRAFFIC_HTML.....fcShowStats.html CONST_FILTER_INFO_HTML.....filterInfo.html CONST_FINGERPRINT_LOOP_INTERVAL.....150 CONST_FTPDATA.....20 CONST_GRE_PROTOCOL_TYPE.....47 CONST_HANDLEADDRESSLISTS_MAIN.....0 CONST_HANDLEADDRESSLISTS_NETFLOW.....2 CONST_HANDLEADDRESSLISTS_RRD.....yes CONST_HASH_INITIAL_SIZE.....16384 CONST_HOME_HTML.....home.html CONST_HOME_UNDERSCORE_HTML.....home_.html CONST_HOST_HTML.....host.html CONST_HOSTS_INFO_HTML.....hostsInfo.html CONST_HOSTS_LOCAL_CHARACT_HTML.....localHostsCharacterization.html CONST_HOSTS_LOCAL_FINGERPRINT_HTML.....localHostsFingerprint.html CONST_HOST_SORT_NOTE_HTML.....hostSortNote.html CONST_HOSTS_REMOTE_FINGERPRINT_HTML.....remoteHostsFingerprint.html CONST_HTTP_ACCEPT_ALL.....*/* CONST_IMG_ARROW_DOWN..... CONST_IMG_ARROW_UP..... CONST_IMG_BRIDGE..... CONST_IMG_DHCP_CLIENT..... CONST_IMG_DHCP_SERVER..... CONST_IMG_DIRECTORY_SERVER.....(nil) CONST_IMG_DNS_SERVER..... CONST_IMG_FC_VEN_BROCADE..... CONST_IMG_FC_VEN_EMC..... CONST_IMG_FC_VEN_EMULEX..... CONST_IMG_FC_VEN_JNI..... CONST_IMG_FC_VEN_SEAGATE..... CONST_IMG_FIBRECHANNEL_SWITCH..... CONST_IMG_FTP_SERVER.....(nil) CONST_IMG_HAS_P2P..... CONST_IMG_HAS_USERS..... CONST_IMG_HIGH_RISK..... CONST_IMG_HTTP_SERVER..... CONST_IMG_IMAP_SERVER.....(nil) CONST_IMG_LOCK..... CONST_IMG_LOW_RISK..... CONST_IMG_MEDIUM_RISK..... CONST_IMG_MULTIHOMED..... CONST_IMG_NIC_CARD..... CONST_IMG_NTP_SERVER..... CONST_IMG_OS_AIX..... CONST_IMG_OS_BERKELEY..... CONST_IMG_OS_BSD..... CONST_IMG_OS_CISCO..... CONST_IMG_OS_HP_JETDIRET..... CONST_IMG_OS_HP_UX..... CONST_IMG_OS_IRIX..... CONST_IMG_OS_LINUX..... CONST_IMG_OS_MAC..... CONST_IMG_OS_NOVELL..... CONST_IMG_OS_SOLARIS..... CONST_IMG_OS_SUNOS..... CONST_IMG_OS_UNIX..... CONST_IMG_OS_WINDOWS..... CONST_IMG_POP_SERVER.....(nil) CONST_IMG_PRINTER..... CONST_IMG_ROUTER..... CONST_IMG_SCSI_DISK..... CONST_IMG_SCSI_INITIATOR..... CONST_IMG_SMTP_SERVER..... CONST_INDEX_HTML.....index.html CONST_INDEX_INNER_HTML.....index_inner.html CONST_INFOHTML_COL1_WIDTH.....250 CONST_INFOHTML_COL23_WIDTH.....350 CONST_INFOHTML_COL2_WIDTH.....175 CONST_INFOHTML_COL3_WIDTH.....175 CONST_INFOHTML_WIDTH.....600 CONST_INFO_NTOP_HTML.....info.html CONST_INVALIDNETMASK.....-1 CONST_IP_L_2_L_HTML.....ipL2L.html CONST_IP_L_2_R_HTML.....ipL2R.html CONST_IP_PROTO_DISTRIB_HTML.....ipProtoDistrib.html CONST_IP_PROTO_USAGE_HTML.....ipProtoUsage.html CONST_IP_R_2_L_HTML.....ipR2L.html CONST_IP_R_2_R_HTML.....ipR2R.html CONST_IP_TRAFFIC_MATRIX_HTML.....ipTrafficMatrix.html CONST_ISO8601_TIMESPEC.....%Y-%m-%dT%H:%M:%S CONST_LEFTMENU_HTML.....leftmenu.html CONST_LEFTMENU_NOJS_HTML.....leftmenu-nojs.html CONST_LEGEND_BOX_SIZE.....7 CONST_LIBGD_SO.....libgd.so CONST_LOCALE_TIMESPEC.....%c CONST_LOCAL_ROUTERS_LIST_HTML.....localRoutersList.html CONST_LOG_VIEW_BUFFER_SIZE.....50 CONST_MAGIC_NUMBER.....1968 CONST_MAN_NTOP_HTML.....ntop.html CONST_MODIFY_URL.....modifyURL CONST_MODIFY_USERS.....modifyUsers CONST_MULTICAST_MASK.....-536870912 CONST_MULTICAST_STATS_HTML.....multicastStats.html CONST_NET_FLOWS_HTML.....NetFlows.html CONST_NETMASK_ENTRY.....1 CONST_NETWORK_ENTRY.....0 CONST_NTOP_HELP_HTML.....help.html CONST_NTOP_P3P.....ntop.p3p CONST_NULL_HDRLEN.....4 CONST_NUM_TABLE_ROWS_PER_PAGE.....128 CONST_NUM_TRANSACTION_ENTRIES.....256 CONST_OSFINGERPRINT_FILE.....etter.finger.os CONST_P2C_FILE.....p2c.opt.table CONST_PACKET_QUEUE_LENGTH.....2048 CONST_PATH_SEP.....47 CONST_PCAPNONBLOCKING_SLEEP_TIME.....30000000 CONST_PCAP_NW_INTERFACE_FILE.....pcap file CONST_PCTG_HIGH_COLOR.....BGCOLOR=#FF3118 CONST_PCTG_LOW.....25 CONST_PCTG_MID.....75 CONST_PIE_FC_PKT_SZ_DIST.....fcPktSizeDistribPie CONST_PIE_INTERFACE_DIST.....interfaceTrafficPie CONST_PIE_IP_TRAFFIC.....ipTrafficPie CONST_PIE_PKT_CAST_DIST.....pktCastDistribPie CONST_PIE_PKT_SIZE_DIST.....pktSizeDistribPie CONST_PIE_TTL_DIST.....pktTTLDistribPie CONST_PIE_VSAN_CNTL_TRAF_DIST.....vsanControlTrafficDistribPie CONST_PLUGIN_ENTRY_FCTN_NAME.....PluginEntryFctn CONST_PLUGIN_EXTENSION......so CONST_PLUGINS_HEADER.....plugins/ CONST_PPP_HDRLEN.....4 CONST_PPP_PROTOCOL_TYPE.....34827 CONST_PRIVACYCLEAR_HTML.....privacyFlagClear.html CONST_PRIVACYFORCE_HTML.....privacyFlagForce.html CONST_PRIVACYNOTICE_HTML.....privacyNotice.html CONST_PROBLEMRPT_HTML.....ntopProblemReport.html CONST_REPORT_ITS_DEFAULT.....(default) CONST_REPORT_ITS_EFFECTIVE..... (effective) CONST_RESET_STATS_HTML.....resetStats.html CONST_RFC1945_TIMESPEC.....%a, %d %b %Y %H:%M:%S GMT CONST_RRD_EXTENSION......rrd CONST_SCSI_BYTES_HTML.....ScsiBytes.html CONST_SCSI_STATUS_HTML.....ScsiStatus.html CONST_SCSI_TIMES_HTML.....ScsiTimes.html CONST_SCSI_TM_HTML.....ScsiTMInfo.html CONST_SFLOW_TCPDUMP_MAGIC.....-1582119980 CONST_SHOW_MUTEX_HTML.....showMutex.html CONST_SHOW_PLUGINS_HTML.....showPlugins.html CONST_SHOW_PORT_TRAFFIC_HTML.....showPortTraffic.html CONST_SHOW_URLS_HTML.....showURLs.html CONST_SHOW_USERS_HTML.....showUsers.html CONST_SHUTDOWN_NTOP_HTML.....shutdown.html CONST_SIZE_PCAP_ERR_BUF.....512 CONST_SORT_DATA_HOST_TRAFFIC_HTML.....dataHostTraffic.html CONST_SORT_DATA_IP_HTML.....sortDataIP.html CONST_SORT_DATA_PROTOS_HTML.....sortDataProtos.html CONST_SORT_DATA_RCVD_HOST_TRAFFIC_HTML.....dataRcvdHostTraffic.html CONST_SORT_DATA_SENT_HOST_TRAFFIC_HTML.....dataSentHostTraffic.html CONST_SORT_DATA_THPT_HTML.....sortDataThpt.html CONST_SORT_DATA_THPT_STATS_HTML.....thptStats.html CONST_SSL_CERTF_FILENAME.....ntop-cert.pem CONST_SWITCH_NIC_HTML.....switch.html CONST_TEXT_INFO_NTOP_HTML.....textinfo.html CONST_THPTLABEL_TIMESPEC.....%d/%m CONST_THPT_STATS_MATRIX_HTML.....thptStatsMatrix.html CONST_THROUGHPUT_GRAPH.....thptGraph CONST_TOD_HOUR_TIMESPEC.....%H CONST_TOD_NOSEC_TIMESPEC.....%H:%M CONST_TOD_WSEC_TIMESPEC.....%H:%M:%S CONST_TRAFFIC_STATS_HTML.....trafficStats.html CONST_TRAFFIC_SUMMARY_HTML.....trafficSummary.html CONST_TRMTU.....2000 CONST_TWO_MSL_TIMEOUT.....120 CONST_UNKNOWN_MTU.....65355 CONST_VERY_DETAIL_TRACE_LEVEL.....6 CONST_VIEW_LOG_HTML.....viewLog.html CONST_VLAN_LIST_HTML.....vlanList.html CONST_VSAN_DETAIL_HTML.....vsanDetail.html CONST_VSAN_DISTRIB_HTML.....vsanDistrib.html CONST_VSAN_LIST_HTML.....vsanList.html CONST_W3C_CHARTYPE_LINE..... CONST_W3C_DOCTYPE_LINE_32..... CONST_W3C_DOCTYPE_LINE..... CONST_W3C_P3P_XML.....w3c/p3p.xml CONST_WIN32_PATH_NETWORKS.....networks CONST_XML_DOCTYPE_NAME.....ntop_dump CONST_XML_DTD_NAME.....ntopdump.dtd CONST_XMLDUMP_PLUGIN_NAME.....xmldump CONST_XML_TMP_NAME...../tmp/ntop-xml CONTACTED_PEERS_THRESHOLD.....1024 DEFAULT_AS_LOOKUP_URL.....http://ws.arin.net/cgi-bin/whois.pl?queryinput=AS DEFAULT_NETFLOW_PORT_STR.....2055 DEFAULT_NTOP_ACCESS_LOG_FILE.....(null) DEFAULT_NTOP_AUTOREFRESH_INTERVAL.....120 DEFAULT_NTOP_DAEMON_MODE.....0 DEFAULT_NTOP_DEBUG.....0 DEFAULT_NTOP_DEBUG_MODE.....0 DEFAULT_NTOP_DEVICES.....(null) DEFAULT_NTOP_DISABLE_PROMISCUOUS.....0 DEFAULT_NTOP_DOMAIN_NAME.....(nil) DEFAULT_NTOP_DONT_TRUST_MAC_ADDR.....0 DEFAULT_NTOP_ENABLE_SESSIONHANDLE.....yes DEFAULT_NTOP_FAMILY.....0 DEFAULT_NTOP_FCNS_FILE.....(null) DEFAULT_NTOP_FILTER_EXPRESSION.....(null) DEFAULT_NTOP_FILTER_IN_FRAME.....0 DEFAULT_NTOP_FLOW_SPECS.....(null) DEFAULT_NTOP_LOCAL_SUBNETS.....(null) DEFAULT_NTOP_MAX_HASH_ENTRIES.....16384 DEFAULT_NTOP_MAX_NUM_SESSIONS.....32768 DEFAULT_NTOP_MERGE_INTERFACES.....yes DEFAULT_NTOP_NUMERIC_IP_ADDRESSES.....0 DEFAULT_NTOP_OTHER_PKT_DUMP.....0 DEFAULT_NTOP_P3PCP.....(null) DEFAULT_NTOP_P3PURI.....(null) DEFAULT_NTOP_PACKET_DECODING.....yes DEFAULT_NTOP_PCAP_LOG_FILENAME.....(null) DEFAULT_NTOP_PID_DIRECTORY...../var/run DEFAULT_NTOP_PIDFILE.....ntop.pid DEFAULT_NTOP_PROTO_SPECS.....(null) DEFAULT_NTOP_SAMPLING.....yes DEFAULT_NTOP_SETNONBLOCK.....0 DEFAULT_NTOP_STICKY_HOSTS.....0 DEFAULT_NTOP_SUSPICIOUS_PKT_DUMP.....0 DEFAULT_NTOP_TRACK_ONLY_LOCAL.....0 DEFAULT_NTOP_TRAFFICDUMP_FILENAME.....(null) DEFAULT_NTOP_WEB_ADDR.....(null) DEFAULT_NTOP_WEB_PORT.....3000 DEFAULT_SFLOW_PORT_STR.....6343 DEFAULT_SFLOW_SAMPLING_RATE.....400 DEFAULT_SNAPLEN.....384 DEFAULT_SYSLOG_FACILITY.....24 DEFAULT_TCPWRAP_ALLOW.....undefined DEFAULT_TCPWRAP_DENY.....undefined DEFAULT_TRACE_LEVEL.....3 DEFAULT_VSAN.....yes DEFAULT_WEBSERVER_REQUEST_QUEUE_LEN.....10 EMSGSIZE.....90 ETHERMTU.....1500 IP_L4_PORT_CHARGEN.....19 IP_L4_PORT_DAYTIME.....13 IP_L4_PORT_DISCARD.....9 IP_L4_PORT_ECHO.....7 IP_TCP_PORT_FTP.....21 IP_TCP_PORT_GNUTELLA1.....6346 IP_TCP_PORT_GNUTELLA2.....6347 IP_TCP_PORT_GNUTELLA3.....6348 IP_TCP_PORT_HTTP.....80 IP_TCP_PORT_HTTPS.....443 IP_TCP_PORT_IMAP.....143 IP_TCP_PORT_JETDIRECT.....9100 IP_TCP_PORT_KAZAA.....1214 IP_TCP_PORT_MSMSGR.....1863 IP_TCP_PORT_NTOP.....3000 IP_TCP_PORT_POP2.....109 IP_TCP_PORT_POP3.....110 IP_TCP_PORT_PRINTER.....515 IP_TCP_PORT_SMTP.....25 IP_TCP_PORT_SQUID.....3128 IP_TCP_PORT_SSH.....22 IP_TCP_PORT_WINMX.....6699 LEN_ADDRESS_BUFFER.....44 LEN_CMDLINE_BUFFER.....4096 LEN_ETHERNET_ADDRESS_DISPLAY.....18 LEN_ETHERNET_ADDRESS.....6 LEN_ETHERNET_VENDOR_DISPLAY.....9 LEN_ETHERNET_VENDOR.....3 LEN_FC_ADDRESS_DISPLAY.....9 LEN_FC_ADDRESS.....3 LEN_FGETS_BUFFER.....512 LEN_GENERAL_WORK_BUFFER.....1024 LEN_MEDIUM_WORK_BUFFER.....128 LEN_SMALL_WORK_BUFFER.....24 LEN_TIMEFORMAT_BUFFER.....48 LEN_WWN_ADDRESS_DISPLAY.....24 LEN_WWN_ADDRESS.....8 MAKE_ASYNC_ADDRESS_RESOLUTION.....yes MAKE_NTOP_PACKETSZ_DECLARATIONS.....no MAKE_WITH_FORK_COPYONWRITE.....yes MAKE_WITH_HTTPSIGTRAP.....no MAKE_WITH_LOG_XXXXXX.....no MAKE_WITH_NETFLOWSIGTRAP.....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 MAX_DLT_ARRAY.....123 MAXDNAME.....1025 MAX_ELEMENT_HASH.....4096 MAX_FC_DOMAINS.....240 MAX_HASHDUMP_ENTRY.....65535 MAXHOSTNAMELEN.....64 MAX_HOSTS_CACHE_LEN.....512 MAX_HOSTS_PURGE_PER_CYCLE.....undefined MAX_IP_PORT.....65534 MAXLABEL.....63 MAX_LANGUAGES_REQUESTED.....4 MAX_LANGUAGES_SUPPORTED.....8 MAX_LASTSEEN_TABLE_SIZE.....4096 MAX_LEN_SYM_HOST_NAME_HTML.....256 MAX_LEN_SYM_HOST_NAME.....64 MAX_LEN_URL.....512 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.....1 MAX_NUM_DEVICES.....32 MAX_NUM_DEVICES_VIRTUAL.....7 MAX_NUM_DHCP_MSG.....8 MAX_NUM_FIN.....4 MAX_NUM_IGNOREDFLOWS.....32 MAX_NUM_LIST_ENTRIES.....32 MAX_NUM_NETWORKS.....32 MAX_NUM_OS.....256 MAX_NUM_PROBES.....16 MAX_NUM_PROTOS.....64 MAX_NUM_PURGED_SESSIONS.....512 MAX_NUM_PWFILE_ENTRIES.....32 MAX_NUM_QUEUED_ADDRESSES.....4096 MAX_NUM_RECENT_PORTS.....5 MAX_NUM_ROUTERS.....512 MAX_NUM_STORED_FLAGS.....4 MAX_NUM_UNKNOWN_PROTOS.....5 MAX_PACKET_LEN.....8232 MAX_PASSIVE_FTP_SESSION_TRACKER.....384 MAX_MULTIPLE_VLAN_WARNINGS.....10 MAX_PDA_HOST_TABLE.....4096 MAX_PER_DEVICE_HASH_LIST.....65535 MAX_SESSIONS_CACHE_LEN.....512 MAX_SSL_CONNECTIONS.....32 MAX_SUBNET_HOSTS.....1024 MAX_TOT_NUM_SESSIONS.....65535 MAX_USER_VSAN.....1001 MAX_VLAN.....4096 MAX_VSANS_GRAPHED.....10 MAX_VSANS.....4095 MAX_WEBSERVER_REQUEST_QUEUE_LEN.....20 MAX_WIN32_NET_ALIASES.....35 MIN_SLICE_PERCENTAGE.....0 MIN_WEBSERVER_REQUEST_QUEUE_LEN.....2 NAME_MAX.....255 NETDB_SUCCESS.....0 NETFLOW_DEVICE_NAME.....NetFlow-device NS_CMPRSFLGS.....192 NS_MAXCDNAME.....255 NTOP_PREF_ACCESS_LOG.....ntop.accessLogFile NTOP_PREF_CAPFILE.....ntop.rFileName NTOP_PREF_DAEMON.....ntop.daemonMode NTOP_PREF_DBG_MODE.....ntop.debugMode NTOP_PREF_DEVICES.....ntop.devices NTOP_PREF_DOMAINNAME.....ntop.domainName NTOP_PREF_DUMP_OTHER.....ntop.enableOtherPacketDump NTOP_PREF_DUMP_SUSP.....ntop.enableSuspiciousPacketDump NTOP_PREF_EN_PROTO_DECODE.....ntop.enablePacketDecoding NTOP_PREF_EN_SESSION.....ntop.enableSessionHandling NTOP_PREF_FILTER_EXTRA_FRM.....ntop.filterExpressionInExtraFrame NTOP_PREF_FILTER.....ntop.currentFilterExpression NTOP_PREF_FLOWSPECS.....ntop.flowSpecs NTOP_PREF_IPV4.....ntop.ipv4 NTOP_PREF_IPV4V6.....ntop.ipv4orv6 NTOP_PREF_IPV6.....ntop.ipv6 NTOP_PREF_LOCALADDR.....ntop.localAddresses NTOP_PREF_MAPPERURL.....ntop.mapperURL NTOP_PREF_MAXHASH.....ntop.maxNumHashEntries NTOP_PREF_MAXLINES.....ntop.maxNumLines NTOP_PREF_MAXSESSIONS.....ntop.maxNumSessions NTOP_PREF_MERGEIF.....ntop.mergeInterfaces NTOP_PREF_NOBLOCK.....ntop.setNonBlocking NTOP_PREF_NO_INVLUN.....ntop.noInvalidLunDisplay NTOP_PREF_NO_ISESS_PURGE.....ntop.disableInstantSessionPurge NTOP_PREF_NO_MUTEX_EXTRA.....ntop.disableMutexExtraInfo NTOP_PREF_NO_PROMISC.....ntop.disablePromiscuousMode NTOP_PREF_NO_SCHEDYLD.....ntop.schedYield NTOP_PREF_NO_STOPCAP.....ntop.disableStopcap NTOP_PREF_NO_TRUST_MAC.....ntop.dontTrustMACaddr NTOP_PREF_NUMERIC_IP.....ntop.numericFlag NTOP_PREF_P3PCP.....ntop.P3Pcp NTOP_PREF_P3PURI.....ntop.P3Puri NTOP_PREF_PCAP_LOGBASE.....ntop.pcapLogBasePath NTOP_PREF_PCAP_LOG.....ntop.pcapLog NTOP_PREF_PRINT_FCORIP.....ntop.printFcOrIp NTOP_PREF_PROTOSPECS.....ntop.protoSpecs NTOP_PREF_REFRESH_RATE.....ntop.refreshRate NTOP_PREF_SAMPLING.....ntop.sampleRate NTOP_PREF_SPOOLPATH.....ntop.spoolPath NTOP_PREF_SSLPORT.....ntop.sslPort NTOP_PREF_STICKY_HOSTS.....ntop.stickyHosts NTOP_PREF_TRACE_LVL.....ntop.traceLevel NTOP_PREF_TRACK_LOCAL.....ntop.trackOnlyLocalHosts NTOP_PREF_USE_SSLWATCH.....ntop.useSSLwatchdog NTOP_PREF_USE_SYSLOG.....ntop.useSyslog NTOP_PREF_VALUE_AF_BOTH.....0 NTOP_PREF_VALUE_AF_INET6.....10 NTOP_PREF_VALUE_AF_INET.....2 NTOP_PREF_VALUE_PRINT_BOTH.....3 NTOP_PREF_VALUE_PRINT_FCONLY.....2 NTOP_PREF_VALUE_PRINT_IPONLY.....yes NTOP_PREF_W3C.....ntop.w3c NTOP_PREF_WEBPORT.....ntop.webPort NTOP_PREF_WWN_MAP.....ntop.fcNSCacheFile NULL_VALUE.....(null) PACKETSZ.....512 PARM_ENABLE_EXPERIMENTAL.....no PARM_FORK_CHILD_PROCESS.....yes PARM_HOST_PURGE_INTERVAL.....120 PARM_HOST_PURGE_MINIMUM_IDLE_ACTVSES.....1800 PARM_HOST_PURGE_MINIMUM_IDLE_NOACTVSES.....600 PARM_MIN_WEBPAGE_AUTOREFRESH_TIME.....15 PARM_PASSIVE_SESSION_MINIMUM_IDLE.....60 PARM_PRINT_ALL_SESSIONS.....no PARM_SESSION_PURGE_MINIMUM_IDLE.....600 PARM_SHOW_NTOP_HEARTBEAT.....no PARM_SSLWATCHDOG_WAIT_INTERVAL.....3 PARM_SSLWATCHDOG_WAITWOKE_LIMIT.....5 PARM_THROUGHPUT_REFRESH_INTERVAL.....30 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 SFLOW_DEVICE_NAME.....sFlow-device THREAD_MODE.....MT (SSL) UNKNOWN_P2P_FILE.....<unknown file> ADDRESS_DEBUG.....no CHKVER_DEBUG.....no CMPFCTN_DEBUG.....no DNS_DEBUG.....no DNS_SNIFF_DEBUG.....no FC_DEBUG.....no FINGERPRINT_DEBUG.....no FRAGMENT_DEBUG.....no FTP_DEBUG.....no GDBM_DEBUG.....no HASH_DEBUG.....no HOST_FREE_DEBUG.....no HTTP_DEBUG.....no I18N_DEBUG.....no IDLE_PURGE_DEBUG.....no INITWEB_DEBUG.....no MEMORY_DEBUG.....no NETFLOW_DEBUG.....no P2P_DEBUG.....no PACKET_DEBUG.....no PARAM_DEBUG.....no PLUGIN_DEBUG.....no PROBLEMREPORTID_DEBUG.....no SEMAPHORE_DEBUG.....no SESSION_TRACE_DEBUG.....no SSLWATCHDOG_DEBUG.....no STORAGE_DEBUG.....no UNKNOWN_PACKET_DEBUG.....no URL_DEBUG.....no VENDOR_DEBUG.....no Compile Time: globals-report.h AZURE_BG.....BGCOLOR="F0FFFF" BASE_PROTOS_IDX.....30 CHART_FORMAT......png DARK_BG.....BGCOLOR="#F3F3F3" DISPLAY_FC_ALIAS.....2 DISPLAY_FC_DEFAULT.....2 DISPLAY_FC_FCID.....0 DISPLAY_FC_WWN.....1 GOLD_BG.....BGCOLOR="#FFD700" SALMON_BG.....BGCOLOR="FA8072" SORT_DATA_HOST_TRAFFIC.....12 SORT_DATA_IP.....10 SORT_DATA_PROTOS.....9 SORT_DATA_RCVD_HOST_TRAFFIC.....4 SORT_DATA_RECEIVED_IP.....2 SORT_DATA_RECEIVED_PROTOS.....1 SORT_DATA_RECEIVED_THPT.....3 SORT_DATA_SENT_HOST_TRAFFIC.....8 SORT_DATA_SENT_IP.....6 SORT_DATA_SENT_PROTOS.....5 SORT_DATA_SENT_THPT.....7 SORT_DATA_THPT.....11 SORT_FC_ACTIVITY.....15 SORT_FC_DATA.....13 SORT_FC_THPT.....14 TABLE_DEFAULTS..... CELLSPACING=0 CELLPADDING=2 TABLE_OFF.....(nil) TABLE_ON.....(nil) TD_BG.....(nil) TH_BG.....(nil) TOMATO_BG.....BGCOLOR="#FF6347" TRAFFIC_STATS.....0 TR_ON.....(nil) WHEAT_BG.....BGCOLOR="F5DEB3" PLUGINS: RRD: RRD path...../var/ntop/rrd New directory permissions.....0700 New file umask.....0066 --- end Bug Report info --- -- Rik Schneider Weathernews Americas Inc. (405) 310-2840 - Office (405) 310-2900 - Main (405) 388-1318 - Mobile [EMAIL PROTECTED] No trees were harmed during the creation of this message; however some electrons were inconvenienced. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Burton Strauss Sent: Wednesday, March 30, 2005 6:26 PM To: [email protected] Subject: RE: [Ntop] Ntop 3.1.1 or cvs on RHEL2.1 It's certainly acting like the flag isn't being defined. That's what I wanted you to check version.c... It needs to be a preprocessor flag, so that we #ifdef in the locking code. traceEvent() is what calls syslog(). See how threads 1 and 8 are deadlocked? That's what the patch is supposed to (and does) fix. -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rik Schneider Sent: Wednesday, March 30, 2005 5:50 PM To: [email protected] Subject: RE: [Ntop] Ntop 3.1.1 or cvs on RHEL2.1 The LINUXredhat8.0 had it listed as a preprocessor flag. I have changed it to a CFLAG and rebuilt it. I am testing now. Just turning on the "-W 3001" switch causes a hang in thread 8. Here is the stack trace for you. (gdb) thread 8 [Switching to thread 8 (Thread 49159 (LWP 24899))]#0 0x4135cbe5 in __sigsuspend (set=0x44b293dc) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 45 in ../sysdeps/unix/sysv/linux/sigsuspend.c (gdb) info stack #0 0x4135cbe5 in __sigsuspend (set=0x44b293dc) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 #1 0x412b12b9 in __pthread_wait_for_restart_signal (self=0x44b2abe0) at pthread.c:1027 #2 0x412b3029 in __pthread_alt_lock (lock=0x40152c7c, self=0x0) at restart.h:34 #3 0x412afd36 in __pthread_mutex_lock (mutex=0x40152c6c) at mutex.c:120 #4 0x4011d835 in _accessMutex (mutexId=0x40152c6c, where=0x40149b5d "message", fileName=0x40149978 "util.c", fileLine=2639) at util.c:1806 #5 0x4011ef9e in traceEvent (eventTraceLevel=2, file=0x4014649f "leaks.c", line=609, format=0x401464c3 "free of NULL pointer @ %s:%d") at util.c:2639 #6 0x40101329 in ntop_safefree (ptr=0x44b2a1ac, file=0x400c0296 "http.c", line=3750) at leaks.c:609 #7 0x40064266 in handleHTTPrequest (from= {hostFamily = 2, addr = {_hostIp4Address = {s_addr = 2886869916}, _hostIp6Address = {in6_u = {u6_addr8 = "[EMAIL PROTECTED]@�83A", u6_addr16 = {9116, 44050, 5896, 16398, 13422, 16387, 14548, 16691}, u6_addr32 = {2886869916, 1074665224, 1073951854, 1093875924}}}}}) at http.c:3750 #8 0x40099e54 in handleSingleWebConnection (fdmask=0x44b2aa4c) at webInterface.c:9069 #9 0x40099aef in handleWebConnections (notUsed=0x0) at webInterface.c:8912 #10 0x412aec6f in pthread_start_thread (arg=0x44b2abe0) at manager.c:279 #11 0x4141bcea in thread_start () from /lib/i686/libc.so.6 A full trace of all of the threads follows. (gdb) thread 1 [Switching to thread 1 (Thread 8192 (LWP 24890))]#0 0x4135cbe5 in __sigsuspend (set=0xbffea210) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 45 in ../sysdeps/unix/sysv/linux/sigsuspend.c (gdb) info stack #0 0x4135cbe5 in __sigsuspend (set=0xbffea210) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 #1 0x412b12b9 in __pthread_wait_for_restart_signal (self=0x412b6020) at pthread.c:1027 #2 0x412b3029 in __pthread_alt_lock (lock=0x40152c7c, self=0x0) at restart.h:34 #3 0x412afd36 in __pthread_mutex_lock (mutex=0x40152c6c) at mutex.c:120 #4 0x4011d835 in _accessMutex (mutexId=0x40152c6c, where=0x40149b5d "message", fileName=0x40149978 "util.c", fileLine=2639) at util.c:1806 #5 0x4011ef9e in traceEvent (eventTraceLevel=3, file=0x400c89df "report.c", line=108, format=0x400c15e0 "Note: Reporting device initally set to %d [%s]%s") at util.c:2639 #6 0x40064933 in initReports () at report.c:108 #7 0x0804ae2d in main () (gdb) thread 2 [Switching to thread 2 (Thread 16385 (LWP 24891))]#0 0x41414487 in __poll (fds=0x810572c, nfds=1, timeout=2000) at ../sysdeps/unix/sysv/linux/poll.c:63 63 ../sysdeps/unix/sysv/linux/poll.c: No such file or directory. in ../sysdeps/unix/sysv/linux/poll.c (gdb) info stack #0 0x41414487 in __poll (fds=0x810572c, nfds=1, timeout=2000) at ../sysdeps/unix/sysv/linux/poll.c:63 #1 0x412ae920 in __pthread_manager (arg=0x0) at manager.c:135 #2 0x4141bcea in thread_start () from /lib/i686/libc.so.6 (gdb) thread 3 [Switching to thread 3 (Thread 8194 (LWP 24892))]#0 0x4135cbe5 in __sigsuspend (set=0x4232894c) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 45 ../sysdeps/unix/sysv/linux/sigsuspend.c: No such file or directory. in ../sysdeps/unix/sysv/linux/sigsuspend.c (gdb) info stack #0 0x4135cbe5 in __sigsuspend (set=0x4232894c) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 #1 0x412b12b9 in __pthread_wait_for_restart_signal (self=0x4232abe0) at pthread.c:1027 #2 0x412b230c in __new_sem_wait (sem=0x40152554) at restart.h:34 #3 0x4011df34 in waitSem (semId=0x40152554) at util.c:2061 #4 0x4010995d in dequeuePacket (notUsed=0x0) at pbuf.c:2346 #5 0x412aec6f in pthread_start_thread (arg=0x4232abe0) at manager.c:279 #6 0x4141bcea in thread_start () from /lib/i686/libc.so.6 (gdb) thread 4 [Switching to thread 4 (Thread 16387 (LWP 24893))]#0 0x413e9681 in __libc_nanosleep () from /lib/i686/libc.so.6 (gdb) info stack #0 0x413e9681 in __libc_nanosleep () from /lib/i686/libc.so.6 #1 0x413e95bb in __sleep (seconds=145) at ../sysdeps/unix/sysv/linux/sleep.c:70 #2 0x4012101d in ntop_sleep (secs=150) at util.c:3874 #3 0x401028ae in scanFingerprintLoop (notUsed=0x0) at ntop.c:703 #4 0x412aec6f in pthread_start_thread (arg=0x42b2abe0) at manager.c:279 #5 0x4141bcea in thread_start () from /lib/i686/libc.so.6 (gdb) thread 5 [Switching to thread 5 (Thread 24580 (LWP 24894))]#0 0x413e9681 in __libc_nanosleep () from /lib/i686/libc.so.6 (gdb) info stack #0 0x413e9681 in __libc_nanosleep () from /lib/i686/libc.so.6 #1 0x413e95bb in __sleep (seconds=60) at ../sysdeps/unix/sysv/linux/sleep.c:70 #2 0x4012101d in ntop_sleep (secs=60) at util.c:3874 #3 0x401026e4 in scanIdleLoop (notUsed=0x0) at ntop.c:654 #4 0x412aec6f in pthread_start_thread (arg=0x4332abe0) at manager.c:279 #5 0x4141bcea in thread_start () from /lib/i686/libc.so.6 (gdb) thread 6 [Switching to thread 6 (Thread 32773 (LWP 24895))]#0 0x4135cbe5 in __sigsuspend (set=0x43b2a95c) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 45 in ../sysdeps/unix/sysv/linux/sigsuspend.c (gdb) info stack #0 0x4135cbe5 in __sigsuspend (set=0x43b2a95c) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 #1 0x412b12b9 in __pthread_wait_for_restart_signal (self=0x43b2abe0) at pthread.c:1027 #2 0x412b230c in __new_sem_wait (sem=0x40152564) at restart.h:34 #3 0x4011df34 in waitSem (semId=0x40152564) at util.c:2061 #4 0x400f3bf3 in dequeueAddress (_i=0x0) at address.c:617 #5 0x412aec6f in pthread_start_thread (arg=0x43b2abe0) at manager.c:279 #6 0x4141bcea in thread_start () from /lib/i686/libc.so.6 (gdb) thread 7 [Switching to thread 7 (Thread 40966 (LWP 24896))]#0 0x4135cbe5 in __sigsuspend (set=0x44328eec) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 45 in ../sysdeps/unix/sysv/linux/sigsuspend.c (gdb) info stack #0 0x4135cbe5 in __sigsuspend (set=0x44328eec) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 #1 0x412b12b9 in __pthread_wait_for_restart_signal (self=0x4432abe0) at pthread.c:1027 #2 0x412b3029 in __pthread_alt_lock (lock=0x40152c7c, self=0x0) at restart.h:34 #3 0x412afd36 in __pthread_mutex_lock (mutex=0x40152c6c) at mutex.c:120 #4 0x4011d835 in _accessMutex (mutexId=0x40152c6c, where=0x40149b5d "message", fileName=0x40149978 "util.c", fileLine=2639) at util.c:1806 #5 0x4011ef9e in traceEvent (eventTraceLevel=3, file=0x40149978 "util.c", line=5756, format=0x4014bb40 "CHKVER: Version file is from '%s'") at util.c:2639 #6 0x4012401e in processVersionFile (buf=0x44329acc "HTTP/1.1 200 OK", bufLen=1572) at util.c:5756 #7 0x4012431e in checkVersion (notUsed=0x0) at util.c:5812 #8 0x412aec6f in pthread_start_thread (arg=0x4432abe0) at manager.c:279 #9 0x4141bcea in thread_start () from /lib/i686/libc.so.6 (gdb) thread 8 [Switching to thread 8 (Thread 49159 (LWP 24899))]#0 0x4135cbe5 in __sigsuspend (set=0x44b293dc) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 45 in ../sysdeps/unix/sysv/linux/sigsuspend.c (gdb) info stack #0 0x4135cbe5 in __sigsuspend (set=0x44b293dc) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 #1 0x412b12b9 in __pthread_wait_for_restart_signal (self=0x44b2abe0) at pthread.c:1027 #2 0x412b3029 in __pthread_alt_lock (lock=0x40152c7c, self=0x0) at restart.h:34 #3 0x412afd36 in __pthread_mutex_lock (mutex=0x40152c6c) at mutex.c:120 #4 0x4011d835 in _accessMutex (mutexId=0x40152c6c, where=0x40149b5d "message", fileName=0x40149978 "util.c", fileLine=2639) at util.c:1806 #5 0x4011ef9e in traceEvent (eventTraceLevel=2, file=0x4014649f "leaks.c", line=609, format=0x401464c3 "free of NULL pointer @ %s:%d") at util.c:2639 #6 0x40101329 in ntop_safefree (ptr=0x44b2a1ac, file=0x400c0296 "http.c", line=3750) at leaks.c:609 #7 0x40064266 in handleHTTPrequest (from= {hostFamily = 2, addr = {_hostIp4Address = {s_addr = 2886869916}, _hostIp6Address = {in6_u = {u6_addr8 = "[EMAIL PROTECTED]@�83A", u6_addr16 = {9116, 44050, 5896, 16398, 13422, 16387, 14548, 16691}, u6_addr32 = {2886869916, 1074665224, 1073951854, 1093875924}}}}}) at http.c:3750 #8 0x40099e54 in handleSingleWebConnection (fdmask=0x44b2aa4c) at webInterface.c:9069 #9 0x40099aef in handleWebConnections (notUsed=0x0) at webInterface.c:8912 #10 0x412aec6f in pthread_start_thread (arg=0x44b2abe0) at manager.c:279 #11 0x4141bcea in thread_start () from /lib/i686/libc.so.6 (gdb) thread 9 [Switching to thread 9 (Thread 57352 (LWP 24900))]#0 0x413e9681 in __libc_nanosleep () from /lib/i686/libc.so.6 (gdb) info stack #0 0x413e9681 in __libc_nanosleep () from /lib/i686/libc.so.6 #1 0x413e95bb in __sleep (seconds=166) at ../sysdeps/unix/sysv/linux/sleep.c:70 #2 0x4012101d in ntop_sleep (secs=300) at util.c:3874 #3 0x44b50114 in rrdMainLoop (notUsed=0x0) at rrdPlugin.c:2753 #4 0x412aec6f in pthread_start_thread (arg=0x45370be0) at manager.c:279 #5 0x4141bcea in thread_start () from /lib/i686/libc.so.6 (gdb) thread 10 Thread ID 10 not known. Shutting it down and starting it with "/usr/bin/ntop --no-fc -u ntop -d -P /var/ntop -i eth1 -m 172.18.32.0/21 -w3000 -W 0 --disable-schedyield -t4" gives the following locked threads: (gdb) thread 7 [Switching to thread 7 (Thread 49159 (LWP 30654))]#0 0x4135cbe5 in __sigsuspend (set=0x44b28eec) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 45 in ../sysdeps/unix/sysv/linux/sigsuspend.c (gdb) info stack #0 0x4135cbe5 in __sigsuspend (set=0x44b28eec) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 #1 0x412b12b9 in __pthread_wait_for_restart_signal (self=0x44b2abe0) at pthread.c:1027 #2 0x412b3029 in __pthread_alt_lock (lock=0x414672d4, self=0x0) at restart.h:34 #3 0x412afd36 in __pthread_mutex_lock (mutex=0x414672c4) at mutex.c:120 #4 0x413de8ee in __tz_convert (timer=0x44b290d8, use_localtime=1, tp=0x44b29a0c) at tzset.c:561 #5 0x413da981 in __localtime_r (t=0x44b290d8, tp=0x44b29a0c) at localtime.c:33 #6 0x4011eb87 in traceEvent (eventTraceLevel=4, file=0x400c0296 "http.c", line=3290, format=0x400c1138 "SECURITY: Loading items table") at util.c:2521 #7 0x400634e3 in checkHTTPpassword (theRequestedURL=0x44b2a4fc "/", theRequestedURLLen=512, thePw=0x44b2a4bc "", thePwLen=64) at http.c:3290 #8 0x4006412a in handleHTTPrequest (from= {hostFamily = 2, addr = {_hostIp4Address = {s_addr = 2886869916}, _hostIp6Address = {in6_u = {u6_addr8 = "[EMAIL PROTECTED]@�83A", u6_addr16 = {9116, 44050, 5896, 16398, 13422, 16387, 14548, 16691}, u6_addr32 = {2886869916, 1074665224, 1073951854, 1093875924}}}}}) at http.c:3710 #9 0x40099e54 in handleSingleWebConnection (fdmask=0x44b2aa4c) at webInterface.c:9069 #10 0x40099aef in handleWebConnections (notUsed=0x0) at webInterface.c:8912 #11 0x412aec6f in pthread_start_thread (arg=0x44b2abe0) at manager.c:279 #12 0x4141bcea in thread_start () from /lib/i686/libc.so.6 (gdb) thread 8 [Switching to thread 8 (Thread 57352 (LWP 30655))]#0 0x4135cbe5 in __sigsuspend (set=0x4536fefc) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 45 in ../sysdeps/unix/sysv/linux/sigsuspend.c (gdb) info stack #0 0x4135cbe5 in __sigsuspend (set=0x4536fefc) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 #1 0x412b12b9 in __pthread_wait_for_restart_signal (self=0x45370be0) at pthread.c:1027 #2 0x412b3029 in __pthread_alt_lock (lock=0x414672d4, self=0x0) at restart.h:34 #3 0x412afd36 in __pthread_mutex_lock (mutex=0x414672c4) at mutex.c:120 #4 0x413de8ee in __tz_convert (timer=0x44b581a4, use_localtime=1, tp=0x453703fc) at tzset.c:561 #5 0x413da981 in __localtime_r (t=0x44b581a4, tp=0x453703fc) at localtime.c:33 #6 0x44b500f4 in rrdMainLoop (notUsed=0x0) at rrdPlugin.c:2746 #7 0x412aec6f in pthread_start_thread (arg=0x45370be0) at manager.c:279 #8 0x4141bcea in thread_start () from /lib/i686/libc.so.6 (gdb) thread 9 [Switching to thread 9 (Thread 65545 (LWP 30656))]#0 0x4135cbe5 in __sigsuspend (set=0x45b6ff0c) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 45 in ../sysdeps/unix/sysv/linux/sigsuspend.c (gdb) info stack #0 0x4135cbe5 in __sigsuspend (set=0x45b6ff0c) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 #1 0x412b12b9 in __pthread_wait_for_restart_signal (self=0x45b70be0) at pthread.c:1027 #2 0x412b3029 in __pthread_alt_lock (lock=0x414672d4, self=0x0) at restart.h:34 #3 0x412afd36 in __pthread_mutex_lock (mutex=0x414672c4) at mutex.c:120 #4 0x413de8ee in __tz_convert (timer=0x45b700f8, use_localtime=1, tp=0x45b70a2c) at tzset.c:561 #5 0x413da981 in __localtime_r (t=0x45b700f8, tp=0x45b70a2c) at localtime.c:33 #6 0x4011eb87 in traceEvent (eventTraceLevel=3, file=0x401464f2 "ntop.c", line=87, format=0x401467c0 "THREADMGMT: pcapDispatch(%s) thread running [p%d, t%lu]...") at util.c:2521 #7 0x401015a5 in pcapDispatch (_i=0x0) at ntop.c:87 #8 0x412aec6f in pthread_start_thread (arg=0x45b70be0) at manager.c:279 #9 0x4141bcea in thread_start () from /lib/i686/libc.so.6 -- Rik Schneider Weathernews Americas Inc. (405) 310-2840 - Office (405) 310-2900 - Main (405) 388-1318 - Mobile [EMAIL PROTECTED] No trees were harmed during the creation of this message; however some electrons were inconvenienced. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Burton Strauss Sent: Wednesday, March 30, 2005 4:08 PM To: [email protected] Subject: RE: [Ntop] Ntop 3.1.1 or cvs on RHEL2.1 -t 4 causes a lot more messages, which makes it more likely to have multiple threads syslog()ing simultaneously which is what the fix is for. (RH7.2 is definitely pre NPTL and thus will be running an older glibc which isn't thread safe in syslog.) So: 1) Make sure that the -DFORPRENPTL really took - check version.c or in the About | Configuration page. Look for: Compile Time: ./configure and then the "compiler (CFLAGS)". 2) If it hangs up, be sure and walk through EACH thread and do the info stack, e.g. (gdb) thread 1 (gdb) info stack (gdb) thread 2 (gdb) info stack Etc. That may be the only way to see what was going on when it deadlocks. -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rik Schneider Sent: Wednesday, March 30, 2005 2:53 PM To: [email protected] Subject: RE: [Ntop] Ntop 3.1.1 or cvs on RHEL2.1 It is recognized as redhat2.1. RHEL2.1 is based on RH 7.2 and uses pthreads. Using a source tree from cvs (CVS checkout at about 2245Z Mar 29, 2005) I created configureextra/LINUXredhat2.1 based on the contents of configureextra/LINUXredhat8.0. --- begin configureextra/LINUXredhat2.1 --- #!/bin/sh echo " Setting RHEL 2.1 specific flag values" CPPFLAGS="${CPPFLAGS} -DFORPRENPTL" --- end configureextra/LINUXredhat2.1 --- After building it I experimented with the -t option. If I give a value > 3 the web service does not work. I seem to have the same problem if I start the SSL server. If I use "--no-fc -u ntop -d -P /var/ntop -i eth1 -m 172.18.32.0/21 -w3000 -W 0 --disable-schedyield -t3" everything works fine for a while. I have it running now and will do a gdb traceback the next time I get it hung up. -- Rik Schneider Weathernews Americas Inc. (405) 310-2840 - Office (405) 310-2900 - Main (405) 388-1318 - Mobile [EMAIL PROTECTED] No trees were harmed during the creation of this message; however some electrons were inconvenienced. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Burton Strauss Sent: Monday, March 28, 2005 6:15 AM To: [email protected] Subject: RE: [Ntop] Ntop 3.1 or cvs on RHEL2.1 2.1 is probably pre NPTL and so you need the work-around for the syslog() hang. Figure out what the configureextra file should be and copy the lines from LINUXredhat8.0 (I've posted instructions on this within the last 2 weeks). -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rik Schneider Sent: Friday, March 25, 2005 3:49 PM To: [email protected] Subject: [Ntop] Ntop 3.1 or cvs on RHEL2.1 I don't know if anyone has succeeded in this, I haven't. Here is what I have tried so far. Building from source using Red Hat's libpcap fails during configure with: ******************************************************************* * * ERROR: pcap header, bpf or library routines are missing * (yes means it was found, no means it was not found) * * pcap.h...yes * net/bpf.h...yes * pcap-bpf.h...no * pcap_open_live() in -lpcap...yes * pcap_findalldevs() in -lpcap...no * * (One of the bpf files is required, but either will do) * *>>> No way to proceed. * *??? 1. Install libpcap (http://www.tcpdump.org/) *??? and Rerun ./configure *??? or 2. Use the --with-pcap-root= option * ******************************************************************* I grabbed and installed a newer libpcap and tcpdump. I built them as RPMs. tcpdump sees the interface fine and gives lots of data. I them built ntop-3.1 against the new libpcap library and install it. I then edit the ntop.conf file setup the password and then start ntop. It starts up several threads. So far, so good. When I attempt to open the web interface at port 3000 it hung my browser (Firefox on RHEL4). I stopped all the treads and restarted everything by hand under strace. strace -ff -x -s 80 -o /tmp/ntop.strace /usr/bin/ntop -u ntop -d -P /var/ntop -i eth1 -m 172.18.32.0/21\ -t7 -w3000 -W 0 --disable-schedyield --use-syslog=local6 The web thread gets hung at rt_sigsuspend. The log entries for this thread are: 14:40:22 mon2 ntop[1462]: [MSGID0316203] [webInterface:8869] Note: SIGPIPE handler set (ignore) 14:40:22 mon2 ntop[1462]: [MSGID0986275] [webInterface:8890] WEB: ntop's web server is now processing requests) for web server The only thread that seems to increase in size appears to be a polling thread. I built the dev version from CVS with the same results. Am I running into a known issue or... _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
