The only thing I can think of is to delete the card.gif from these types of
entries.
ntop is having problems differentiating between a url in the form of
192.169.0.1.html and the card.gif burried in some other format (unresolved,
mac level address) url.
Try rewriting the . in this from hash.c:
if(symEthName[0] != '\0') {
if(snprintf(buf, sizeof(buf), "%s <IMG SRC=/card.gif BORDER=0>",
symEthName) < 0)
BufferTooShort();
so it looks like this:
if(symEthName[0] != '\0') {
if(snprintf(buf, sizeof(buf), "%s", symEthName) < 0)
BufferTooShort();
And let us know. (I don't have netware on my network, so I can't generate
non-TCP/IP hosts to test this)
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Arnaud Veron
Sent: Tuesday, May 13, 2003 10:41 AM
To: [EMAIL PROTECTED]
Subject: RE: [Ntop] URL Security
Le ven 18/04/2003 � 18:13, Burton M. Strauss III a �crit :
> It's nice to see you back after 10 days of no response...
>
> Are there any log messages about a buffer too short? Otherwise, there's a
> couple of debug messages in util.c around 2475:
>
> #ifdef DEBUG
> traceEvent(CONST_TRACE_INFO, "DEBUG: '%s' [%s/%s]\n",
> el->hostSymIpAddress, myGlobals.domainName,
> myGlobals.shortDomainName);
> #endif
> if((myGlobals.domainName[0] != '\0')
> && (strcmp(el->hostSymIpAddress, el->hostNumIpAddress))) {
> int len = strlen(el->hostSymIpAddress);
> int len1 = strlen(myGlobals.domainName);
>
> /* traceEvent(CONST_TRACE_INFO, "%s [%s]\n",
> el->hostSymIpAddress, &el->hostSymIpAddress[len-len1]); */
>
> Make 'em active (i.e. delete the #ifdef and #endif on the 1st one and
delete
> the /* and */ on the second), run the report and send the log messages.
>
> -----Burton
>
> PS: In the future, please use the auto generated problem report and cut &
> paste the key lines from the problematical html, log etc into it. It
guides
> you into creating the information we need to see.
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
> [EMAIL PROTECTED]
> Sent: Friday, April 18, 2003 9:09 AM
> To: [EMAIL PROTECTED]
> Subject: [Ntop] URL Security
>
>
> Hi ntop users,
>
> As in message http://article.gmane.org/gmane.linux.ntop.general/5137 i
have
> the
> same problem => URL security: 'card</SMALL' rejected
>
> As you can see in my log ( http://www.arnaudveron.com/ntop.log ), the
> ipTrafficMatrix.html seems to be faulty.
> Just grep 'card</SMALL' ntop.log to see that many lines are concerned.
>
> I suppose that it should be something like 'card.gif></SMALL'
>
> Hope this can help developpers to fix the problem.
>
> TIA.
>
> Arnaud.
Hi,
a well formed report, i hope
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: Arnaud Veron
EMail: [EMAIL PROTECTED]
Date: 2003-05-13 14:44:26 GMT
----------------------------------------------------------------------------
---
Summary
URL security: 'card</SMALL' rejected
like in http://article.gmane.org/gmane.linux.ntop.general/5137
OS: Linux RH7.2 version: kernel 2.4.20
ntop from: source
Hardware: CPU: i86 (i86, SPARC, etc.)
# Processors: 1
Memory: 1024 MB
Network:
Network Interface 0 eth1
Ethernet: 1288172
Broadcast: 25885
Multicast: 50897
IP: 1245202
Mfg: ____________________ Model: ____________________
NIC Speed: 10/100/1000/Other Bus: PCI ISA USB Firewire Other
Location: Public Internet / LAN / WAN
Bandwidth: Dialup DSL/CableModem fT1 T1 10Mbps T3 100Mbps+
# Hosts (machines): __________
Network Interface 1 sFlow-device
Mfg: ____________________ Model: ____________________
NIC Speed: 10/100/1000/Other Bus: PCI ISA USB Firewire Other
Location: Public Internet / LAN / WAN
Bandwidth: Dialup DSL/CableModem fT1 T1 10Mbps T3 100Mbps+
# Hosts (machines): __________
Network Interface 2 NetFlow-device
Mfg: ____________________ Model: ____________________
NIC Speed: 10/100/1000/Other Bus: PCI ISA USB Firewire Other
Location: Public Internet / LAN / WAN
Bandwidth: Dialup DSL/CableModem fT1 T1 10Mbps T3 100Mbps+
# Hosts (machines): __________
----------------------------------------------------------------------------
---
Log extract
----------------------------------------------------------------------------
---
Problem Description
First of all, i'd like to answer Burton's questions :
1 - no problem about buffer too short in the logs
2 - i ran ntop with debug option and util.c modified (as in burton's answer)
the result isn't really helpfull. When i click IP Traffic/Matrix it seems
that the log isn't more verbose than with the previous util.c version.
The modified function in util.c doesn't seem to be called by the function
that generate the matrix html page...
If i restart from my previous log ( http://www.arnaudveron.com/ntop.log ),
we can see this (long) line.
<TH ALIGN=CENTER><SMALL>all-routers</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.84.4</SMALL></TH><TH
ALIGN=CENTER><SMALL>ospf-all</SMALL></TH><TH
ALIGN=CENTER><SMALL>ospf-dsig</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.84.7</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.84.8</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.84.11</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.84.12</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.84.18</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.84.19</SMALL></TH><TH
ALIGN=CENTER><SMALL>148.169.2.119</SMALL></TH><TH
ALIGN=CENTER><SMALL>234.79.157.202</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.24.25.55</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.233.149</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.85.254</SMALL></TH><TH
ALIGN=CENTER><SMALL>s64p17bib28</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.6.124.231</SMALL></TH><TH
ALIGN=CENTER><SMALL>wxas03</SMALL></TH><TH
ALIGN=CENTER><SMALL>wras01</SMALL></TH><TH
ALIGN=CENTER><SMALL>wras02</SMALL></TH><TH
ALIGN=CENTER><SMALL>wxas01</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.6.48.247</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.20.63.201</SMALL></TH><TH
ALIGN=CENTER><SMALL>wras01</SMALL></TH><TH
ALIGN=CENTER><SMALL>wpac01</SMALL></TH><TH
ALIGN=CENTER><SMALL>wpac02</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.12.104.117</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.86.174</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.86.124</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.86.178</SMALL></TH><TH
ALIGN=CENTER><SMALL>wsxs01</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.86.181</SMALL></TH><TH
ALIGN=CENTER><SMALL>00:02:A5:20:03:B8</SMALL></TH><TH
ALIGN=CENTER><SMALL>00:06:29:84:16:80</SMALL></TH><TH
ALIGN=CENTER><SMALL>wpys01</SMALL></TH><TH
ALIGN=CENTER><SMALL>p64p17bia91</SMALL></TH><TH
ALIGN=CENTER><SMALL>00:50:8B:BD:00:86</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.87.86</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.86.194</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.12.111.182</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.86.205</SMALL></TH><TH
ALIGN=CENTER><SMALL>00:02:A5:09:51:77</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.86.227</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.86.231</SMALL></TH><TH
ALIGN=CENTER><SMALL>00:00:F8:1F:90:FD</SMALL></TH><TH
ALIGN=CENTER><SMALL>wnvs01</SMALL></TH><TH
ALIGN=CENTER><SMALL>00:08:02:FD:74:D6</SMALL></TH><TH
ALIGN=CENTER><SMALL>wbap03</SMALL></TH><TH
ALIGN=CENTER><SMALL>wrts01</SMALL></TH><TH
ALIGN=CENTER><SMALL>00:30:F1:45:BA:DC</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.86.252</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.87.14</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.87.34</SMALL></TH><TH
ALIGN=CENTER><SMALL>sysp17biaag</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.86.137</SMALL></TH><TH
ALIGN=CENTER><SMALL>wsns01</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.16.254.79</SMALL></TH><TH ALIGN=CENTER><SMALL>3COM
CORPORATION <IMG SRC=/card</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.16.101.234</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.16.60.142</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.87.86</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.6.80.190</SMALL></TH><TH
ALIGN=CENTER><SMALL>ig</SMALL></TH><TH ALIGN=CENTER><SMALL>3 Com
Corporation <IMG SRC=/card</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.86.57</SMALL></TH><TH
ALIGN=CENTER><SMALL>00:00:F8:23:8A:61</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.16.148.155</SMALL></TH><TH
ALIGN=CENTER><SMALL>wxls03</SMALL></TH><TH
ALIGN=CENTER><SMALL>espj</SMALL></TH><TH
ALIGN=CENTER><SMALL>hsas02</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.136.5.150</SMALL></TH><TH
ALIGN=CENTER><SMALL>whis01</SMALL></TH><TH
ALIGN=CENTER><SMALL>wsas01</SMALL></TH><TH
ALIGN=CENTER><SMALL>wfcs02</SMALL></TH><TH
ALIGN=CENTER><SMALL>wmts01</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.135.243.126</SMALL></TH><TH ALIGN=CENTER><SMALL>Sun
Microsystems <IMG SRC=/card</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.11.51.241</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.6.111.49</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.75.255.124</SMALL></TH><TH
ALIGN=CENTER><SMALL>wrfs01</SMALL></TH><TH
ALIGN=CENTER><SMALL>00:06:2B:01:0E:C8</SMALL></TH><TH
ALIGN=CENTER><SMALL>00:02:A5:20:03:BB</SMALL></TH><TH
ALIGN=CENTER><SMALL>whas01</SMALL></TH><TH
ALIGN=CENTER><SMALL>wins01</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.87.144</SMALL></TH><TH
ALIGN=CENTER><SMALL>00:60:69:10:5B:7E</SMALL></TH><TH
ALIGN=CENTER><SMALL>wins02</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.87.33</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.104.223.239</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.8.87.188</SMALL></TH><TH
ALIGN=CENTER><SMALL>wecs01</SMALL></TH><TH
ALIGN=CENTER><SMALL>s64lmwbi716mcp</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.16.62.146</SMALL></TH><TH
ALIGN=CENTER><SMALL>10.17.207.245</SMALL></TH><TH
ALIGN=CENTER><SMALL>sysp17biaag</SMALL></TH></TR>
And somewhere on this line whe can see this extract :
<SMALL>3COM CORPORATION <IMG SRC=/card</SMALL></TH>
and a forward on this line show us this new extract :
<SMALL>3 Com Corporation <IMG SRC=/card</SMALL></TH>
and another one :
<SMALL>Sun Microsystems <IMG SRC=/card</SMALL></TH>
This line is the first line in the IP Traffic Matrix. I suppose that this
line is generated by the printIpTrafficMatrix
function near 3402 line in the report.c file.
This is the report.c extract :
if(snprintf(buf, sizeof(buf), "<TH "TH_BG"
ALIGN=CENTER><SMALL>%s</SMALL></TH>",
getHostName(myGlobals.device[myGlobals.actualReportDeviceId].ipTrafficMatrix
Hosts[i], 1)) < 0)
BufferTooShort();
sendString(buf);
I suppose that the getHostName is a little buggy. It always return char * ,
but sometimes IP adresses, hostnames, MAC adresses or oui.txt file entries.
It seems that everytime an oui.txt entry is returned, the getHostName append
"<IMG SRC=/card" to the string, that trigger the URL security mechanism !
( getHostName is located in webInterface.c line 501 )
Hope this can help you Burton. Sorry for being long to answer. ( and for my
poor english )
Arnaud Veron <[EMAIL PROTECTED]>
----------------------------------------------------------------------------
---
ntop version.....2.2
Built on.....05/13/03 01:00:56 PM
OS.....i686-pc-linux-gnu
ntop Process Id.....10981
http Process Id.....11031
Command line
Started as..../u01/ntop/ntop.test/bin/ntop -d -C -P /u01/ntop/datas/ -u
ntop -E -i eth1 --trace-level 5 --use-syslog=local0 -K
Resolved to..../u01/ntop/ntop.test/bin/ntop
-d
-C
-P
/u01/ntop/datas/
-u
ntop
-E
-i
eth1
--trace-level
5
--use-syslog=local0
-K
Command line parameters are:
-a | --access-log-path.....(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
-k | --filter-expression-in-extra-frame.....(default) No
-l | --pcap-log.....(default) (nil)
-m | --local-subnets (effective).....
-n | --numeric-ip-addresses.....(default) No
-p | --protocols.....(default) internal list
-q | --create-suspicious-packets.....(default) Disabled
-r | --refresh-time.....(default) 120
-s | --no-promiscuous.....(default) No
-t | --trace-level.....5
-u | --user.....ntop (uid=501, gid=501)
-w | --http-server.....(default) Active, all interfaces, port 3000
-z | --disable-sessions.....(default) No
-B | --filter-expression.....(default) none
-D | --domain.....dsit.sncf.fr
-E | --enable-external-tools.....Yes
-F | --flow-spec.....(default) none
-K | --enable-debug.....Yes
-L | --use-syslog.....local0
-M | --no-interface-merge (effective).....(parameter -M set, Interfaces
separate) No
-O | --pcap-file-path.....(default) /u01/ntop/ntop.test/var/ntop
-P | --db-file-path...../u01/ntop/datas/
-U | --mapper.....(default) (nil)
-W | --https-server.....Uninitialized
--throughput-chart-type.....(default) Area
--ignore-sigpipe.....(default) No
--ssl-watchdog.....(default) No
--dynamic-purge-limits.....(default) No
--reuse-rrd-graphics.....(default) No
--p3p-cp.....(default) none
--p3p-uri.....(default) none
--disable-stopcap.....(default) No
Note: (effective) means that this is the value after ntop has processed
the parameter.
(default) means this is the default value, usually (but not always) set by
a #define in globals-defines.h.
Run time/Internal
External tool: lsof.....Not found on system OR unable to run suid root
Web server URL.....http://any:3000
SSL Web server (https://).....Not Active
GDBM version.....This is GDBM version 1.8.0, as of May 19, 1999.
OpenSSL Version.....OpenSSL 0.9.6b [engine] 9 Jul 2001
zlib version.....1.1.4
Protocol Decoders.....Enabled
Fragment Handling.....Enabled
Tracking only local hosts.....No
# IP Protocols Being Monitored.....18
# Protocol slots.....880
# IP Ports Being Monitored.....58
# Ports slots.....116
# Handled SIGPIPE Errors.....0
# Handled HTTP Requests.....1914
Devices (Network Interfaces).....3
Domain name (short).....fr
IP to country flag table (entries).....47455
Total Hash Collisions (Vendor/Special) (lookup).....0
Local Networks.....10.8.84.0/255.255.252.0 [device eth1]
192.168.0.0/255.255.255.0 [device sFlow-device]
192.168.0.0/255.255.255.0 [device NetFlow-device]
Memory allocation - data segment
arena limit, getrlimit(RLIMIT_DATA, ...).....-1
Allocated blocks (ordblks).....218
Allocated (arena).....8815364
Used (uordblks).....8548444
Free (fordblks).....266920
Memory allocation - mmapped
Allocated blocks (hblks).....8
Allocated bytes (hblkhd).....6619136
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.....15434500
Base memory usage.....9958148
Hosts stored (active+cache).....352 = (280 + 72)
(very) Approximate memory per host.....15.2KB
Host Memory Cache
Limit.....#define MAX_HOSTS_CACHE_LEN 512
Current Size.....72
Maximum Size.....126
# Entries Reused.....2109
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.....2181
Maximum hosts to purge per cycle.....512
DEFAULT_MAXIMUM_HOSTS_PURGE_PER_CYCLE.....512
Terminated Sessions.....40,877
Host/Session counts - Device 0 (eth1)
Actual Hash Size.....512
Stored hosts.....278 [54 %]
Sessions.....249
Max Num. Sessions.....721
Host/Session counts - Device 1 (sFlow-device)
Actual Hash Size.....32
Stored hosts.....1 [3 %]
Sessions.....0
Max Num. Sessions.....0
Host/Session counts - Device 2 (NetFlow-device)
Actual Hash Size.....32
Stored hosts.....1 [3 %]
Sessions.....0
Max Num. Sessions.....0
Address Resolution
DNS sniffed:
DNS Packets sniffed.....1993
less 'requests'.....988
less 'failed'.....771
less 'reverse dns' (in-addr.arpa).....126
DNS Packets processed.....108
Stored in cache (includes aliases).....108
IP to name - ipaddr2str():
Total calls.....1662
ERROR: cache fetch attempts != ipaddr2str() calls.....2006
....OK.....1303
....Total not found.....359
........Not found in cache.....703
........Too old in cache.....0
Queued - dequeueAddress():
Total Queued.....703
Not queued (duplicate).....0
Maximum Queued.....10
Current Queue.....0
Resolved - resolveAddress():
Addresses to resolve.....703
....less 'Error: No cache database'.....0
....less 'Found in ntop cache'.....0
Gives: # gethost (DNS lookup) calls.....703
DNS lookup calls:
DNS resolution attempts.....703
....Success: Resolved.....76
....Failed.....627
........HOST_NOT_FOUND.....624
........NO_DATA.....0
........NO_RECOVERY.....0
........TRY_AGAIN (don't store).....3
........Other error (don't store).....0
DNS lookups stored in cache.....700
Host addresses kept numeric.....627
Vendor Lookup Table
Input lines read.....131
Records added total.....121
.....includes special records.....59
getVendorInfo() calls.....2
getSpecialVendorInfo() calls.....1182
Found 48bit (xx:xx:xx:xx:xx:xx) match.....1
Found 24bit (xx:xx:xx) match.....308
Found multicast bit set.....28
Found LAA (Locally assigned address) bit set.....0
Thread counts
Active.....8
Dequeue.....1
Children (active).....0
Reject duration (seconds).....300
It is now.....mar 13 mai 2003 16:44:26 CEST
Directory (search) order
Data Files......<br>/u01/ntop/ntop.test/share/ntop<br>
Config Files......<br>/u01/ntop/ntop.test/etc/ntop<br>/etc<br>
Plugins....../plugins<br>/u01/ntop/ntop.test/lib/ntop/plugins<br>
Compile Time: ./configure
./configure
parameters.....--prefix=/u01/ntop/ntop.test --with-rrd-root=/u01/rrdtool --w
ith-zlib-root=/u01/install/ntop-2.2/gdchart0.94c/zlib-1.1.4 --with-gdchart-r
oot=/u01/install/ntop-2.2/gdchart0.94c --with-pcap-root=/u01/install/libpcap
-0.7.2 --enable-largerrdpop
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/u01/install/libpcap-0.7.2 -I/u01/install/ntop-2.2/gdchart0.94c/z
lib-1.1.4 -I/u01/install/ntop-2.2/gdchart0.94c -I/u01/install/ntop-2.2/gdcha
rt0.94c/gd-1.8.3 -I/u01/install/ntop-2.2/gdchart0.94c/gd-1.8.3/libpng-1.2.4
-I/u01/rrdtool/include
system
libraries.....-lpthread -lresolv -lnsl -lssl -lcrypto -lgdbm -ldl -lcrypt -l
c -L/u01/install/libpcap-0.7.2 -lpcap -L/u01/install/ntop-2.2/gdchart0.94c/z
lib-1.1.4 -lz -L/u01/install/ntop-2.2/gdchart0.94c -lgdchart -L/u01/install/
ntop-2.2/gdchart0.94c/gd-1.8.3 -lgd -L/u01/install/ntop-2.2/gdchart0.94c/gd-
1.8.3/libpng-1.2.4 -lpng -L/u01/rrdtool/lib -lrrd
install path...../u01/ntop/ntop.test
GNU C (gcc) version.....2.96 20000731 (Red Hat Linux 7.1 2.96-98) (2.96.0)
Internationalization (i18n)
i18n enabled.....No
Compile Time: Debug settings in globals-defines.h
DEBUG.....no
ADDRESS_DEBUG.....no
DNS_DEBUG.....no
DNS_SNIFF_DEBUG.....no
FTP_DEBUG.....no
GDBM_DEBUG.....no
HASH_DEBUG.....no
HOST_FREE_DEBUG.....no
HTTP_DEBUG.....no
IDLE_PURGE_DEBUG.....no
MEMORY_DEBUG.....no
NETFLOW_DEBUG.....no
SEMAPHORE_DEBUG.....no
SESSION_TRACE_DEBUG.....no
SSLWATCHDOG_DEBUG.....no
STORAGE_DEBUG.....no
UNKNOWN_PACKET_DEBUG.....no
Compile Time: globals-define.h
PARM_PRINT_ALL_SESSIONS.....no
PARM_PRINT_RETRANSMISSION_DATA.....no
PARM_FORK_CHILD_PROCESS.....yes (normal)
CGI Scripts.....globals-defines.h: #define PARM_USE_CGI
Alternate row colors.....globals-defines.h: /* #define PARM_USE_COLOR */
Buggy gethostbyaddr() - use alternate implementation.....globals-defines.h:
/* #define PARM_USE_HOST */
MAKE_ASYNC_ADDRESS_RESOLUTION.....yes
MAKE_WITH_SSLWATCHDOG.....yes
MAKE_WITH_SSLWATCHDOG_RUNTIME (derived).....yes
Bad IP Address table size.....globals-defines.h: #define
MAX_NUM_BAD_IP_ADDRESSES 3
Minimum refresh interval (seconds).....#define
PARM_MIN_WEBPAGE_AUTOREFRESH_TIME 15
Maximum # of Protocols to show in graphs.....#define MAX_NUM_PROTOS 64
Maximum # of routers (Local Subnet Routers report).....#define
MAX_NUM_ROUTERS 512
Maximum # of network interface devices.....#define MAX_NUM_DEVICES 32
Maximum # of processes for lsof report.....#define
MAX_NUM_PROCESSES_READLSOFINFO 1024
Maximum network size (hosts per interface).....#define MAX_SUBNET_HOSTS 1024
Allocated # of passive FTP sessions.....#define
MAX_PASSIVE_FTP_SESSION_TRACKER 384
Inactive passive FTP session timeout (seconds).....#define
PARM_PASSIVE_SESSION_MINIMUM_IDLE 60
Compile Time: Hash Table Sizes
Initial size.....#define CONST_HASH_INITIAL_SIZE 32
After 1st extend.....#define CONST_HASH_MINIMUM_SIZE 512
Intermediate increase factor.....#define CONST_HASH_INCREASE_FACTOR 2
Factor growth until.....#define CONST_HASH_FACTOR_MAXIMUM 4096
Then grow (linearly) by.....#define CONST_HASH_TERMINAL_INCREASE 4096
Compile Time: globals-define.h
Chart Format.....globals-report.h: #define CHART_FORMAT ".png"
Compile Time: config.h
CFG_ETHER_HEADER_HAS_EA.....no
CFG_MULTITHREADED.....yes
HAVE_ALARM.....yes
HAVE_ALLOCA.....yes
HAVE_ALLOCA_H.....yes
HAVE_ARPA_NAMESER_H.....yes
HAVE_BACKTRACE.....yes
HAVE_BZERO.....yes
HAVE_CTIME_R.....yes
HAVE_CURSES_H.....no
HAVE_DLFCN_H.....yes
HAVE_DL_H.....no
HAVE_DOPRNT.....no
HAVE_ENDPWENT.....yes
HAVE_ERRNO_H.....yes
HAVE_FACILITYNAMES.....yes
HAVE_FCNTL_H.....yes
HAVE_FORK.....yes
HAVE_GDBM_H.....yes
HAVE_GDCPIE_H.....yes
HAVE_GD_H.....yes
HAVE_GDOME_H.....no
HAVE_GETHOSTBYADDR.....yes
HAVE_GETHOSTBYADDR_R.....yes
HAVE_GETHOSTBYNAME.....yes
HAVE_GETHOSTNAME.....yes
HAVE_GETIPNODEBYADDR.....no
HAVE_GETPASS.....yes
HAVE_GETTIMEOFDAY.....yes
HAVE_GLIBCONFIG_H.....no
HAVE_GLIB_H.....no
HAVE_IF_H.....no
HAVE_IN6_ADDR.....yes
HAVE_INT16_T.....yes
HAVE_INT32_T.....yes
HAVE_INT64_T.....yes
HAVE_INT8_T.....yes
HAVE_INTTYPES_H.....yes
HAVE_LANGINFO_H.....yes
HAVE_LIBC.....yes
HAVE_LIBCRYPT.....yes
HAVE_LIBCRYPTO.....yes
HAVE_LIBDL.....yes
HAVE_LIBDLD.....no
HAVE_LIBGD.....yes
HAVE_LIBGDBM.....yes
HAVE_LIBGDOME.....no
HAVE_LIBGLIB.....no
HAVE_LIBM.....no
HAVE_LIBNSL.....yes
HAVE_LIBPCAP.....yes
HAVE_LIBPNG.....yes
HAVE_LIBPOSIX4.....no
HAVE_LIBPTHREAD.....yes
HAVE_LIBPTHREADS.....no
HAVE_LIBRESOLV.....yes
HAVE_LIBRT.....no
HAVE_LIBSOCKET.....no
HAVE_LIBSSL.....yes
HAVE_LIBWRAP.....no
HAVE_LIBXML2.....no
HAVE_LIBZ.....yes
HAVE_LIMITS_H.....yes
HAVE_LOCALE_H.....yes
HAVE_LOCALTIME_R.....yes
HAVE_LONG_DOUBLE.....no
HAVE_MATH_H.....yes
HAVE_MEMCHR.....yes
HAVE_MEMORY_H.....yes
HAVE_MEMSET.....yes
HAVE_NCURSES_H.....no
HAVE_NDIR_H.....no
HAVE_NETDB_H.....yes
HAVE_OPENSSL.....yes
HAVE_OPENSSL_CRYPTO_H.....yes
HAVE_OPENSSL_ERR_H.....yes
HAVE_OPENSSL_PEM_H.....yes
HAVE_OPENSSL_RSA_H.....yes
HAVE_OPENSSL_SSL_H.....yes
HAVE_OPENSSL_X509_H.....yes
HAVE_PCAP_FREECODE.....yes
HAVE_PCAP_H.....yes
HAVE_PCAP_OPEN_DEAD.....yes
HAVE_PNG_H.....yes
HAVE_PTHREAD_H.....yes
HAVE_PUTENV.....yes
HAVE_PWD_H.....yes
HAVE_READLINE.....no
HAVE_READLINE_READLINE_H.....no
HAVE_RE_COMP.....yes
HAVE_REGCOMP.....yes
HAVE_REGEX.....yes
HAVE_RRD.....yes
HAVE_RRD_H.....yes
HAVE_SCHED_H.....yes
HAVE_SCHED_YIELD.....yes
HAVE_SECURITY_PAM_APPL_H.....yes
HAVE_SELECT.....yes
HAVE_SEMAPHORE_H.....yes
HAVE_SETJMP_H.....yes
HAVE_SHADOW_H.....yes
HAVE_SIGNAL_H.....yes
HAVE_SNPRINTF.....yes
HAVE_SOCKET.....yes
HAVE_SQRT.....yes
HAVE_STDARG_H.....yes
HAVE_STDIO_H.....yes
HAVE_STDLIB_H.....yes
HAVE_STRCASECMP.....yes
HAVE_STRCHR.....yes
HAVE_STRCSPN.....yes
HAVE_STRDUP.....yes
HAVE_STRERROR.....yes
HAVE_STRFTIME.....yes
HAVE_STRING_H.....yes
HAVE_STRINGS_H.....yes
HAVE_STRNCASECMP.....yes
HAVE_STRPBRK.....yes
HAVE_STRRCHR.....yes
HAVE_STRSPN.....yes
HAVE_STRSTR.....yes
HAVE_STRTOK_R.....yes
HAVE_STRTOUL.....yes
HAVE_SYS_DIR_H.....no
HAVE_SYS_IOCTL_H.....yes
HAVE_SYS_LDR_H.....no
HAVE_SYS_NDIR_H.....no
HAVE_SYS_RESOURCE_H.....yes
HAVE_SYS_SCHED_H.....no
HAVE_SYS_SOCKIO_H.....no
HAVE_SYS_TIME_H.....yes
HAVE_SYS_TYPES_H.....yes
HAVE_SYS_UN_H.....yes
HAVE_TCPD_H.....yes
HAVE_TM_ZONE.....yes
HAVE_TZNAME.....no
HAVE_U_INT16_T.....yes
HAVE_U_INT32_T.....yes
HAVE_U_INT64_T.....yes
HAVE_UINT64_T.....no
HAVE_U_INT8_T.....yes
HAVE_UNAME.....yes
HAVE_UNISTD_H.....yes
HAVE_VFORK.....yes
HAVE_VFORK_H.....no
HAVE_VPRINTF.....yes
HAVE_WORKING_FORK.....yes
HAVE_WORKING_VFORK.....yes
HAVE_ZLIB_H.....yes
MAKE_MICRO_NTOP.....no
MAKE_WITH_FTPDATA_ASSUMED.....no
MAKE_WITH_GDCHART.....yes
MAKE_WITH_I18N.....no
MAKE_WITH_IGNORE_SIGPIPE.....no
MAKE_WITH_LARGERRDPOP.....yes
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...../u01/ntop/ntop.test/etc/ntop
CFG_DATAFILE_DIR - data file directory...../u01/ntop/ntop.test/share/ntop
CFG_DBFILE_DIR - database file directory...../u01/ntop/ntop.test/var/ntop
CFG_PLUGIN_DIR - plugin file
directory...../u01/ntop/ntop.test/lib/ntop/plugins
CFG_RUN_DIR - run file directory...../u01/ntop/ntop.test/var/ntop
CFG_NEED_GETDOMAINNAME (getdomainname(2) function).....yes
CFG_xxxxxx_ENDIAN (Hardware Endian).....little
Compile Time: globals-defines.h
EMSGSIZE.....90
ETHERMTU.....1500
LEN_CMDLINE_BUFFER.....4096
LEN_FGETS_BUFFER.....512
LEN_GENERAL_WORK_BUFFER.....1024
LEN_MEDIUM_WORK_BUFFER.....64
LEN_SMALL_WORK_BUFFER.....16
LEN_TIME_STAMP_BUFFER.....2
MAKE_NTOP_PACKETSZ_DECLARATIONS.....no
MAKE_RMON_SUPPORT.....yes
MAKE_WITH_FORK_COPYONWRITE.....yes
MAKE_WITH_HTTPSIGTRAP.....no
MAKE_WITH_RRDSIGTRAP.....no
MAKE_WITH_SCHED_YIELD.....yes
MAKE_WITH_SEMAPHORES.....yes
MAKE_WITH_SYSLOG.....yes
MAKE_WITH_XMLDUMP.....no
MAX_ADDRESSES.....35
MAX_ALIASES.....35
MAX_ASSIGNED_IP_PORTS.....1024
MAXCDNAME.....255
MAX_DEVICE_NAME_LEN.....64
MAXDNAME.....1025
MAX_HASHDUMP_ENTRY.....65535
MAXHOSTNAMELEN.....64
MAX_HOSTS_CACHE_LEN.....512
MAX_IP_PORT.....65534
MAX_IPXSAP_NAME_HASH.....179
MAXLABEL.....63
MAX_LANGUAGES_REQUESTED.....4
MAX_LANGUAGES_SUPPORTED.....8
MAX_LASTSEEN_TABLE_SIZE.....4096
MAX_LEN_VENDOR_NAME.....64
MAX_NFS_NAME_HASH.....12288
MAX_NODE_TYPES.....8
MAX_NUM_BAD_IP_ADDRESSES.....3
MAX_NUM_CONTACTED_PEERS.....8
MAX_NUM_DEQUEUE_THREADS.....yes
MAX_NUM_DEVICES.....32
MAX_NUM_DHCP_MSG.....8
MAX_NUM_FIN.....4
MAX_NUM_IGNOREDFLOWS.....32
MAX_NUM_NETWORKS.....32
MAX_NUM_PROBES.....16
MAX_NUM_PROCESSES_READLSOFINFO.....1024
MAX_NUM_PROTOS.....64
MAX_NUM_PROTOS_SCREENS.....5
MAX_NUM_ROUTERS.....512
MAX_NUM_STORED_FLAGS.....4
MAX_PASSIVE_FTP_SESSION_TRACKER.....384
MAX_PER_DEVICE_HASH_LIST.....65535
MAX_SESSIONS_CACHE_LEN.....512
MAX_SSL_CONNECTIONS.....32
NAME_MAX.....255
NETDB_SUCCESS.....0
NS_CMPRSFLGS.....192
NS_MAXCDNAME.....255
PACKETSZ.....512
PARM_ENABLE_EXPERIMENTAL.....no
PARM_FORK_CHILD_PROCESS.....yes
PARM_MIN_WEBPAGE_AUTOREFRESH_TIME.....15
PARM_PASSIVE_SESSION_MINIMUM_IDLE.....60
PARM_PIPE_READ_TIMEOUT.....15
PARM_SESSION_PURGE_MINIMUM_IDLE.....600
PARM_SHOW_NTOP_HEARTBEAT.....no
PARM_SSLWATCHDOG_WAITWOKE_LIMIT.....5
PARM_USE_CGI.....yes
PARM_USE_COLOR.....no
PARM_USE_HOST.....no
PARM_USE_MACHASH_INVERT.....yes
PARM_USE_SESSIONS_CACHE.....no
PARM_WEDONTWANTTOTALKWITHYOU_INTERVAL.....300
SLL_HDR_LEN.....16
THREAD_MODE.....MT (SSL)
Mutexes:
----------------------------------------------------------------------------
---
Note: The generated id below should be unique. It's essentially a random 6
or 7
character tracking tag for each problem report. Since it's generated
on
your machine, we can't just use an ever increasing global number.
While it should be unique, it is not traceable back to a specific user
or
machine. If it makes you uncomfortable just delete it.
Problem Report Id: PR_JGNPXDB
----------------------------------------------------------------------------
---
--
Arnaud Veron <[EMAIL PROTECTED]>
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop