[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ntop-dev
Subject:    [Ntop-dev] serialCache is growing too fast for my flash card :-(
From:       Christian Hammers <ch () westend ! com>
Date:       2002-04-21 22:05:22
Message-ID: 20020421220522.GA11442 () westend ! com
[Download RAW message or body]

Hi

In var/ I have a file called serialCache.db that has grown to 19MB in the
last week. Doesn't sound too much but my router only has 256MB RAM and
a 128MB flash card inside that's filled up to 90%. 

Does this file ever stop growing? What is it good for? Does a periodical
restart help? Any suggestions?

bye,

-christian-

-- 
Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
ch@westend.com     Internet & Security for Professionals    Fax 0241/911879
          WESTEND ist CISCO Systems Partner - Authorized Reseller


Received: (qmail 14081 invoked from network); 24 Apr 2002 13:18:30 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 24 Apr 2002 13:18:30 -0000
Received: from jabber.tecsiel.it ([195.31.151.66])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g3ODIQ210608;
	Wed, 24 Apr 2002 15:18:26 +0200 (MEST)
Received: from tecsiel.it (localhost [127.0.0.1])
	by jabber.tecsiel.it (8.9.3+Sun/8.9.3) with ESMTP id GAA12072;
	Wed, 24 Apr 2002 06:18:27 -0700 (PDT)
Message-ID: <3CC6B0A3.FF3982FB@tecsiel.it>
Date: Wed, 24 Apr 2002 15:18:27 +0200
From: Luca Deri <l.deri@tecsiel.it>
Organization: NETikos S.p.A.
X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 i86pc)
X-Accept-Language: en
MIME-Version: 1.0
To: ntop@Unipi.IT, ntop-dev@Unipi.IT
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] Mailing List Migration (2nd post)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
X-Reply-To: l.deri@tecsiel.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Hi all,
we migrated the list to qmail. Please check whether everything works for
you.

Cheers, Luca

-- 
Luca Deri                     NETikos S.p.A.
Via Matteucci 34/B	      56124 Pisa, Italy.
Ph. +39/050/968.639           Fax. +39/050/968.626
Personal: luca@lucaderi.org   Business: luca.deri@netikos.com
WWW: http://www.lucaderi.org/ ICQ: 68183632
Hacker: someone who loves to program and enjoys being
clever about it - Richard Stallman

Received: (qmail 14948 invoked from network); 24 Apr 2002 13:48:17 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 24 Apr 2002 13:48:17 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from smart.cobolt.net (pD9E12C7A.dip.t-dialin.net [217.225.44.122])
	by cache.unipi.it (8.11.6/8.11.6) with SMTP id g3ODmD213300
	for <ntop-dev@Unipi.IT>; Wed, 24 Apr 2002 15:48:13 +0200 (MEST)
Received: (qmail 15785 invoked by uid 1000); 24 Apr 2002 13:48:10 -0000
Date: Wed, 24 Apr 2002 15:48:09 +0200
From: Dennis Schoen <dennis@cns.dnsalias.org>
To: ntop@Unipi.IT, ntop-dev@Unipi.IT
Subject: Re: [Ntop-dev] Mailing List Migration (2nd post)
Message-ID: <20020424134807.GD30841@smart.cobolt.net>
Mail-Followup-To: ntop@Unipi.IT, ntop-dev@Unipi.IT
References: <3CC6B0A3.FF3982FB@tecsiel.it>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3CC6B0A3.FF3982FB@tecsiel.it>
User-Agent: Mutt/1.3.25i
Mail-Copies-To: never
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
X-Reply-To: Dennis Schoen <dennis@cns.dnsalias.org>
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

On Wed, Apr 24, 2002 at 03:18:27PM +0200, Luca Deri wrote:
> Hi all,
> we migrated the list to qmail.
great decision.

> Please check whether everything works for you.

test test :)

Dennis

Received: (qmail 19111 invoked from network); 24 Apr 2002 21:55:02 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 24 Apr 2002 21:55:02 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from bstrauss3.attbi.com (12-239-131-178.client.attbi.com [12.239.131.178])
	by cache.unipi.it (8.11.6/8.11.6) with SMTP id g3OLsv208521
	for <ntop-dev@unipi.it>; Wed, 24 Apr 2002 23:54:57 +0200 (MEST)
Received: (qmail 31433 invoked from network); 24 Apr 2002 21:54:51 -0000
Received: from unknown (HELO swallowtailnew) (192.168.42.3)
  by 0 with SMTP; 24 Apr 2002 21:54:51 -0000
From: "Burton M. Strauss III" <Burton@ntopsupport.com>
To: <ntop-dev@Unipi.IT>
Cc: <christophe.rahmouni@bt.com>
Subject: RE: [Ntop-dev] ntop on windows 98
Date: Wed, 24 Apr 2002 16:59:38 -0500
Message-ID: <JIEPJGFPFMFIGBNCPKGGCEFACGAA.Burton@ntopsupport.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Importance: Normal
In-Reply-To: <5104D4DBC598D211B5FE0000F8FE7EB2143CBB89@mbtlipnt02.btlabs.bt.co.uk>
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

There is so much difference between 2.0 and 2.0.99 (as we're working towards
the release of 2.1), that I couldn't begin to figure this out...

I would recommend you download the 22Apr2002 snapshot and apply the patches
I've posted. (If you can't find them in the archives, let me know
(privately) and I'll send them to you.

-----Burton

-----Original Message-----
From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
Of christophe.rahmouni@bt.com
Sent: Tuesday, April 23, 2002 5:54 AM
To: ntop-dev@unipi.it
Subject: [Ntop-dev] ntop on windows 98


Thank you very much Burton for your help.
More explaination:

1. OK.

2. I have used the file BUILD-MinGW.txt (attached) to build ntop.exe, so I
used gdbm-1.8.0-20010430.zip from http://sourceforge.net/projects/mingwrep,
I have also just tried with gdbm 1.8.0 2002-02-22 on page
http://sourceforge.net/project/showfiles.php?group_id=23617&release_id=76525
, but I obtain the same result. gdbm seems to be correctly installed
(testgdbm.exe is working).

3. My current directory is c:/cygwin/ntop/ntop, I have the rights to create
files.

4. Sorry for the error DnsCache.db and not Database.db, EXACT error message:
-------
$ ntop.exe
Wait please: ntop is coming up...
23/Apr/2002 10:27:05 Initializing IP services...
23/Apr/2002 10:27:05 Initializing GDBM...
23/Apr/2002 10:27:05 Database './dnsCache.db' open failed: unknown gdbm
errno
23/Apr/2002 10:27:05 Possible solution: please use '-P <directory>'
-------
Regardind the ntop source version it's the 2.0 (ntop-2.0-src.tgz) downloaded
from http://snapshot.ntop.org/, on Download->Stable, on the 18th of April
2002.

Where the problem(s) could come from?

Cheers,

Christophe



-----Original Message-----
From: Burton M. Strauss III [mailto:Burton@ntopsupport.com]
Sent: 22 April 2002 17:27
To: ntop-dev
Cc: christophe.rahmouni
Subject: RE: [Ntop-dev] ntop on windows 98

1. You should have your password - it's whatever YOU used to signup with...
besides, you can only post by sending a message to the list address.

2. Are you sure you have gdbm installed?  Correctly?  Which version?

3. What is the current directory? (do a cd command to check)  Do you have
rights to create files in that directory?  Otherwise you need to use the -P
parameter to point at a directory you do have rights to...

4. Cut & paste the EXACT error message - Database.db doesn't appear in ANY
of my versions of ntop...  in fact, what version are you running...  Please
see "HOWTO ask for help" at http://snapshot.ntop.org

-----Burton






-----Original Message-----
From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
Of christophe.rahmouni@bt.com
Sent: Monday, April 22, 2002 10:41 AM
To: ntop-dev@unipi.it
Subject: [Ntop-dev] ntop on windows 98


I have received the welcome Ntop-dev mailing list mail, so I post my
precedent mail to the mailing list:

Hi,

I allow me to post by this mail address, because I still don't have receive
my password to use subscribers-list.
I introduce me, I am a French student, and I am doing a placement within BT.
My actual work is to analyse the IP traffic for IP services over DVB-S
links. I am doing this with different DVB cards and under windows and
Linux(Debian). I am working now on windows 98, I used the Makefile.mingw
makefiles to compile the different libraries and ntop. I have now my
libgd.a, libgdchart.a, libpng.a, libz.a and the ntop.exe.
But when I try to use ntop, I have the output:

Wait please: ntop is coming up...
22/Apr/2002 15:10:45 Initializing IP services...
22/Apr/2002 15:10:45 Initializing GDBM...
22/Apr/2002 15:10:45 Database './Database.db' open failed: unknow gdbm errno
22/Apr/2002 15:10:45 Possible solution: please use '-P <directory>'

Someone could help me to solve this problem?

Cheers,

Christophe


_______________________________________________
Ntop-dev mailing list
Ntop-dev@unipi.it
http://listmanager.unipi.it/mailman/listinfo/ntop-dev



Received: (qmail 20998 invoked from network); 24 Apr 2002 23:51:37 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 24 Apr 2002 23:51:37 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from bstrauss3.attbi.com (12-239-131-178.client.attbi.com [12.239.131.178])
	by cache.unipi.it (8.11.6/8.11.6) with SMTP id g3ONpX214398
	for <ntop-dev@unipi.it>; Thu, 25 Apr 2002 01:51:33 +0200 (MEST)
Received: (qmail 32376 invoked from network); 24 Apr 2002 23:51:28 -0000
Received: from unknown (HELO swallowtailnew) (192.168.42.3)
  by 0 with SMTP; 24 Apr 2002 23:51:28 -0000
From: "Burton M. Strauss III" <Burton@ntopsupport.com>
To: "Ntop-Dev" <ntop-dev@Unipi.IT>
Date: Wed, 24 Apr 2002 18:56:15 -0500
Message-ID: <JIEPJGFPFMFIGBNCPKGGKEFCCGAA.Burton@ntopsupport.com>
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_0000_01C1EBC1.B6106DB0"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] (Non Linux) Tester needed: --use-syslog <facility> patch
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

This is a multi-part message in MIME format.


I need somebody to test this for me... in an environment other than Linux.

The patch changes the --use-syslog parameter to --use-syslog <facility>,
where facility is one of the names in /usr/include/sys/syslog.h (it
leaves -L alone, logging to the default value set in ntop.h).

It compiles and appears to run for me, but I'm concerned that the contents
of syslog.h in other environments won't let it work the same.

Please

1) Apply the patch, compile and run with a reasonable --use-syslog parameter
as well as with -L and without either.

2) Tell me the precise environment

3) Send me your report along with your syslog.h file (in my Linux box it's
/usr/include/sys/syslog.h)

Thanks!

-----Burton

Ref is BMS0060, but (Luca) I'm not ready to have it included yet...



["BMS0060-openlog-facility.patch" (application/octet-stream)]

--- ntop-current-starting/ntop.h	Sat Apr 20 17:05:35 2002
+++ ntop-current/ntop.h	Wed Apr 24 17:22:00 2002
@@ -403,15 +403,13 @@
 #endif
 
-
 /*
- * Libwrap support
- * courtesy of Georg Schwarz <schwarz@itp4.physik.TU-Berlin.DE>
+ * Burton Strauss - BStrauss@acm.org - removed HAVE_TCPD_H test so that constants \
                are available
  */
-#if defined(HAVE_TCPD_H)
 
 #include <tcpd.h>
 #include <syslog.h>
-# ifndef SYSLOG_FACILITY
-#  define SYSLOG_FACILITY LOG_DAEMON   /* default value, if not specified otherwise \
*/ +
+# ifndef DEFAULT_SYSLOG_FACILITY
+#  define DEFAULT_SYSLOG_FACILITY LOG_DAEMON   /* default value, if not specified \
otherwise */  # endif
 # ifndef DAEMONNAME
@@ -419,6 +417,4 @@
 # endif
 
-#endif /* HAVE_TCPD_H */
-
 #ifdef ELECTRICFENCE
 #include "efence.h"
--- ntop-current-starting/globals.h	Sat Apr 20 17:05:22 2002
+++ ntop-current/globals.h	Wed Apr 24 17:57:57 2002
@@ -82,5 +82,5 @@
 #ifndef WIN32
   u_short debugMode;                 /* 'K' */
-  u_short useSyslog;                 /* 'L' */
+  int useSyslog;                     /* 'L' */
 #endif
 
--- ntop-current-starting/main.c	Sat Apr 20 17:05:31 2002
+++ ntop-current/main.c	Wed Apr 24 18:41:23 2002
@@ -22,4 +22,9 @@
  */
 
+/*
+ * Define so that syslog.h creates the name structures...
+ */
+#define SYSLOG_NAMES
+
 #include "ntop.h"
 #include "globals-report.h"
@@ -118,5 +123,4 @@
 #ifndef WIN32
   { "debug",                            no_argument,       NULL, 'K' },
-  { "use-syslog",                       no_argument,       NULL, 'L' },
 #endif
 
@@ -147,4 +151,7 @@
   { "throughput-bar-chart",             no_argument,       NULL, 129 },
 #endif
+#ifndef WIN32
+  { "use-syslog",                       required_argument, NULL, 131 },
+#endif
 
   {NULL, 0, NULL, 0}
@@ -232,5 +239,6 @@
 #ifndef WIN32
   fprintf(fp, "    [-K             | --enable-debug]                     Enable \
                debug mode\n");
-  fprintf(fp, "    [-L             | --enable-syslog]                    Enable \
logging via syslog\n"); +  fprintf(fp, "    [-L ]                                     \
Do logging via syslog\n"); +  fprintf(fp, "    [                 --use-syslog \
<facility>]            Do logging via syslog, facility\n");  #endif
 
@@ -532,5 +540,5 @@
 
     case 'L':
-      myGlobals.useSyslog = 1;
+      myGlobals.useSyslog = DEFAULT_SYSLOG_FACILITY;
       break;
 #endif
@@ -618,4 +626,36 @@
       break;
 #endif
+
+#ifndef WIN32
+    case 131:
+      /*
+       * Burton Strauss (BStrauss@acm.org) allow --use-syslog <facility>
+       *   Note that although this is coded for it, optional-argument doesn't appear \
to work,  +       *       (so the structure is defined with required_argument).
+       *   Also, if theOpts uses L: then there MUST be an argument.
+       *   Accordingly the case 'L'/131 was split and:
+       *     -L sets myGlobals.useSyslog to the default facility \
(DEFAULT_SYSLOG_FACILITY in ntop.h) +       *     --use-syslog requires a facility \
parameter (see /usr/include/sys/syslog.h) +       */
+      if (optarg) {
+          int i;
+
+          stringSanityCheck(optarg);
+
+          for (i=0; facilitynames[i].c_name != NULL; i++) {
+              if (strcmp(optarg, facilitynames[i].c_name) == 0)
+                  break;
+          }
+
+          if (facilitynames[i].c_name == NULL) {
+              myGlobals.useSyslog = DEFAULT_SYSLOG_FACILITY;
+          } else {
+              myGlobals.useSyslog = facilitynames[i].c_val;
+          }
+      } else {
+          myGlobals.useSyslog = DEFAULT_SYSLOG_FACILITY;
+      }
+      break;
+#endif
 
     default:
--- ntop-current-starting/util.c	Sat Apr 20 17:05:51 2002
+++ ntop-current/util.c	Wed Apr 24 18:09:08 2002
@@ -35,8 +35,4 @@
 #include <stdarg.h>
 
-#ifndef WIN32
-#include <syslog.h>
-#endif
-
 /* #define MEMORY_DEBUG  */
 
@@ -2057,6 +2053,6 @@
 
 #ifndef WIN32
-      if(myGlobals.useSyslog)
-	openlog("ntop", LOG_PID, LOG_DAEMON);
+      if(myGlobals.useSyslog != -1)
+	openlog("ntop", LOG_PID, myGlobals.useSyslog);
 #endif
 
@@ -2064,5 +2060,5 @@
 	  if(1)
 #else
-	  if(!myGlobals.useSyslog)
+	  if(myGlobals.useSyslog == -1)
 #endif
 	    {
@@ -2087,5 +2083,5 @@
 	  if(1)
 #else
-      if(!myGlobals.useSyslog)
+      if(myGlobals.useSyslog == -1)
 #endif
 	{
@@ -2124,5 +2120,5 @@
 
 #ifndef WIN32
-  if(myGlobals.useSyslog)
+  if(myGlobals.useSyslog != -1)
     closelog();
 #endif
--- ntop-current-starting/webInterface.c	Sun Apr 21 17:05:16 2002
+++ ntop-current/webInterface.c	Wed Apr 24 17:22:40 2002
@@ -1180,5 +1180,5 @@
       if(!hosts_access(&req)) {
 	closelog(); /* just in case */
-	openlog(DAEMONNAME,LOG_PID,SYSLOG_FACILITY);
+	openlog(DAEMONNAME,LOG_PID,myGlobals.useSyslog);
 	syslog(deny_severity, "refused connect from %s", eval_client(&req));
       }
--- ntop-current-starting/ntop.c	Sun Apr 21 17:05:13 2002
+++ ntop-current/ntop.c	Wed Apr 24 17:20:15 2002
@@ -200,5 +200,7 @@
 
 #ifndef WIN32
-  myGlobals.useSyslog = 1; /* Log in the syslog */
+  if (myGlobals.useSyslog == -1) {
+     myGlobals.useSyslog = DEFAULT_SYSLOG_FACILITY; /* children must log in the \
syslog */ +  }
 #endif
 
--- ntop-current-starting/globals-core.c	Sat Apr 20 17:05:21 2002
+++ ntop-current/globals-core.c	Wed Apr 24 17:17:13 2002
@@ -121,5 +121,5 @@
 #ifndef WIN32
   myGlobals.debugMode = 0;
-  myGlobals.useSyslog = 0;
+  myGlobals.useSyslog = -1;
 #endif
 
--- ntop-current-starting/ntop.8	Fri Apr  5 16:05:23 2002
+++ ntop-current/ntop.8	Wed Apr 24 18:40:19 2002
@@ -76,5 +76,6 @@
 .RB [ -E | --enable-external-tools ]
 .RB [ -K | --enable-debug ]
-.RB [ -L | --enable-syslog ]
+.RB [ -L ]
+.RB [ -use-syslog <facility> ]
 
 Win32 option:
--- ntop-current-starting/ntop.txt	Tue Mar 26 17:05:09 2002
+++ ntop-current/ntop.txt	Wed Apr 24 18:40:42 2002
@@ -33,5 +33,5 @@
        [-d|--daemon]  [-i|--interface  <name>] [-u|--user <user>]
        [-E|--enable-external-tools]           [-K|--enable-debug]
-       [-L|--enable-syslog]
+       [-L] [--use-syslog <facility>]
 
        Win32 option:
--- ntop-current-starting/ntop.h	Sat Apr 20 17:05:35 2002
+++ ntop-current/ntop.h	Wed Apr 24 18:44:44 2002
@@ -405,13 +405,12 @@
 
 /*
- * Libwrap support
- * courtesy of Georg Schwarz <schwarz@itp4.physik.TU-Berlin.DE>
+ * Burton Strauss - BStrauss@acm.org - removed HAVE_TCPD_H test so that constants \
                are available
  */
-#if defined(HAVE_TCPD_H)
 
 #include <tcpd.h>
 #include <syslog.h>
-# ifndef SYSLOG_FACILITY
-#  define SYSLOG_FACILITY LOG_DAEMON   /* default value, if not specified otherwise \
*/ +
+# ifndef DEFAULT_SYSLOG_FACILITY
+#  define DEFAULT_SYSLOG_FACILITY LOG_DAEMON   /* default value, if not specified \
otherwise */  # endif
 # ifndef DAEMONNAME
@@ -419,6 +418,4 @@
 # endif
 
-#endif /* HAVE_TCPD_H */
-
 #ifdef ELECTRICFENCE
 #include "efence.h"
--- ntop-current-starting/globals.h	Sat Apr 20 17:05:22 2002
+++ ntop-current/globals.h	Wed Apr 24 17:57:57 2002
@@ -82,5 +82,5 @@
 #ifndef WIN32
   u_short debugMode;                 /* 'K' */
-  u_short useSyslog;                 /* 'L' */
+  int useSyslog;                     /* 'L' */
 #endif
 
--- ntop-current-starting/main.c	Sat Apr 20 17:05:31 2002
+++ ntop-current/main.c	Wed Apr 24 18:41:23 2002
@@ -22,4 +22,9 @@
  */
 
+/*
+ * Define so that syslog.h creates the name structures...
+ */
+#define SYSLOG_NAMES
+
 #include "ntop.h"
 #include "globals-report.h"
@@ -118,5 +123,4 @@
 #ifndef WIN32
   { "debug",                            no_argument,       NULL, 'K' },
-  { "use-syslog",                       no_argument,       NULL, 'L' },
 #endif
 
@@ -147,4 +151,7 @@
   { "throughput-bar-chart",             no_argument,       NULL, 129 },
 #endif
+#ifndef WIN32
+  { "use-syslog",                       required_argument, NULL, 131 },
+#endif
 
   {NULL, 0, NULL, 0}
@@ -232,5 +239,6 @@
 #ifndef WIN32
   fprintf(fp, "    [-K             | --enable-debug]                     Enable \
                debug mode\n");
-  fprintf(fp, "    [-L             | --enable-syslog]                    Enable \
logging via syslog\n"); +  fprintf(fp, "    [-L ]                                     \
Do logging via syslog\n"); +  fprintf(fp, "    [                 --use-syslog \
<facility>]            Do logging via syslog, facility\n");  #endif
 
@@ -532,5 +540,5 @@
 
     case 'L':
-      myGlobals.useSyslog = 1;
+      myGlobals.useSyslog = DEFAULT_SYSLOG_FACILITY;
       break;
 #endif
@@ -618,4 +626,36 @@
       break;
 #endif
+
+#ifndef WIN32
+    case 131:
+      /*
+       * Burton Strauss (BStrauss@acm.org) allow --use-syslog <facility>
+       *   Note that although this is coded for it, optional-argument doesn't appear \
to work,  +       *       (so the structure is defined with required_argument).
+       *   Also, if theOpts uses L: then there MUST be an argument.
+       *   Accordingly the case 'L'/131 was split and:
+       *     -L sets myGlobals.useSyslog to the default facility \
(DEFAULT_SYSLOG_FACILITY in ntop.h) +       *     --use-syslog requires a facility \
parameter (see /usr/include/sys/syslog.h) +       */
+      if (optarg) {
+          int i;
+
+          stringSanityCheck(optarg);
+
+          for (i=0; facilitynames[i].c_name != NULL; i++) {
+              if (strcmp(optarg, facilitynames[i].c_name) == 0)
+                  break;
+          }
+
+          if (facilitynames[i].c_name == NULL) {
+              myGlobals.useSyslog = DEFAULT_SYSLOG_FACILITY;
+          } else {
+              myGlobals.useSyslog = facilitynames[i].c_val;
+          }
+      } else {
+          myGlobals.useSyslog = DEFAULT_SYSLOG_FACILITY;
+      }
+      break;
+#endif
 
     default:
--- ntop-current-starting/util.c	Sat Apr 20 17:05:51 2002
+++ ntop-current/util.c	Wed Apr 24 18:09:08 2002
@@ -35,8 +35,4 @@
 #include <stdarg.h>
 
-#ifndef WIN32
-#include <syslog.h>
-#endif
-
 /* #define MEMORY_DEBUG  */
 
@@ -2057,6 +2053,6 @@
 
 #ifndef WIN32
-      if(myGlobals.useSyslog)
-	openlog("ntop", LOG_PID, LOG_DAEMON);
+      if(myGlobals.useSyslog != -1)
+	openlog("ntop", LOG_PID, myGlobals.useSyslog);
 #endif
 
@@ -2064,5 +2060,5 @@
 	  if(1)
 #else
-	  if(!myGlobals.useSyslog)
+	  if(myGlobals.useSyslog == -1)
 #endif
 	    {
@@ -2087,5 +2083,5 @@
 	  if(1)
 #else
-      if(!myGlobals.useSyslog)
+      if(myGlobals.useSyslog == -1)
 #endif
 	{
@@ -2124,5 +2120,5 @@
 
 #ifndef WIN32
-  if(myGlobals.useSyslog)
+  if(myGlobals.useSyslog != -1)
     closelog();
 #endif
--- ntop-current-starting/webInterface.c	Sun Apr 21 17:05:16 2002
+++ ntop-current/webInterface.c	Wed Apr 24 17:22:40 2002
@@ -1180,5 +1180,5 @@
       if(!hosts_access(&req)) {
 	closelog(); /* just in case */
-	openlog(DAEMONNAME,LOG_PID,SYSLOG_FACILITY);
+	openlog(DAEMONNAME,LOG_PID,myGlobals.useSyslog);
 	syslog(deny_severity, "refused connect from %s", eval_client(&req));
       }
--- ntop-current-starting/ntop.c	Sun Apr 21 17:05:13 2002
+++ ntop-current/ntop.c	Wed Apr 24 17:20:15 2002
@@ -200,5 +200,7 @@
 
 #ifndef WIN32
-  myGlobals.useSyslog = 1; /* Log in the syslog */
+  if (myGlobals.useSyslog == -1) {
+     myGlobals.useSyslog = DEFAULT_SYSLOG_FACILITY; /* children must log in the \
syslog */ +  }
 #endif
 
--- ntop-current-starting/globals-core.c	Sat Apr 20 17:05:21 2002
+++ ntop-current/globals-core.c	Wed Apr 24 17:17:13 2002
@@ -121,5 +121,5 @@
 #ifndef WIN32
   myGlobals.debugMode = 0;
-  myGlobals.useSyslog = 0;
+  myGlobals.useSyslog = -1;
 #endif
 
--- ntop-current-starting/ntop.8	Fri Apr  5 16:05:23 2002
+++ ntop-current/ntop.8	Wed Apr 24 18:40:19 2002
@@ -76,5 +76,6 @@
 .RB [ -E | --enable-external-tools ]
 .RB [ -K | --enable-debug ]
-.RB [ -L | --enable-syslog ]
+.RB [ -L ]
+.RB [ -use-syslog <facility> ]
 
 Win32 option:
--- ntop-current-starting/ntop.txt	Tue Mar 26 17:05:09 2002
+++ ntop-current/ntop.txt	Wed Apr 24 18:40:42 2002
@@ -33,5 +33,5 @@
        [-d|--daemon]  [-i|--interface  <name>] [-u|--user <user>]
        [-E|--enable-external-tools]           [-K|--enable-debug]
-       [-L|--enable-syslog]
+       [-L] [--use-syslog <facility>]
 
        Win32 option:


[Attachment #4 (.)]
Thanks Burton,

I have "solved" with your help my problem, I have downloaded another GDBM
version (gdbm-1.8.0-20010126 from
http://www.textsure.net/~ela/download/MinGW/).
But I still have a problem, ntop is running properly, it could run during
severals hours. But sometimes it stops with the error message: "This program
has performed an illegal operation and will be shut down". 
Please, does this problem come from ntop or GDBM? (If it is possible to
know).
If this problem comes from ntop, I suppose that I should compile ntop with
the the 22Apr2002 snapshot and apply the patches. 

Cheers,

Christophe



-----Original Message-----
From: Burton M. Strauss III [mailto:Burton@ntopsupport.com]
Sent: 24 April 2002 23:00
To: ntop-dev
Cc: christophe.rahmouni
Subject: RE: [Ntop-dev] ntop on windows 98


There is so much difference between 2.0 and 2.0.99 (as we're working towards
the release of 2.1), that I couldn't begin to figure this out...

I would recommend you download the 22Apr2002 snapshot and apply the patches
I've posted. (If you can't find them in the archives, let me know
(privately) and I'll send them to you.

-----Burton

-----Original Message-----
From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
Of christophe.rahmouni@bt.com
Sent: Tuesday, April 23, 2002 5:54 AM
To: ntop-dev@unipi.it
Subject: [Ntop-dev] ntop on windows 98


Thank you very much Burton for your help.
More explaination:

1. OK.

2. I have used the file BUILD-MinGW.txt (attached) to build ntop.exe, so I
used gdbm-1.8.0-20010430.zip from http://sourceforge.net/projects/mingwrep,
I have also just tried with gdbm 1.8.0 2002-02-22 on page
http://sourceforge.net/project/showfiles.php?group_id=23617&release_id=76525
, but I obtain the same result. gdbm seems to be correctly installed
(testgdbm.exe is working).

3. My current directory is c:/cygwin/ntop/ntop, I have the rights to create
files.

4. Sorry for the error DnsCache.db and not Database.db, EXACT error message:
-------
$ ntop.exe
Wait please: ntop is coming up...
23/Apr/2002 10:27:05 Initializing IP services...
23/Apr/2002 10:27:05 Initializing GDBM...
23/Apr/2002 10:27:05 Database './dnsCache.db' open failed: unknown gdbm
errno
23/Apr/2002 10:27:05 Possible solution: please use '-P <directory>'
-------
Regardind the ntop source version it's the 2.0 (ntop-2.0-src.tgz) downloaded
from http://snapshot.ntop.org/, on Download->Stable, on the 18th of April
2002.

Where the problem(s) could come from?

Cheers,

Christophe



-----Original Message-----
From: Burton M. Strauss III [mailto:Burton@ntopsupport.com]
Sent: 22 April 2002 17:27
To: ntop-dev
Cc: christophe.rahmouni
Subject: RE: [Ntop-dev] ntop on windows 98

1. You should have your password - it's whatever YOU used to signup with...
besides, you can only post by sending a message to the list address.

2. Are you sure you have gdbm installed?  Correctly?  Which version?

3. What is the current directory? (do a cd command to check)  Do you have
rights to create files in that directory?  Otherwise you need to use the -P
parameter to point at a directory you do have rights to...

4. Cut & paste the EXACT error message - Database.db doesn't appear in ANY
of my versions of ntop...  in fact, what version are you running...  Please
see "HOWTO ask for help" at http://snapshot.ntop.org

-----Burton






-----Original Message-----
From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
Of christophe.rahmouni@bt.com
Sent: Monday, April 22, 2002 10:41 AM
To: ntop-dev@unipi.it
Subject: [Ntop-dev] ntop on windows 98


I have received the welcome Ntop-dev mailing list mail, so I post my
precedent mail to the mailing list:

Hi,

I allow me to post by this mail address, because I still don't have receive
my password to use subscribers-list.
I introduce me, I am a French student, and I am doing a placement within BT.
My actual work is to analyse the IP traffic for IP services over DVB-S
links. I am doing this with different DVB cards and under windows and
Linux(Debian). I am working now on windows 98, I used the Makefile.mingw
makefiles to compile the different libraries and ntop. I have now my
libgd.a, libgdchart.a, libpng.a, libz.a and the ntop.exe.
But when I try to use ntop, I have the output:

Wait please: ntop is coming up...
22/Apr/2002 15:10:45 Initializing IP services...
22/Apr/2002 15:10:45 Initializing GDBM...
22/Apr/2002 15:10:45 Database './Database.db' open failed: unknow gdbm errno
22/Apr/2002 15:10:45 Possible solution: please use '-P <directory>'

Someone could help me to solve this problem?

Cheers,

Christophe


_______________________________________________
Ntop-dev mailing list
Ntop-dev@unipi.it
http://listmanager.unipi.it/mailman/listinfo/ntop-dev


Received: (qmail 27606 invoked from network); 25 Apr 2002 16:53:16 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 25 Apr 2002 16:53:16 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from bstrauss3.attbi.com (12-239-131-178.client.attbi.com [12.239.131.178])
	by cache.unipi.it (8.11.6/8.11.6) with SMTP id g3PGrB226678
	for <ntop-dev@unipi.it>; Thu, 25 Apr 2002 18:53:11 +0200 (MEST)
Received: (qmail 9251 invoked from network); 25 Apr 2002 16:53:06 -0000
Received: from unknown (HELO swallowtailnew) (192.168.42.3)
  by 0 with SMTP; 25 Apr 2002 16:53:06 -0000
From: "Burton M. Strauss III" <Burton@ntopsupport.com>
To: <ntop-dev@Unipi.IT>
Cc: <ch@westend.com>
Subject: RE: [Ntop-dev] serialCache is growing too fast for my flash card :-(
Date: Thu, 25 Apr 2002 11:58:00 -0500
Message-ID: <JIEPJGFPFMFIGBNCPKGGAEFKCGAA.Burton@ntopsupport.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Importance: Normal
In-Reply-To: <20020421220522.GA11442@westend.com>
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

I think you're right, at least I don't see a purge.


      hash.c:   462     if(gdbm_store(myGlobals.serialCache, key_data, data_data, \
GDBM_REPLAC E) != 0)
      hash.c:   873       data_data = gdbm_fetch(myGlobals.serialCache, key_data);
initialize.c:   490     if(snprintf(tmpBuf, sizeof(tmpBuf), "%s/serialCache.db", \
myGlobals.db Path) < 0)
initialize.c:   494     myGlobals.serialCache = gdbm_open (tmpBuf, 0, GDBM_WRCREAT, \
00664, NU LL);
initialize.c:   496     if(myGlobals.serialCache == NULL) {
      ntop.c:   887     gdbm_close(myGlobals.serialCache);  myGlobals.serialCache = \
NULL;  globals.h:   116     GDBM_FILE gdbm_file, pwFile, eventFile, hostsInfoFile, \
addressCache, serialCache, prefsFile;

Hummm...  I think this is a cradle to grave (one run) # designed to consistently map \
a particular host.  So that if the host is seen again after being purged, it keeps \
the same #...

What's being stored (see addSerialMapping in hash.c) is key of hostSerial (which \
starts at 2 and grows by for each new host seen) from the HostTraffic structure with \
data of hostNumIpAddress (if != '\0') or ethAddressString.

[bstrauss@tigger dumpgdbm]$ ./dumpgdbm serialCache.db 105
       105: 00:20:40:08:42:42
[bstrauss@tigger dumpgdbm]$ ./dumpgdbm serialCache.db 106
       106: 216.148.227.69

Each entry is TINY... (an ip address in dotted quad or a mac address) and should only \
be created again if you've never seen that host before... What are you monitoring \
that you have 700K entries?

Yes, a periodic restart will help, as the file is recreated each time.

Here is a small program (I've tested it under Linux) that dumps either the whole file \
or a single record...

/* Simple gdbm database dump -
     Copyright (c) 2002 - Burton M. Strauss III (BStrauss@acm.org)
     Released under GPL v2
 */

#include <stdio.h>
#include <string.h>
#include <gdbm.h>
int main(int argc, char *argv[]) {
   GDBM_FILE dbfile;
   datum key, data;
   int recordCount = 0;

   if ( (argc < 2) || (argc > 3) ) {
      fprintf (stderr, "Usage: dumpgdbm file [key]\n\n");
      exit (1);
   }
   dbfile = gdbm_open (argv[1], 0, GDBM_READER, 0666, NULL);
   if (!dbfile) {
      fprintf (stderr, "Open file %s, error %d (%s) gdbm file.\n", argv[1],
                       gdbm_errno, gdbm_strerror(gdbm_errno));
      exit (2);
   }

   if (argv[2] == NULL) {
       key = gdbm_firstkey ( dbfile );
       while (key.dptr) {
           data =  gdbm_fetch ( dbfile, key );
           recordCount++;
           printf ("%10s: %s\n", key.dptr, data.dptr);
           free (data.dptr);
           key = gdbm_nextkey ( dbfile, key );
       }
       printf ("Records read: %d\n", recordCount);
    } else {
       key.dsize = strlen (argv[2]) + 1;
       key.dptr = argv[2];
       data = gdbm_fetch (dbfile, key);
       if (data.dptr) {
           printf ("%10s: %s\n", key.dptr, data.dptr);
           free (data.dptr);
       } else {
           printf ("Key %s not found.\n", argv[2]);
       }
   }
   gdbm_close (dbfile);
}

gcc -g -O2 -I/usr/include -I/usr/include/gdbm dumpgdbm.c  -L/usr/lib -lgdbm -o \
dumpgdbm


-----Original Message-----
From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
Of Christian Hammers
Sent: Sunday, April 21, 2002 5:05 PM
To: ntop-dev@unipi.it
Subject: [Ntop-dev] serialCache is growing too fast for my flash card
> -(


Hi

In var/ I have a file called serialCache.db that has grown to 19MB in the
last week. Doesn't sound too much but my router only has 256MB RAM and
a 128MB flash card inside that's filled up to 90%.

Does this file ever stop growing? What is it good for? Does a periodical
restart help? Any suggestions?

bye,

-christian-

--
Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
ch@westend.com     Internet & Security for Professionals    Fax 0241/911879
          WESTEND ist CISCO Systems Partner - Authorized Reseller

_______________________________________________
Ntop-dev mailing list
Ntop-dev@unipi.it
http://listmanager.unipi.it/mailman/listinfo/ntop-dev


Received: (qmail 27827 invoked from network); 25 Apr 2002 17:03:19 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 25 Apr 2002 17:03:19 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from bstrauss3.attbi.com (12-239-131-178.client.attbi.com [12.239.131.178])
	by cache.unipi.it (8.11.6/8.11.6) with SMTP id g3PH3E227081
	for <ntop-dev@unipi.it>; Thu, 25 Apr 2002 19:03:15 +0200 (MEST)
Received: (qmail 9330 invoked from network); 25 Apr 2002 17:03:09 -0000
Received: from unknown (HELO swallowtailnew) (192.168.42.3)
  by 0 with SMTP; 25 Apr 2002 17:03:09 -0000
From: "Burton M. Strauss III" <Burton@ntopsupport.com>
To: <ntop-dev@Unipi.IT>
Cc: <christophe.rahmouni@bt.com>
Subject: RE: [Ntop-dev] ntop on windows 98
Date: Thu, 25 Apr 2002 12:08:04 -0500
Message-ID: <JIEPJGFPFMFIGBNCPKGGIEFKCGAA.Burton@ntopsupport.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Importance: Normal
In-Reply-To: <5104D4DBC598D211B5FE0000F8FE7EB2144EA6CF@mbtlipnt02.btlabs.bt.co.uk>
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

I'm completely clueless why one MinGW gdbm version works and the other doesn't!  Just \
happy it works...

As to the crash - there are some known problems in 2.0... I really think you need to \
try the newer version.

-----Burton




-----Original Message-----
From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
Of christophe.rahmouni@bt.com
Sent: Thursday, April 25, 2002 11:04 AM
To: ntop-dev@Unipi.IT
Subject: RE: [Ntop-dev] ntop on windows 98


Thanks Burton,

I have "solved" with your help my problem, I have downloaded another GDBM
version (gdbm-1.8.0-20010126 from
http://www.textsure.net/~ela/download/MinGW/).
But I still have a problem, ntop is running properly, it could run during
severals hours. But sometimes it stops with the error message: "This program
has performed an illegal operation and will be shut down". 
Please, does this problem come from ntop or GDBM? (If it is possible to
know).
If this problem comes from ntop, I suppose that I should compile ntop with
the the 22Apr2002 snapshot and apply the patches. 

Cheers,

Christophe



-----Original Message-----
From: Burton M. Strauss III [mailto:Burton@ntopsupport.com]
Sent: 24 April 2002 23:00
To: ntop-dev
Cc: christophe.rahmouni
Subject: RE: [Ntop-dev] ntop on windows 98


There is so much difference between 2.0 and 2.0.99 (as we're working towards
the release of 2.1), that I couldn't begin to figure this out...

I would recommend you download the 22Apr2002 snapshot and apply the patches
I've posted. (If you can't find them in the archives, let me know
(privately) and I'll send them to you.

-----Burton

-----Original Message-----
From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
Of christophe.rahmouni@bt.com
Sent: Tuesday, April 23, 2002 5:54 AM
To: ntop-dev@unipi.it
Subject: [Ntop-dev] ntop on windows 98


Thank you very much Burton for your help.
More explaination:

1. OK.

2. I have used the file BUILD-MinGW.txt (attached) to build ntop.exe, so I
used gdbm-1.8.0-20010430.zip from http://sourceforge.net/projects/mingwrep,
I have also just tried with gdbm 1.8.0 2002-02-22 on page
http://sourceforge.net/project/showfiles.php?group_id=23617&release_id=76525
, but I obtain the same result. gdbm seems to be correctly installed
(testgdbm.exe is working).

3. My current directory is c:/cygwin/ntop/ntop, I have the rights to create
files.

4. Sorry for the error DnsCache.db and not Database.db, EXACT error message:
-------
$ ntop.exe
Wait please: ntop is coming up...
23/Apr/2002 10:27:05 Initializing IP services...
23/Apr/2002 10:27:05 Initializing GDBM...
23/Apr/2002 10:27:05 Database './dnsCache.db' open failed: unknown gdbm
errno
23/Apr/2002 10:27:05 Possible solution: please use '-P <directory>'
-------
Regardind the ntop source version it's the 2.0 (ntop-2.0-src.tgz) downloaded
from http://snapshot.ntop.org/, on Download->Stable, on the 18th of April
2002.

Where the problem(s) could come from?

Cheers,

Christophe



-----Original Message-----
From: Burton M. Strauss III [mailto:Burton@ntopsupport.com]
Sent: 22 April 2002 17:27
To: ntop-dev
Cc: christophe.rahmouni
Subject: RE: [Ntop-dev] ntop on windows 98

1. You should have your password - it's whatever YOU used to signup with...
besides, you can only post by sending a message to the list address.

2. Are you sure you have gdbm installed?  Correctly?  Which version?

3. What is the current directory? (do a cd command to check)  Do you have
rights to create files in that directory?  Otherwise you need to use the -P
parameter to point at a directory you do have rights to...

4. Cut & paste the EXACT error message - Database.db doesn't appear in ANY
of my versions of ntop...  in fact, what version are you running...  Please
see "HOWTO ask for help" at http://snapshot.ntop.org

-----Burton






-----Original Message-----
From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
Of christophe.rahmouni@bt.com
Sent: Monday, April 22, 2002 10:41 AM
To: ntop-dev@unipi.it
Subject: [Ntop-dev] ntop on windows 98


I have received the welcome Ntop-dev mailing list mail, so I post my
precedent mail to the mailing list:

Hi,

I allow me to post by this mail address, because I still don't have receive
my password to use subscribers-list.
I introduce me, I am a French student, and I am doing a placement within BT.
My actual work is to analyse the IP traffic for IP services over DVB-S
links. I am doing this with different DVB cards and under windows and
Linux(Debian). I am working now on windows 98, I used the Makefile.mingw
makefiles to compile the different libraries and ntop. I have now my
libgd.a, libgdchart.a, libpng.a, libz.a and the ntop.exe.
But when I try to use ntop, I have the output:

Wait please: ntop is coming up...
22/Apr/2002 15:10:45 Initializing IP services...
22/Apr/2002 15:10:45 Initializing GDBM...
22/Apr/2002 15:10:45 Database './Database.db' open failed: unknow gdbm errno
22/Apr/2002 15:10:45 Possible solution: please use '-P <directory>'

Someone could help me to solve this problem?

Cheers,

Christophe


_______________________________________________
Ntop-dev mailing list
Ntop-dev@unipi.it
http://listmanager.unipi.it/mailman/listinfo/ntop-dev

_______________________________________________
Ntop-dev mailing list
Ntop-dev@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-dev


Received: (qmail 28829 invoked from network); 25 Apr 2002 19:34:53 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 25 Apr 2002 19:34:53 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from bstrauss3.attbi.com (12-239-131-178.client.attbi.com [12.239.131.178])
	by cache.unipi.it (8.11.6/8.11.6) with SMTP id g3PJYm203731
	for <ntop-dev@unipi.it>; Thu, 25 Apr 2002 21:34:48 +0200 (MEST)
Received: (qmail 10544 invoked from network); 25 Apr 2002 19:34:43 -0000
Received: from unknown (HELO swallowtailnew) (192.168.42.3)
  by 0 with SMTP; 25 Apr 2002 19:34:43 -0000
From: "Burton M. Strauss III" <Burton@ntopsupport.com>
To: <ntop-dev@Unipi.IT>
Cc: "Luca Deri" <deri@ntop.org>, <ch@westend.com>
Subject: RE: [Ntop-dev] [patch] Final working scanTimedoutTCPSessions patch
Date: Thu, 25 Apr 2002 14:39:38 -0500
Message-ID: <JIEPJGFPFMFIGBNCPKGGGEGACGAA.Burton@ntopsupport.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <20020418104505.GC10400@westend.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Importance: Normal
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

I think that the mail delay has bitten us again...  It LOOKS like this patch is \
already in the code...

in hash.c's void purgeIdleHosts(int actDevice) {} is this:

  scanTimedoutTCPSessions(actDevice); /* let's check timedout sessions too */

Which addresses my concern about putting it in the capture loop (it's in ntop.c's \
packetCaptureLoop() {}, but that's only active if not multithread).

All I find of issue is two small items in sessions.c:

Around 329, lastSeend s/b LastSeen
Around 345, #ifndef DEBUG s/b #ifdef DEBUG


While I'm on that pony:

address.c @ 1430: #ifndef DEBUG s/b #ifdef DEBUG

hash.c @ 324: delete /* #define DEBUG */
       @ 336: #ifndef DEBUG s/b #ifdef DEBUG
       @ 427: #ifndef DEBUG s/b #ifdef DEBUG
       @ 434: delete #undef DEBUG

ntop.c @ 646: #ifndef DEBUG s/b #ifdef DEBUG

sql.c @ 351: #ifndef DEBUG s/b #ifdef DEBUG

traffic.c @ 184: #ifndef DEBUG s/b #ifdef DEBUG
          @ 464: #ifndef DEBUG s/b #ifdef DEBUG
          @ 474: #ifndef DEBUG s/b #ifdef DEBUG
          @ 548: #ifndef DEBUG s/b #ifdef DEBUG

webInterface.c @ 105: #ifndef DEBUG s/b #ifdef DEBUG


-----Burton


-----Original Message-----
From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
Of Christian Hammers
Sent: Thursday, April 18, 2002 5:45 AM
To: ntop-dev@unipi.it
Cc: Luca Deri
Subject: [Ntop-dev] [patch] Final working scanTimedoutTCPSessions patch


Hi

So, this patch lets ntop scan for timedout tcp sessions again and
export correct netflow data. It ran stable for >24h so no multithreading
problems and exports 99.99% the amount of bytes that our cisco does, too.

Please note, that I used lowered timeout values, don't know if it would
make sense to change them in upstream. Maybe I increase them a bit myself,
too:

#define SESSION_SCAN_DELAY        10        /* 60 secs */
#define IDLE_HOST_PURGE_TIMEOUT  60    /*   30 minutes */
#define IDLE_SESSION_TIMEOUT     20    /*   10 minutes */

The .diff is agains the CVS from 3 days ago (don't like to update as it's
running so well now...)

The only thing that could really improved now is that UDP has no kind
of "sessions" although with a reasonable low timeout this could be
archived, too, and would lead to a lower flow export rate. Just for the
TODO list :)

bye,

-christian-

--
Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
ch@westend.com     Internet & Security for Professionals    Fax 0241/911879
          WESTEND ist CISCO Systems Partner - Authorized Reseller


Received: (qmail 28654 invoked from network); 25 Apr 2002 19:09:51 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 25 Apr 2002 19:09:51 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g3PJ9j202509
	for <ntop-dev@unipi.it>; Thu, 25 Apr 2002 21:09:45 +0200 (MEST)
Received: from [192.168.0.2] (cbk01.unipi.it [131.114.188.48])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g3PJ9bq08546
	for <ntop-dev@unipi.it>; Thu, 25 Apr 2002 21:09:37 +0200
X-Authentication-Warning: jake.unipi.it: Host cbk01.unipi.it [131.114.188.48] claimed \
                to be [192.168.0.2]
User-Agent: Microsoft-Entourage/10.0.0.1309
Date: Thu, 25 Apr 2002 19:43:24 +0200
Subject: Re: [Ntop-dev] No graphics with SSL
From: Luca Deri <deri@ntop.org>
To: <ntop-dev@Unipi.IT>
Message-ID: <B8EE0CDC.234C%deri@ntop.org>
In-Reply-To: <JIEPJGFPFMFIGBNCPKGGEEINCFAA.BStrauss3@attbi.com>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

It's because your browser does not support gzip image compression under
HTTPS.

Cheers, Luca

On 12-04-2002 22:46, "Burton M. Strauss III" <BStrauss3@attbi.com> wrote:

> I can reproduce it (Linux, 12Apr2002 snapshot), but no clue why...
> 
> Anybody???
> 
> -----Burton
> 
> 
> -----Original Message-----
> From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
> Of Jesper
> Sent: Tuesday, April 09, 2002 3:24 PM
> To: ntop-dev@unipi.it
> Subject: [Ntop-dev] No graphics with SSL
> 
> 
> I not sure whether this has been reported.
> I have build ntop from ste snapshot dated 9/4.
> When i connect via http praphics (pie charts etc shows up correctly).
> When i use https the graphics is missing.
> Regards
> Jesper
> _______________________________________________
> Ntop-dev mailing list
> Ntop-dev@unipi.it
> http://listmanager.unipi.it/mailman/listinfo/ntop-dev
> _______________________________________________
> Ntop-dev mailing list
> Ntop-dev@unipi.it
> http://listmanager.unipi.it/mailman/listinfo/ntop-dev
> 


Received: (qmail 49739 invoked from network); 27 Apr 2002 13:20:13 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 27 Apr 2002 13:20:13 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from bstrauss3.attbi.com (12-239-131-178.client.attbi.com [12.239.131.178])
	by cache.unipi.it (8.11.6/8.11.6) with SMTP id g3RDK5219276
	for <ntop-dev@unipi.it>; Sat, 27 Apr 2002 15:20:06 +0200 (MEST)
Received: (qmail 15695 invoked from network); 27 Apr 2002 13:20:01 -0000
Received: from unknown (HELO swallowtailnew) (192.168.42.3)
  by 0 with SMTP; 27 Apr 2002 13:20:01 -0000
From: "Burton M. Strauss III" <Burton@ntopsupport.com>
To: "Ntop-Patches" <patch@ntop.org>, "Ntop-Dev" <ntop-dev@Unipi.IT>
Date: Sat, 27 Apr 2002 08:23:24 -0500
Message-ID: <JIEPJGFPFMFIGBNCPKGGIEHOCGAA.Burton@ntopsupport.com>
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_000E_01C1EDC4.CCA45820"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Importance: Normal
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] PATCH fixup initGdbm so intop can run
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

This is a multi-part message in MIME format.



Luca:

Attached is a minimal patch to ntop so that the initGdbm call in intop works.  It's \
this or making intop support the -P (myGlobals.dbPath) parameter...

-----Burton

Ref: BMS0062
Level: Medium (HIGH for intop)


["BMS0062-intop-initGdbm-fix.patch" (application/octet-stream)]

--- ntop-current-starting/globals-core.h	Fri Apr 26 03:15:35 2002
+++ ntop-current/globals-core.h	Sat Apr 27 07:41:33 2002
@@ -100,5 +100,5 @@
 extern void resetStats(void);
 extern int initGlobalValues(void);
-extern void initGdbm();
+extern void initGdbm(char *directory);
 extern void initThreads();
 extern void initApps(void);
--- ntop-current-starting/main.c	Sat Apr 20 04:31:08 2002
+++ ntop-current/main.c	Sat Apr 27 07:41:47 2002
@@ -710,5 +710,5 @@
 #endif /* MICRO_NTOP */
 
-  initGdbm();  
+  initGdbm(NULL);  
 
 #ifndef WIN32
--- ntop-current-starting/initialize.c	Fri Apr 26 03:15:36 2002
+++ ntop-current/initialize.c	Sat Apr 27 07:50:31 2002
@@ -458,5 +458,11 @@
 /* ******************************* */
 
-void initGdbm() {
+void initGdbm(char *directory) {
+
+ /* directory is used my intop to specify where to open the files.
+    If called with NULL, use the myGlobals.dbPath value instead
+    (Minor fix for intop - Burton Strauss (BStrauss@acm.org) - Apr2002)
+  */
+
   char tmpBuf[200];
 #ifdef FALLBACK
@@ -467,5 +472,5 @@
 
   /* Courtesy of Andreas Pfaller <apfaller@yahoo.com.au>. */
-  if(snprintf(tmpBuf, sizeof(tmpBuf), "%s/addressCache.db", myGlobals.dbPath) < 0)
+  if(snprintf(tmpBuf, sizeof(tmpBuf), "%s/addressCache.db", directory != NULL ? \
directory : myGlobals.dbPath) < 0)  BufferTooShort();
 
@@ -482,5 +487,7 @@
 #endif
 
-    traceEvent(TRACE_ERROR, "Possible solution: please use '-P <directory>'\n");
+    if (directory == NULL) {
+        traceEvent(TRACE_ERROR, "Possible solution: please use '-P <directory>'\n");
+    }
     exit(-1);
   }
@@ -488,5 +495,5 @@
   /* ************************************************ */
 
-  if(snprintf(tmpBuf, sizeof(tmpBuf), "%s/serialCache.db", myGlobals.dbPath) < 0)
+  if(snprintf(tmpBuf, sizeof(tmpBuf), "%s/serialCache.db", directory != NULL ? \
directory : myGlobals.dbPath) < 0)  BufferTooShort();
 
@@ -507,5 +514,5 @@
   /* ************************************************ */
 
-  if(snprintf(tmpBuf, sizeof(tmpBuf), "%s/prefsCache.db", myGlobals.dbPath) < 0)
+  if(snprintf(tmpBuf, sizeof(tmpBuf), "%s/prefsCache.db", directory != NULL ? \
directory : myGlobals.dbPath) < 0)  BufferTooShort();
 
@@ -526,5 +533,5 @@
 
   /* Courtesy of Andreas Pfaller <apfaller@yahoo.com.au>. */
-  if(snprintf(tmpBuf, sizeof(tmpBuf), "%s/dnsCache.db", myGlobals.dbPath) < 0)
+  if(snprintf(tmpBuf, sizeof(tmpBuf), "%s/dnsCache.db", directory != NULL ? \
directory : myGlobals.dbPath) < 0)  BufferTooShort();
 
@@ -544,5 +551,5 @@
     exit(-1);
   } else {
-    if(snprintf(tmpBuf, sizeof(tmpBuf), "%s/ntop_pw.db", myGlobals.dbPath) < 0)
+    if(snprintf(tmpBuf, sizeof(tmpBuf), "%s/ntop_pw.db", directory != NULL ? \
directory : myGlobals.dbPath) < 0)  BufferTooShort();
     myGlobals.pwFile = gdbm_open (tmpBuf, 0, GDBM_WRCREAT, 00664, NULL);
@@ -553,5 +560,5 @@
     }
 
-    if(snprintf(tmpBuf, sizeof(tmpBuf), "%s/hostsInfo.db", myGlobals.dbPath) < 0)
+    if(snprintf(tmpBuf, sizeof(tmpBuf), "%s/hostsInfo.db", directory != NULL ? \
directory : myGlobals.dbPath) < 0)  BufferTooShort();
     myGlobals.hostsInfoFile = gdbm_open (tmpBuf, 0, GDBM_WRCREAT, 00664, NULL);


[Attachment #8 (.)]
Well but in that case neither iexplorer 6.0 nor Netscape 6 do which could
indicate that one should not gzip under ssl !?

> -----Original Message-----
> From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
> Of Luca Deri
> Sent: 25. april 2002 19:43
> To: ntop-dev@Unipi.IT
> Subject: Re: [Ntop-dev] No graphics with SSL
> 
> 
> It's because your browser does not support gzip image compression under
> HTTPS.
> 
> Cheers, Luca
> 
> On 12-04-2002 22:46, "Burton M. Strauss III" <BStrauss3@attbi.com> wrote:
> 
> > I can reproduce it (Linux, 12Apr2002 snapshot), but no clue why...
> > 
> > Anybody???
> > 
> > -----Burton
> > 
> > 
> > -----Original Message-----
> > From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
> > Of Jesper
> > Sent: Tuesday, April 09, 2002 3:24 PM
> > To: ntop-dev@unipi.it
> > Subject: [Ntop-dev] No graphics with SSL
> > 
> > 
> > I not sure whether this has been reported.
> > I have build ntop from ste snapshot dated 9/4.
> > When i connect via http praphics (pie charts etc shows up correctly).
> > When i use https the graphics is missing.
> > Regards
> > Jesper
> > _______________________________________________
> > Ntop-dev mailing list
> > Ntop-dev@unipi.it
> > http://listmanager.unipi.it/mailman/listinfo/ntop-dev
> > _______________________________________________
> > Ntop-dev mailing list
> > Ntop-dev@unipi.it
> > http://listmanager.unipi.it/mailman/listinfo/ntop-dev
> > 
> 
> _______________________________________________
> Ntop-dev mailing list
> Ntop-dev@unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop-dev
> 


Received: (qmail 65607 invoked from network); 29 Apr 2002 08:10:58 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 29 Apr 2002 08:10:58 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from genesis.westend.com (genesis.westend.com [212.117.67.2])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g3T8Al206914
	for <ntop-dev@unipi.it>; Mon, 29 Apr 2002 10:10:47 +0200 (MEST)
Received: (from ch@localhost)
	by genesis.westend.com (8.8.6/8.8.6) id KAA04044;
	Mon, 29 Apr 2002 10:10:46 +0200 (MET DST)
Date: Mon, 29 Apr 2002 10:10:43 +0200
From: Christian Hammers <ch@westend.com>
To: ntop-dev@Unipi.IT
Subject: Re: [Ntop-dev] serialCache is growing too fast for my flash card :-(
Message-ID: <20020429081043.GB772@westend.com>
References: <20020421220522.GA11442@westend.com> \
                <JIEPJGFPFMFIGBNCPKGGAEFKCGAA.Burton@ntopsupport.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <JIEPJGFPFMFIGBNCPKGGAEFKCGAA.Burton@ntopsupport.com>
User-Agent: Mutt/1.3.25i
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Hello

On Thu, Apr 25, 2002 at 11:58:00AM -0500, Burton M. Strauss III wrote:
> Each entry is TINY... (an ip address in dotted quad or a mac address) and should \
> only be created again if you've never seen that host before... What are you \
> monitoring that you have 700K entries?
My current directories are smaller again. Maybe it was related to the
fact that earlier versions of ntop didn't purge sessions!

thanks,

-christian-

-- 
Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
ch@westend.com     Internet & Security for Professionals    Fax 0241/911879
          WESTEND ist CISCO Systems Partner - Authorized Reseller


Received: (qmail 70169 invoked from network); 29 Apr 2002 15:46:16 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 29 Apr 2002 15:46:16 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from bstrauss3.attbi.com (12-239-131-178.client.attbi.com [12.239.131.178])
	by cache.unipi.it (8.11.6/8.11.6) with SMTP id g3TFk4227141
	for <ntop-dev@unipi.it>; Mon, 29 Apr 2002 17:46:05 +0200 (MEST)
Received: (qmail 14349 invoked from network); 29 Apr 2002 15:45:58 -0000
Received: from unknown (HELO swallowtailnew) (192.168.42.3)
  by 0 with SMTP; 29 Apr 2002 15:45:58 -0000
From: "Burton M. Strauss III" <Burton@ntopsupport.com>
To: <ntop-dev@Unipi.IT>
Cc: <ch@westend.com>
Subject: RE: [Ntop-dev] serialCache is growing too fast for my flash card :-(
Date: Mon, 29 Apr 2002 10:49:40 -0500
Message-ID: <JIEPJGFPFMFIGBNCPKGGCEIKCGAA.Burton@ntopsupport.com>
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_0010_01C1EF6B.906BFD60"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <20020429081043.GB772@westend.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Importance: Normal
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

This is a multi-part message in MIME format.



Doubtful.  I don't see ANY logic in ntop to purge the serial cache.  You'll basically \
have at least one entry for every single IP address and (local) mac address that ntop \
knows about.

The counter is incremented in the !hostFound leg in getHostInfo - perhaps you have \
hosts aging out of the structures then re-appearing, so they're treated as new??  \
No... wait... that code is wrong...

Try the attached patch - it should prevent the incorrect duplicate entries.  LET ME \
KNOW, so I can forward it on to Luca...

Also, if you get a huge file again, you can use the attached little program to dump \
stuff from it. With some sort commands you'll then get a feel for what's in the file.

Remember, the serialCache.db file is recreated on startup...

-----Burton





-----Original Message-----
From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
Of Christian Hammers
Sent: Monday, April 29, 2002 3:11 AM
To: ntop-dev@Unipi.IT
Subject: Re: [Ntop-dev] serialCache is growing too fast for my flash
card :-(


Hello

On Thu, Apr 25, 2002 at 11:58:00AM -0500, Burton M. Strauss III wrote:
> Each entry is TINY... (an ip address in dotted quad or a mac address) and should \
> only be created again if you've never seen that host before... What are you \
> monitoring that you have 700K entries?
My current directories are smaller again. Maybe it was related to the
fact that earlier versions of ntop didn't purge sessions!

thanks,

-christian-

--
Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
ch@westend.com     Internet & Security for Professionals    Fax 0241/911879
          WESTEND ist CISCO Systems Partner - Authorized Reseller

_______________________________________________
Ntop-dev mailing list
Ntop-dev@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-dev


["dumpgdbm.c" (application/octet-stream)]

/* Simple gdbm database dump -
     Copyright (c) 2002 - Burton M. Strauss III (BStrauss@acm.org)
     Released under GPL v2
 */

#include <stdio.h>
#include <string.h>
#include <gdbm.h>
int main(int argc, char *argv[]) {
   GDBM_FILE dbfile;
   datum key, data;
   int recordCount = 0;

   if ( (argc < 2) || (argc > 3) ) {
      fprintf (stderr, "Usage: dumpgdbm file [key]\n\n");
      exit (1);
   }
   dbfile = gdbm_open (argv[1], 0, GDBM_READER, 0666, NULL);
   if (!dbfile) {
      fprintf (stderr, "Open file %s, error %d (%s) gdbm file.\n", argv[1],
                       gdbm_errno, gdbm_strerror(gdbm_errno));
      exit (2);
   }

   if (argv[2] == NULL) {
       key = gdbm_firstkey ( dbfile );
       while (key.dptr) {
           data =  gdbm_fetch ( dbfile, key );
           recordCount++;
           printf ("%10s: %s\n", key.dptr, data.dptr);
           free (data.dptr);
           key = gdbm_nextkey ( dbfile, key );
       }
       printf ("Records read: %d\n", recordCount);
    } else {
       key.dsize = strlen (argv[2]) + 1;
       key.dptr = argv[2];
       data = gdbm_fetch (dbfile, key);
       if (data.dptr) {
           printf ("%10s: %s\n", key.dptr, data.dptr);
           free (data.dptr);
       } else {
           printf ("Key %s not found.\n", argv[2]);
       }
   }
   gdbm_close (dbfile);
}


["dumpgdbm.c" (application/octet-stream)]

/* Simple gdbm database dump -
     Copyright (c) 2002 - Burton M. Strauss III (BStrauss@acm.org)
     Released under GPL v2
 */

#include <stdio.h>
#include <string.h>
#include <gdbm.h>
int main(int argc, char *argv[]) {
   GDBM_FILE dbfile;
   datum key, data;
   int recordCount = 0;

   if ( (argc < 2) || (argc > 3) ) {
      fprintf (stderr, "Usage: dumpgdbm file [key]\n\n");
      exit (1);
   }
   dbfile = gdbm_open (argv[1], 0, GDBM_READER, 0666, NULL);
   if (!dbfile) {
      fprintf (stderr, "Open file %s, error %d (%s) gdbm file.\n", argv[1],
                       gdbm_errno, gdbm_strerror(gdbm_errno));
      exit (2);
   }

   if (argv[2] == NULL) {
       key = gdbm_firstkey ( dbfile );
       while (key.dptr) {
           data =  gdbm_fetch ( dbfile, key );
           recordCount++;
           printf ("%10s: '%s'\n", key.dptr, data.dptr);
           free (data.dptr);
           key = gdbm_nextkey ( dbfile, key );
       }
       printf ("Records read: %d\n", recordCount);
    } else {
       key.dsize = strlen (argv[2]) + 1;
       key.dptr = argv[2];
       data = gdbm_fetch (dbfile, key);
       if (data.dptr) {
           printf ("%10s: '%s'\n", key.dptr, data.dptr);
           free (data.dptr);
       } else {
           printf ("Key %s not found.\n", argv[2]);
       }
   }
   gdbm_close (dbfile);
}


["BMS0063-hashc-hostfound-flag-problem.patch" (application/octet-stream)]

--- ntop-current/hash.c.save	Mon Apr 29 10:32:00 2002
+++ ntop-current/hash.c	Mon Apr 29 10:32:25 2002
@@ -496,5 +496,4 @@
 
     if((idx != myGlobals.broadcastEntryIdx) && (idx != myGlobals.otherHostEntryIdx)) {
-	u_int16_t hostFound = 0;  /* This is the same type as the one of HashList */
 
 	if(myGlobals.device[actualDeviceId].hashList[idx] != NULL) {

[Attachment #14 (.)]
Hi

Which version is wanted? (lastest snapshot tarball, CVS seems to be down)

main.c#120
  { "use-syslog",                       no_argument,       NULL, 'L' },

ntop.8#78
.RB [ -L | --enable-syslog ]


bye,

-christian-



-- 
Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
ch@westend.com     Internet & Security for Professionals    Fax 0241/911879
          WESTEND ist CISCO Systems Partner - Authorized Reseller


Received: (qmail 79012 invoked from network); 30 Apr 2002 14:40:56 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 30 Apr 2002 14:40:56 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from bstrauss3.attbi.com (12-239-131-178.client.attbi.com [12.239.131.178])
	by cache.unipi.it (8.11.6/8.11.6) with SMTP id g3UEei226200
	for <ntop-dev@unipi.it>; Tue, 30 Apr 2002 16:40:45 +0200 (MEST)
Received: (qmail 11066 invoked from network); 30 Apr 2002 14:40:37 -0000
Received: from unknown (HELO swallowtailnew) (192.168.42.3)
  by 0 with SMTP; 30 Apr 2002 14:40:37 -0000
From: "Burton M. Strauss III" <Burton@ntopsupport.com>
To: <ntop-dev@Unipi.IT>
Cc: <ch@westend.com>
Subject: RE: [Ntop-dev] --use-syslog vs. --enable-syslog
Date: Tue, 30 Apr 2002 09:44:28 -0500
Message-ID: <JIEPJGFPFMFIGBNCPKGGEEKBCGAA.Burton@ntopsupport.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
In-Reply-To: <20020430141501.GA15477@westend.com>
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

--use-syslog is the right value

The source always wins... (vs. doc)

Within the source, processing logic always wins... (vs. comments).  Routines
like usage() which are printed when the user mungs the input are comments...

I'm working on a patch to allow logging to other facilities than just "daemon" -
it's in Luca's lap to check if he's ok w/ the design.  Anyway, as part of that
I'm correcting the error in the usage() routine.

-----Burton



-----Original Message-----
From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
Of Christian Hammers
Sent: Tuesday, April 30, 2002 9:15 AM
To: ntop-dev@Unipi.IT
Subject: [Ntop-dev] --use-syslog vs. --enable-syslog


Hi

Which version is wanted? (lastest snapshot tarball, CVS seems to be down)

main.c#120
  { "use-syslog",                       no_argument,       NULL, 'L' },

ntop.8#78
.RB [ -L | --enable-syslog ]


bye,

-christian-



--
Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
ch@westend.com     Internet & Security for Professionals    Fax 0241/911879
          WESTEND ist CISCO Systems Partner - Authorized Reseller

_______________________________________________
Ntop-dev mailing list
Ntop-dev@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-dev


Received: (qmail 98170 invoked from network); 2 May 2002 09:21:59 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 2 May 2002 09:21:59 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from genesis.westend.com (genesis.westend.com [212.117.67.2])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g429Li226187
	for <ntop-dev@unipi.it>; Thu, 2 May 2002 11:21:44 +0200 (MEST)
Received: (from ch@localhost)
	by genesis.westend.com (8.8.6/8.8.6) id LAA12280;
	Thu, 2 May 2002 11:19:18 +0200 (MET DST)
Date: Thu, 2 May 2002 11:19:14 +0200
From: Christian Hammers <ch@westend.com>
To: ntop-dev@Unipi.IT
Message-ID: <20020502091914.GB26241@westend.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.25i
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] PURGE_HOSTS_DELAY vs. SESSION_SCAN_DELAY
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Hello

I found a bug where I am not sure if it's only wrong documented or if
it's not coded as intented :)

Quoting ntop.h:
> /* Timedout sessions are scanned each SESSION_SCAN_DELAY seconds */
> #define SESSION_SCAN_DELAY        60        /* 60 secs */
> #define PURGE_HOSTS_DELAY         60        /* 5 mins  */

but currently scanTimedoutTCPSessions are in hash.c in the function
> void purgeIdleHosts(int actDevice) {
which has the statement
> if(startTime < (lastPurgeTime[actDevice]+PURGE_HOSTS_DELAY))
>    return; /* Too short */
The original SESSION_SCAN_DELAY variable is only used in the
non-multithread version.

bye,

-christian-

-- 
Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
ch@westend.com     Internet & Security for Professionals    Fax 0241/911879
          WESTEND ist CISCO Systems Partner - Authorized Reseller


Received: (qmail 5201 invoked from network); 2 May 2002 20:47:53 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 2 May 2002 20:47:53 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from bstrauss3.attbi.com (12-239-131-178.client.attbi.com [12.239.131.178])
	by cache.unipi.it (8.11.6/8.11.6) with SMTP id g42Klb205146
	for <ntop-dev@unipi.it>; Thu, 2 May 2002 22:47:37 +0200 (MEST)
Received: (qmail 17708 invoked from network); 2 May 2002 20:47:30 -0000
Received: from unknown (HELO swallowtailnew) (192.168.42.3)
  by 0 with SMTP; 2 May 2002 20:47:30 -0000
From: "Burton M. Strauss III" <Burton@ntopsupport.com>
To: <ntop-dev@Unipi.IT>
Cc: <ch@westend.com>
Subject: RE: [Ntop-dev] PURGE_HOSTS_DELAY vs. SESSION_SCAN_DELAY
Date: Thu, 2 May 2002 15:51:14 -0500
Message-ID: <JIEPJGFPFMFIGBNCPKGGGEOFCGAA.Burton@ntopsupport.com>
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_0017_01C1F1F1.30AC38D0"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
In-Reply-To: <20020502091914.GB26241@westend.com>
Importance: Normal
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

This is a multi-part message in MIME format.


It's not the bug you think it is!

First off, remember that the purge doesn't free everything, just up to
MAX_NUM_PURGED_HOSTS (to give something of an upper bound on time used per
interval).  Second, the purge is a lot like Java's garbage collection -
necessary to have sometimes, but not at any specific hard-real-time interval...
(So, what I'm saying is that NOT running it isn't a catastrophe, except for
memory usage - it won't affect the accuracy of ntop's key data)


The code for the multithreaded version is -abstracted- this:

scanIdleLoop() {
   sleep(60);
   purgeIdleHosts() {
       updateDeviceThpt(actDevice);
       if(startTime < (lastPurgeTime[actDevice]+PURGE_HOSTS_DELAY)) return;
(else) ...do the purge...
       scanTimedoutTCPSessions();
   }
}

The 60 (seconds) is to drive the updateDeviceThpt calculations once per minute.
And, once every 5 cycles (300s or 5m), it does the purge...


For the mono-threaded version, there is no mass purge!  That's right, no calls
to purgeIdleHosts...  That's fine, the meat is in freeHostInfo anyway.  Oops, no
calls there either...

I think that's a bug...

Probably, the code in packetCaptureLoop() (the single threaded main loop) should
have something for purging hosts like it does for tcp sessions.  Maybe with
something so that it doesn't do ALL the purges each second...

Is anyone actually running single-threaded, who can test the attached patch?  I
mean it runs and seems to purge, but I only ran it a few tens of minutes...


-----Burton


-----Original Message-----
From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
Of Christian Hammers
Sent: Thursday, May 02, 2002 4:19 AM
To: ntop-dev@Unipi.IT
Subject: [Ntop-dev] PURGE_HOSTS_DELAY vs. SESSION_SCAN_DELAY


Hello

I found a bug where I am not sure if it's only wrong documented or if
it's not coded as intented :)

Quoting ntop.h:
> /* Timedout sessions are scanned each SESSION_SCAN_DELAY seconds */
> #define SESSION_SCAN_DELAY        60        /* 60 secs */
> #define PURGE_HOSTS_DELAY         60        /* 5 mins  */

but currently scanTimedoutTCPSessions are in hash.c in the function
> void purgeIdleHosts(int actDevice) {
which has the statement

>    return; /* Too short */
The original SESSION_SCAN_DELAY variable is only used in the
non-multithread version.

bye,

-christian-

--
Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
ch@westend.com     Internet & Security for Professionals    Fax 0241/911879
          WESTEND ist CISCO Systems Partner - Authorized Reseller

_______________________________________________
Ntop-dev mailing list
Ntop-dev@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

["BMS0066-singlethread.patch" (application/octet-stream)]

--- ntop-current-starting/ntop.h	Fri Apr 26 17:05:11 2002
+++ ntop-current/ntop.h	Thu May  2 14:43:41 2002
@@ -658,11 +655,4 @@
 } PacketInformation;
 
-typedef struct hash_list {
-  u_int16_t idx;          /* Index of this entry in hostTraffic */
-  struct hash_list *next;
-} HashList;
-
-#define HASH_LIST_SIZE    ((u_int16_t)-1) /* Static hash size */
-
 # if defined(HAVE_OPENSSL)
 #  define THREAD_MODE "MT (SSL)"
@@ -690,4 +680,10 @@
 #endif /* ! MULTITHREADED */
 
+typedef struct hash_list {
+  u_int16_t idx;          /* Index of this entry in hostTraffic */
+  struct hash_list *next;
+} HashList;
+
+#define HASH_LIST_SIZE    ((u_int16_t)-1) /* Static hash size */
 
 #define PACKET_QUEUE_LENGTH     2048
--- ntop-current-starting/ntop.c	Thu Apr 25 17:05:14 2002
+++ ntop-current/ntop.c	Thu May  2 15:01:24 2002
@@ -687,5 +689,5 @@
 
   for(;;) {
-    short justRefreshed;
+    short loopItem = -1;
     int rc;
 
@@ -715,15 +717,17 @@
 
     if(myGlobals.actTime > (*lastTime)) {
-      if(myGlobals.nextSessionTimeoutScan < myGlobals.actTime) {
-	/* It's time to check for timeout sessions */
-	scanTimedoutTCPSessions(0);
-	myGlobals.nextSessionTimeoutScan = myGlobals.actTime+SESSION_SCAN_DELAY;
-      }
+        /* So, the clock has ticked... approximately 30 seconds (depends on traffic, the select
+           above could delay 5s 
+
+           Let's purge one of the devices...
+         */
+        loopItem++;
+        if (loopItem >= myGlobals.numDevices) {
+            loopItem = 0;
+        }
 
       updateThpt(); /* Update Throughput */
       (*lastTime) = myGlobals.actTime + THROUGHPUT_REFRESH_TIME;
-      justRefreshed=1;
-    } else
-      justRefreshed=0;
+    }
 
     handleWebConnections(NULL);
--- ntop-current-starting/plugins/sflowPlugin.c	Tue Apr 16 17:05:17 2002
+++ ntop-current/plugins/sflowPlugin.c	Thu May  2 14:46:57 2002
@@ -1632,5 +1632,7 @@
 #endif
 
+#ifdef MULTITHREADED
   traceEvent(TRACE_INFO, "Started thread (%ld) for sFlow.\n", sFlowThread);
+#endif
   
   for(;myGlobals.capturePackets == 1;) {
@@ -1664,5 +1666,7 @@
   }
 
+#ifdef MULTITHREADED
   threadActive = 0;
+#endif
   return(0);
 }
@@ -1874,5 +1878,7 @@
   char value[32];
 
+#ifdef MULTITHREADED
   threadActive = 0;
+#endif
   myGlobals.sflowInSocket = 0, debug = 0;
   myGlobals.numSamplesReceived = 0,

[Attachment #18 (.)]
Hello

On Thu, May 02, 2002 at 03:51:14PM -0500, Burton M. Strauss III wrote:
> It's not the bug you think it is!
Hmm but honestly I thing I must object :)

> First off, remember that the purge doesn't free everything, just up to
"the purge" is scanTimedoutTCPSessions()? Anyway that's the function I
focus on. I desperately need it beeing called at least every 1-2 minutes 
as I have asyncronous routing an _only_ incomplete tcp sessions that else
would never get exported via netflow.

The fact I was complaining about was that the variable SESSION_SCAN_DELAY is 
never used in multithreading mode despite the comment above suggerates that 
it is the right one. In stead the PURGE_HOSTS_DELAY is at least one of
the lower borders for the time period the scanTimedoutTCPSessions() is
called. Maybe the comments should be adjusted.
Except for the which-variable-does-what confusion the code itself works
fine!

> The code for the multithreaded version is -abstracted- this:
> 
> scanIdleLoop() {
>    sleep(60);
>    purgeIdleHosts() {
>        updateDeviceThpt(actDevice);
>        if(startTime < (lastPurgeTime[actDevice]+PURGE_HOSTS_DELAY)) return;
> (else) ...do the purge...
>        scanTimedoutTCPSessions();
>    }
> }


> Is anyone actually running single-threaded, who can test the attached patch?  
/me not, sorry.

> -----Burton
thanks,

-christian-


-- 
Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
ch@westend.com     Internet & Security for Professionals    Fax 0241/911879
          WESTEND ist CISCO Systems Partner - Authorized Reseller


Received: (qmail 6259 invoked from network); 2 May 2002 21:47:42 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 2 May 2002 21:47:42 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from genesis.westend.com (genesis.westend.com [212.117.67.2])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g42LlR207758
	for <ntop-dev@unipi.it>; Thu, 2 May 2002 23:47:27 +0200 (MEST)
Received: (from ch@localhost)
	by genesis.westend.com (8.8.6/8.8.6) id XAA07614;
	Thu, 2 May 2002 23:47:24 +0200 (MET DST)
Date: Thu, 2 May 2002 23:47:21 +0200
From: Christian Hammers <ch@westend.com>
To: "Burton M. Strauss III" <Burton@ntopsupport.com>
Cc: Ntop <ntop-dev@Unipi.IT>
Subject: Re: [Ntop-dev] PURGE_HOSTS_DELAY vs. SESSION_SCAN_DELAY
Message-ID: <20020502214721.GC1232@westend.com>
References: <20020502211149.GA1232@westend.com> <JIEPJGFPFMFIGBNCPKGGIEOICGAA.Burton@ntopsupport.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <JIEPJGFPFMFIGBNCPKGGIEOICGAA.Burton@ntopsupport.com>
User-Agent: Mutt/1.3.25i
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

On Thu, May 02, 2002 at 04:42:35PM -0500, Burton M. Strauss III wrote:
> purgeIdleHosts() in hash.c IS getting invoked.
of course...
 
> So, if the elapsed time isn't at least 300s
> 
>   if(startTime < (lastPurgeTime[actDevice]+PURGE_HOSTS_DELAY))
>     return; /* Too short */
> 
> returns.  But once every 5m it will continue and do the purge...
> 
>   scanTimedoutTCPSessions(actDevice); /* let's check timedout sessions too */
> 
> Are you saying the TCPSessions scan should be moved up and use the
> SESSION_SCAN_DELAY interval???  Moved into ntop.c around 611:

Yes, regardless, where the function is actually called, it should either
use the SESSION_SCAN_DELAY variable or the other relevant variable
(PURGE_HOST_DELAY) should become a comment that describes that it, too,
controls the session scan and not only the host scan.. 

:)
-christian-


-- 
Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
ch@westend.com     Internet & Security for Professionals    Fax 0241/911879
          WESTEND ist CISCO Systems Partner - Authorized Reseller


Received: (qmail 6533 invoked from network); 2 May 2002 22:09:26 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 2 May 2002 22:09:26 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from bstrauss3.attbi.com (12-239-131-178.client.attbi.com [12.239.131.178])
	by cache.unipi.it (8.11.6/8.11.6) with SMTP id g42M9B208737
	for <ntop-dev@unipi.it>; Fri, 3 May 2002 00:09:11 +0200 (MEST)
Received: (qmail 18325 invoked from network); 2 May 2002 22:09:04 -0000
Received: from unknown (HELO swallowtailnew) (192.168.42.3)
  by 0 with SMTP; 2 May 2002 22:09:04 -0000
From: "Burton M. Strauss III" <Burton@ntopsupport.com>
To: "Christian Hammers" <ch@westend.com>
Cc: "Ntop" <ntop-dev@Unipi.IT>
Subject: RE: [Ntop-dev] PURGE_HOSTS_DELAY vs. SESSION_SCAN_DELAY
Date: Thu, 2 May 2002 17:12:49 -0500
Message-ID: <JIEPJGFPFMFIGBNCPKGGKEOJCGAA.Burton@ntopsupport.com>
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_0024_01C1F1FC.95C9D690"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
In-Reply-To: <20020502214721.GC1232@westend.com>
Importance: Normal
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

This is a multi-part message in MIME format.


OK... so I'm only partially an idiot (not a complete one)...

Do you want to try moving the routine up into scanIdleLoop?  Then it would
respect the intervals...

Patch attached...

1st minute (scan & purge)

May  2 17:02:17 tigger ntop[4206]: Called scanTimedoutTCPSessions (device=0,
sessions=3)
May  2 17:02:17 tigger ntop[4206]: scanTimedoutTCPSessions: freed 0 sessions
May  2 17:02:17 tigger ntop[4206]: Purging Idle Hosts... [actDevice=0]
May  2 17:02:17 tigger ntop[4206]: Called scanTimedoutTCPSessions (device=1,
sessions=0)
May  2 17:02:17 tigger ntop[4206]: scanTimedoutTCPSessions: freed 0 sessions
May  2 17:02:17 tigger ntop[4206]: Purging Idle Hosts... [actDevice=1]
May  2 17:02:17 tigger ntop[4206]: Called scanTimedoutTCPSessions (device=2,
sessions=0)
May  2 17:02:17 tigger ntop[4206]: scanTimedoutTCPSessions: freed 0 sessions
May  2 17:02:17 tigger ntop[4206]: Purging Idle Hosts... [actDevice=2]
May  2 17:02:17 tigger ntop[4206]: Called scanTimedoutTCPSessions (device=3,
sessions=0)
May  2 17:02:17 tigger ntop[4206]: scanTimedoutTCPSessions: freed 0 sessions
May  2 17:02:17 tigger ntop[4206]: Purging Idle Hosts... [actDevice=3]

2nd minute (scan only)

May  2 17:03:17 tigger ntop[4206]: Called scanTimedoutTCPSessions (device=0,
sessions=3)
May  2 17:03:17 tigger ntop[4206]: scanTimedoutTCPSessions: freed 0 sessions
May  2 17:03:17 tigger ntop[4206]: Called scanTimedoutTCPSessions (device=1,
sessions=0)
May  2 17:03:17 tigger ntop[4206]: scanTimedoutTCPSessions: freed 0 sessions
May  2 17:03:17 tigger ntop[4206]: Called scanTimedoutTCPSessions (device=2,
sessions=0)
May  2 17:03:17 tigger ntop[4206]: scanTimedoutTCPSessions: freed 0 sessions
May  2 17:03:17 tigger ntop[4206]: Called scanTimedoutTCPSessions (device=3,
sessions=0)
May  2 17:03:17 tigger ntop[4206]: scanTimedoutTCPSessions: freed 0 sessions

5th minute (scan and purge again):

May  2 17:07:17 tigger ntop[4206]: Called scanTimedoutTCPSessions (device=0,
sessions=4)
May  2 17:07:17 tigger ntop[4206]: scanTimedoutTCPSessions: freed 0 sessions
May  2 17:07:17 tigger ntop[4206]: Purging Idle Hosts... [actDevice=0]
May  2 17:07:17 tigger ntop[4206]: Purging host (idx=0/192.168.42.51) (0 hosts
purged)
May  2 17:07:17 tigger ntop[4206]: Purging completed in 0 sec [1 hosts deleted]
May  2 17:07:17 tigger ntop[4206]: Called scanTimedoutTCPSessions (device=1,
sessions=0)
May  2 17:07:17 tigger ntop[4206]: scanTimedoutTCPSessions: freed 0 sessions
May  2 17:07:17 tigger ntop[4206]: Purging Idle Hosts... [actDevice=1]
May  2 17:07:17 tigger ntop[4206]: Called scanTimedoutTCPSessions (device=2,
sessions=0)
May  2 17:07:17 tigger ntop[4206]: scanTimedoutTCPSessions: freed 0 sessions
May  2 17:07:17 tigger ntop[4206]: Purging Idle Hosts... [actDevice=2]
May  2 17:07:17 tigger ntop[4206]: Called scanTimedoutTCPSessions (device=3,
sessions=0)
May  2 17:07:17 tigger ntop[4206]: scanTimedoutTCPSessions: freed 0 sessions
May  2 17:07:17 tigger ntop[4206]: Purging Idle Hosts... [actDevice=3]

Looks ok to me... Let me know if it works for you and I'll send it on to Luca...

-----Burton


-----Original Message-----
From: Christian Hammers [mailto:ch@westend.com]
Sent: Thursday, May 02, 2002 4:47 PM
To: Burton M. Strauss III
Cc: Ntop
Subject: Re: [Ntop-dev] PURGE_HOSTS_DELAY vs. SESSION_SCAN_DELAY


On Thu, May 02, 2002 at 04:42:35PM -0500, Burton M. Strauss III wrote:
> purgeIdleHosts() in hash.c IS getting invoked.
of course...

> So, if the elapsed time isn't at least 300s
>
>   if(startTime < (lastPurgeTime[actDevice]+PURGE_HOSTS_DELAY))
>     return; /* Too short */
>
> returns.  But once every 5m it will continue and do the purge...
>
>   scanTimedoutTCPSessions(actDevice); /* let's check timedout sessions too */
>
> Are you saying the TCPSessions scan should be moved up and use the
> SESSION_SCAN_DELAY interval???  Moved into ntop.c around 611:

Yes, regardless, where the function is actually called, it should either
use the SESSION_SCAN_DELAY variable or the other relevant variable
(PURGE_HOST_DELAY) should become a comment that describes that it, too,
controls the session scan and not only the host scan..

:)
-christian-


--
Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
ch@westend.com     Internet & Security for Professionals    Fax 0241/911879
          WESTEND ist CISCO Systems Partner - Authorized Reseller


["BMS0067-sessionpurgedelay.patch" (application/octet-stream)]

--- ntop-current-starting/hash.c	Wed May  1 17:05:20 2002
+++ ntop-current/hash.c	Thu May  2 17:00:52 2002
@@ -334,8 +334,4 @@
   if(myGlobals.rFileName != NULL) return;
 
-#ifdef DEBUG
-  traceEvent(TRACE_INFO, "Purging Idle Hosts... [actDevice=%d]", actDevice);
-#endif
-
   if(firstRun) {
     firstRun = 0;
@@ -352,4 +348,8 @@
     lastPurgeTime[actDevice] = startTime;
 
+#ifdef DEBUG
+  traceEvent(TRACE_INFO, "Purging Idle Hosts... [actDevice=%d]", actDevice);
+#endif
+
 #ifdef MULTITHREADED
   accessMutex(&myGlobals.hostsHashMutex, "purgeIdleHosts");
@@ -423,6 +423,4 @@
   */
 
-  scanTimedoutTCPSessions(actDevice); /* let's check timedout sessions too */
-
 #ifdef DEBUG
   if(numFreedBuckets > 0) {
--- ntop-current-starting/ntop.c	Wed May  1 17:05:26 2002
+++ ntop-current/ntop.c	Thu May  2 16:55:08 2002
@@ -609,4 +609,11 @@
     for(i=0; i<myGlobals.numDevices; i++)
       if(!myGlobals.device[i].virtualDevice) {
+
+        /* Is it time to check for timeout sessions? */
+        scanTimedoutTCPSessions(i);
+#ifdef HAVE_SCHED_H
+        sched_yield(); /* Allow other threads to run */
+#endif
+ 
         purgeIdleHosts(i);
 #ifdef HAVE_SCHED_H


Hello

On Fri, May 03, 2002 at 11:14:49AM -0500, Burton M. Strauss III wrote:
> First off, I don't see the fix in the cvs... my .patch is still applying to
> 04May2002 snapshot and I still see the bad line in hash.c (it's now at 554, the
Ok, applied it. Made things very worse. The following top output was made
after 15min. The CPU was 0 in the first 10-12 minutes and then increased
in a short time period:

top:
 6688 ntop      13   5  149M 147M  1140 S N   0.0 29.4   0:00 ntop1
 6712 ntop      13   5  149M 147M  1140 S N   0.0 29.4   0:00 ntop1
 6713 ntop      13   5  149M 147M  1140 S N   0.0 29.4   0:00 ntop1
 6714 ntop      13   5  149M 147M  1140 S N   0.0 29.4   0:07 ntop1
 6715 ntop      13   5  149M 147M  1140 S N   0.0 29.4   0:00 ntop1
 6716 ntop      17   5  149M 147M  1140 R N  97.0 29.4   7:01 ntop1
  409 root       9   0 49892  48M  1028 S     0.0  9.7  29:15 bgpd
  404 root       9   0 23172  22M   668 S     0.0  4.5   1:47 zebra

-rw-r--r--    1 root     root       189186 May 6 12:31 serialCache.db


I recompiled and put the following line (the on you deleted in patch BMS0063)
in again and ntop is quite stable again after 15min:

 7667 ntop      13   5 13452  11M  1140 S N   0.0  2.2   0:00 ntop1
 7668 ntop      13   5 13452  11M  1140 S N   0.0  2.2   0:02 ntop1
 7669 ntop      13   5 13452  11M  1140 S N   0.0  2.2   0:00 ntop1
 7670 ntop      16   5 13452  11M  1140 R N   0.9  2.2   0:07 ntop1

-rw-r--r--    1 root     root        98945 May  6 12:54 serialCache.db

> Still, serialCache depends totally on how many IPs and MAC addresses ntop
> sees...
Before that over the weekend I had a 9MB serialCache file. If you think
that the 100K file I have now is not ok, then I will mail it to you.
Sadly, I didn't saved that 9MB :-(

bye,

-christian-

--
Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
ch@westend.com     Internet & Security for Professionals    Fax 0241/911879
          WESTEND ist CISCO Systems Partner - Authorized Reseller


Received: (qmail 619 invoked from network); 6 May 2002 17:00:19 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 6 May 2002 17:00:19 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g46H0O229157
	for <ntop-dev@unipi.it>; Mon, 6 May 2002 19:00:24 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g46H0NR13620
	for <ntop-dev@unipi.it>; Mon, 6 May 2002 19:00:23 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Mon, 6 May 2002 19:00:24 +0200
Message-ID: 20020506_170024_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv21864

Modified Files:
	ntop.h
Log Message:
Removed blanks



Received: (qmail 709 invoked from network); 6 May 2002 17:03:05 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 6 May 2002 17:03:05 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g46H39229384
	for <ntop-dev@unipi.it>; Mon, 6 May 2002 19:03:09 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g46H38R13624
	for <ntop-dev@unipi.it>; Mon, 6 May 2002 19:03:08 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Mon, 6 May 2002 19:03:09 +0200
Message-ID: 20020506_170309_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop/plugins
In directory jabber:/tmp/cvs-serv21873

Modified Files:
	sflowPlugin.c
Log Message:
Fixed case on sflowPluginEntryFctn to fix Win32 load error:

plugin.o(.text+0x214):plugin.c: undefined reference to
`sflowPluginEntryFctn'

Reported by Vaclav Chaloupka <vaclav_chaloupka@merck.com>



Received: (qmail 532 invoked from network); 6 May 2002 17:20:00 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 6 May 2002 17:20:00 -0000
Received: from ntop.org ([195.31.151.66])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g46HK4200109
	for <ntop-dev@unipi.it>; Mon, 6 May 2002 19:20:04 +0200 (MEST)
Received: from tecsiel.it (localhost [127.0.0.1])
	by ntop.org (8.9.3+Sun/8.9.3) with ESMTP id KAA21965
	for <ntop-dev@unipi.it>; Mon, 6 May 2002 10:20:03 -0700 (PDT)
Message-ID: <3CD6BB43.EC300E56@tecsiel.it>
Date: Mon, 06 May 2002 19:20:03 +0200
From: Luca Deri <l.deri@tecsiel.it>
Organization: NETikos S.p.A.
X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 i86pc)
X-Accept-Language: en
MIME-Version: 1.0
To: ntop-dev Mailing List <ntop-dev@Unipi.IT>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] HTTPS broken pictures
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
X-Reply-To: l.deri@tecsiel.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Hi all,
the broken picture problem under https should be gone. Can you please
resync and let me know?

Thanks, Luca

--
Luca Deri                     NETikos S.p.A.
Via Matteucci 34/B	      56124 Pisa, Italy.
Ph. +39/050/968.639           Fax. +39/050/968.626
Personal: luca@lucaderi.org   Business: luca.deri@netikos.com
WWW: http://www.lucaderi.org/ ICQ: 68183632
Hacker: someone who loves to program and enjoys being
clever about it - Richard Stallman

Received: (qmail 1633 invoked from network); 6 May 2002 23:42:28 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 6 May 2002 23:42:28 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from bstrauss3.attbi.com (12-239-131-178.client.attbi.com [12.239.131.178])
	by cache.unipi.it (8.11.6/8.11.6) with SMTP id g46NgV220838
	for <ntop-dev@unipi.it>; Tue, 7 May 2002 01:42:31 +0200 (MEST)
Received: (qmail 24863 invoked from network); 6 May 2002 23:42:25 -0000
Received: from unknown (HELO swallowtailnew) (192.168.42.3)
  by 0 with SMTP; 6 May 2002 23:42:25 -0000
From: "Burton M. Strauss III" <Burton@ntopsupport.com>
To: <ntop-dev@Unipi.IT>
Cc: <l.deri@tecsiel.it>, <michael@nomennescio.net>
Subject: RE: [Ntop-dev] HTTPS broken pictures
Date: Mon, 6 May 2002 18:46:27 -0500
Message-ID: <JIEPJGFPFMFIGBNCPKGGKEBPCHAA.Burton@ntopsupport.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <3CD6BB43.EC300E56@tecsiel.it>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Importance: Normal
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

It's a major improvement - just a brief test shows that IE5.5 and NS4.79 now
work OK.

Still having the same trouble with NS6.2.2.

Didn't test the Linux problem child, Opera.  For for that matter any of the
Linux browsers.

I'm having some more basic problems with ntop - so that it won't stay up long
enough to do the testing:

#1 - This looks like it's in the code you're changing:

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 7176 (LWP 20438)]
0x40603f74 in __libc_write () from /lib/i686/libc.so.6
(gdb) info thread
  11 Thread 9226 (LWP 20440)  0x4060aafe in __select () from /lib/i686/libc.so.6
  10 Thread 8201 (LWP 20439)  0x4060aafe in __select () from /lib/i686/libc.so.6
* 9 Thread 7176 (LWP 20438)  0x40603f74 in __libc_write () from
/lib/i686/libc.so.6
  8 Thread 6151 (LWP 20437)  0x4060aafe in __select () from /lib/i686/libc.so.6
  7 Thread 5126 (LWP 20436)  0x4060aafe in __select () from /lib/i686/libc.so.6
  6 Thread 4101 (LWP 20435)  0x405de5a1 in __libc_nanosleep () from
/lib/i686/libc.so.6
  5 Thread 3076 (LWP 20434)  0x40551ba5 in __sigsuspend (set=0x41fe894c)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:45
  4 Thread 2051 (LWP 20433)  0x405de5a1 in __libc_nanosleep () from
/lib/i686/libc.so.6
  3 Thread 1026 (LWP 20432)  0x40551ba5 in __sigsuspend (set=0x40fe863c)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:45
  2 Thread 2049 (LWP 20431)  0x406093e7 in __poll (fds=0x82a9994, nfds=1,
timeout 00)
    at ../sysdeps/unix/sysv/linux/poll.c:63
  1 Thread 1024 (LWP 20424)  0x405de557 in __libc_pause () from
/lib/i686/libc.so.6
(gdb) info stack
#0  0x40603f74 in __libc_write () from /lib/i686/libc.so.6
#1  0x404f6918 in __DTOR_END__ () from /lib/i686/libpthread.so.0
#2  0x40208176 in sock_write () from /lib/libcrypto.so.2
#3  0x40205ce1 in BIO_write () from /lib/libcrypto.so.2
#4  0x40192653 in write_pending () from /lib/libssl.so.2
#5  0x40192573 in ssl2_write () from /lib/libssl.so.2
#6  0x401a01e8 in SSL_write () from /lib/libssl.so.2
#7  0x4004136a in sendStringLen (
    theString=0x4406a3fc "Last-Modified: Thu, 28 Feb 2002 13:11:59 GMT\n",
lenE) at http.c:434
#8  0x40041411 in sendString (
    theString=0x4406a3fc "Last-Modified: Thu, 28 Feb 2002 13:11:59 GMT\n") at
http.c:473
#9  0x40042b2a in returnHTTPPage (pageName=0x4406a6fd "index.html", postLen=-1,
from=0x4406a91c,
    httpRequestedAt=0x4406a6b4, usedFork=0x4406a6b0) at http.c:1122
#10 0x400451f2 in handleHTTPrequest (from={s_addr = 3232246275}) at http.c:2019
#11 0x400634bd in handleSingleWebConnection (fdmask=0x4406aa0c) at
webInterface.c:1200
#12 0x40063387 in handleWebConnections (notUsed=0x0) at webInterface.c:1131
#13 0x404e8c6f in pthread_start_thread (arg=0x4406abe0) at manager.c:284
#14 0x404e8d5f in pthread_start_thread_event (arg=0x4406abe0) at manager.c:308
(gdb)

#2 - This one isn't...

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 3076 (LWP 20457)]
0x404de34a in get_elem () from /usr/lib/libgdbm.so.2
(gdb) info thread
  11 Thread 9226 (LWP 20463)  0x4060aafe in __select () from /lib/i686/libc.so.6
  10 Thread 8201 (LWP 20462)  0x40551ba5 in __sigsuspend (set=0x4486a24c)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:45
  9 Thread 7176 (LWP 20461)  0x4060aafe in __select () from /lib/i686/libc.so.6
  8 Thread 6151 (LWP 20460)  0x4060aafe in __select () from /lib/i686/libc.so.6
  7 Thread 5126 (LWP 20459)  0x4060aafe in __select () from /lib/i686/libc.so.6
  6 Thread 4101 (LWP 20458)  0x405de5a1 in __libc_nanosleep () from
/lib/i686/libc.so.6
* 5 Thread 3076 (LWP 20457)  0x404de34a in get_elem () from
/usr/lib/libgdbm.so.2
  4 Thread 2051 (LWP 20456)  0x405de5a1 in __libc_nanosleep () from
/lib/i686/libc.so.6
  3 Thread 1026 (LWP 20455)  0x40551ba5 in __sigsuspend (set=0x40fe863c)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:45
  2 Thread 2049 (LWP 20454)  0x406093e7 in __poll (fds=0x82a9994, nfds=1,
timeout 00)
    at ../sysdeps/unix/sysv/linux/poll.c:63
  1 Thread 1024 (LWP 20447)  0x405de557 in __libc_pause () from
/lib/i686/libc.so.6
(gdb) info stack
#0  0x404de34a in get_elem () from /usr/lib/libgdbm.so.2
#1  0x404dddf3 in _gdbm_alloc () from /usr/lib/libgdbm.so.2
#2  0x404dc8fd in gdbm_store () from /usr/lib/libgdbm.so.2
#3  0x402869a3 in resolveAddress (hostAddr=0x41fe8a78, keepAddressNumeric=0,
actualDeviceId=0)
    at address.c:316
#4  0x40286cef in dequeueAddress (notUsed=0x0) at address.c:480
#5  0x404e8c6f in pthread_start_thread (arg=0x41fe8be0) at manager.c:284
#6  0x404e8d5f in pthread_start_thread_event (arg=0x41fe8be0) at manager.c:308
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 7176 (LWP 20461)]
0x405a468c in chunk_free (ar_ptr=0x406582a0, p=0x84c6360) at malloc.c:3228
3228    malloc.c: No such file or directory.
        in malloc.c
(gdb) cont

But, it's a big step in the right direction!

-----Burton


-----Original Message-----
From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
Of Luca Deri
Sent: Monday, May 06, 2002 12:20 PM
To: ntop-dev Mailing List
Subject: [Ntop-dev] HTTPS broken pictures


Hi all,
the broken picture problem under https should be gone. Can you please
resync and let me know?

Thanks, Luca

--
Luca Deri                     NETikos S.p.A.
Via Matteucci 34/B	      56124 Pisa, Italy.
Ph. +39/050/968.639           Fax. +39/050/968.626
Personal: luca@lucaderi.org   Business: luca.deri@netikos.com
WWW: http://www.lucaderi.org/ ICQ: 68183632
Hacker: someone who loves to program and enjoys being
clever about it - Richard Stallman
_______________________________________________
Ntop-dev mailing list
Ntop-dev@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-dev


Received: (qmail 3756 invoked from network); 5 May 2002 01:35:02 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 5 May 2002 01:35:02 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g451Z5221392
	for <ntop-dev@unipi.it>; Sun, 5 May 2002 03:35:06 +0200 (MEST)
Received: from brick.hn.org (d138.as0.trcy.mi.voyager.net [209.153.132.205])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g451YeR06223
	for <ntop-dev@ntop.org>; Sun, 5 May 2002 03:34:44 +0200
X-Authentication-Warning: jake.unipi.it: Host d138.as0.trcy.mi.voyager.net \
                [209.153.132.205] claimed to be brick.hn.org
Received: (from sirnonya@localhost)
	by brick.hn.org (8.11.6/8.11.6) id g451YNQ27950
	for ntop-dev@ntop.org; Sun, 5 May 2002 01:34:23 GMT
Date: Sun, 5 May 2002 01:34:23 +0000
From: "Ryan M. McConahy" <rm@m-net.arbornet.org>
To: ntop-dev@ntop.org
Message-ID: <20020505013422.GA27763@brick.hn.org>
Mime-Version: 1.0
Content-Type: application/pgp; x-action=sign; format=text
Content-Disposition: inline; filename="msg.pgp"
User-Agent: Mutt/1.3.28i
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] The GNU GPL and ntop
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At http://www.ntop.org/ntop.html, Someone wrote:
> ntop is distributed under the GNU GPL. In order to be entitled
> to download ntop, you *must* accept the GNU license.

No, you do not have to. You see, that is the beauty of the GPL. If you
do not accept it, as you have a legal right to do, you do not have a license.
And under copyright law, you may not distribute it. This is the way the FSF
intended it.

Also, it is not _the_ GNU license. There is also the LGPL (Lesser GPL).

Thanks,

Ryan M. McConahy

- --
PGP Key-ID: 9AACF31B9344BAC1

"Those who would give up essential liberty to purchase a little temporary safety \
deserve neither liberty nor safety." -- Benjamin Franklin

"To those who scare peace-loving people with phantoms of lost liberty,
my message is this: Your tactics only aid terrorists."  --John Ashcroft,
U.S. Attorney General
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE81IwemqzzG5NEusERAjfNAKDFtebFxxjxnYQT6pAT9DVKjU4/mQCeOMe6
zNzoTbaTu6Rh1cHVonqUQSU=DkIm
-----END PGP SIGNATURE-----

Received: (qmail 9268 invoked from network); 7 May 2002 14:04:52 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 7 May 2002 14:04:52 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g47E4t201520
	for <ntop-dev@unipi.it>; Tue, 7 May 2002 16:04:55 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g47E4rG16785
	for <ntop-dev@unipi.it>; Tue, 7 May 2002 16:04:53 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Tue, 7 May 2002 16:04:54 +0200
Message-ID: 20020507_140454_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv4484

Modified Files:
	hash.c main.c ntop.8
Log Message:
Removed obsolete options (-1 and -2).



Received: (qmail 11235 invoked from network); 7 May 2002 15:18:04 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 7 May 2002 15:18:04 -0000
Received: from ntop.org ([195.31.151.66])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g47FI4205412;
	Tue, 7 May 2002 17:18:05 +0200 (MEST)
Received: from tecsiel.it (localhost [127.0.0.1])
	by ntop.org (8.9.3+Sun/8.9.3) with ESMTP id IAA04983;
	Tue, 7 May 2002 08:17:58 -0700 (PDT)
Message-ID: <3CD7F026.B0EFAF7@tecsiel.it>
Date: Tue, 07 May 2002 17:17:58 +0200
From: Luca Deri <l.deri@tecsiel.it>
Organization: NETikos S.p.A.
X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 i86pc)
X-Accept-Language: en
MIME-Version: 1.0
To: ntop-dev Mailing List <ntop-dev@Unipi.IT>,
   ntop Mailing List <ntop@Unipi.IT>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] ntop and gdbm
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
X-Reply-To: l.deri@tecsiel.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Hi all,
I've noted that some of you are complaining about gdbm. I have already
planned to
1. either fix gdbm
2. replace gdbm with something else

In fact, in some situations gdbm (eg. when there is no space left on
disk) exits (i.e. it calls exit(0)) and then ntop exists too. This is
definitively a bad behaviour.

So, let's polish ntop a bit in order to release a new version soon, and
tackle this problem later.

Cheers, Luca

--
Luca Deri                     NETikos S.p.A.
Via Matteucci 34/B	      56124 Pisa, Italy.
Ph. +39/050/968.639           Fax. +39/050/968.626
Personal: luca@lucaderi.org   Business: luca.deri@netikos.com
WWW: http://www.lucaderi.org/ ICQ: 68183632
Hacker: someone who loves to program and enjoys being
clever about it - Richard Stallman

Received: (qmail 11843 invoked from network); 7 May 2002 15:28:27 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 7 May 2002 15:28:27 -0000
Received: from ntop.org ([195.31.151.66])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g47FST205958
	for <ntop-dev@unipi.it>; Tue, 7 May 2002 17:28:29 +0200 (MEST)
Received: from tecsiel.it (localhost [127.0.0.1])
	by ntop.org (8.9.3+Sun/8.9.3) with ESMTP id IAA05026
	for <ntop-dev@unipi.it>; Tue, 7 May 2002 08:28:26 -0700 (PDT)
Message-ID: <3CD7F299.2FC0CA58@tecsiel.it>
Date: Tue, 07 May 2002 17:28:25 +0200
From: Luca Deri <l.deri@tecsiel.it>
Organization: NETikos S.p.A.
X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 i86pc)
X-Accept-Language: en
MIME-Version: 1.0
To: ntop-dev@Unipi.IT
References: <20020503153454.GA2262@westend.com> \
<JIEPJGFPFMFIGBNCPKGGAEPCCGAA.Burton@ntopsupport.com> \
                <20020506105555.GA28155@westend.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] ntop on a router (Was: serialCache is growing too fast for my \
flash card  :-()
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
X-Reply-To: l.deri@tecsiel.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Christian,
looking at the figures below I see that ntop is growing too much. This
could either
- be a bug (eg. memory leak)
or
- you're configuring ntop in a not-so-perfect way

Since the beginning of the year I'm running ntop with a Juniper box and
everything seems to be fine. However I have tuned ntop for my
environment and I have avoided to use NetFlow as in our environment we
use other tools. It might be that ntop needs some further tuning when
used with NetFlow support.

Could you please tell me more about your router (model, capabilities,
etc.) and the environment where you're running it?

NOTE: the serial cache will constantly and slowly grow until you restart
ntop. This is an open, known issue.

Thanks, Luca


Christian Hammers wrote:
> 
> Hello
> 
> On Fri, May 03, 2002 at 11:14:49AM -0500, Burton M. Strauss III wrote:
> > First off, I don't see the fix in the cvs... my .patch is still applying to
> > 04May2002 snapshot and I still see the bad line in hash.c (it's now at 554, the
> Ok, applied it. Made things very worse. The following top output was made
> after 15min. The CPU was 0 in the first 10-12 minutes and then increased
> in a short time period:
> 
> top:
> 6688 ntop      13   5  149M 147M  1140 S N   0.0 29.4   0:00 ntop1
> 6712 ntop      13   5  149M 147M  1140 S N   0.0 29.4   0:00 ntop1
> 6713 ntop      13   5  149M 147M  1140 S N   0.0 29.4   0:00 ntop1
> 6714 ntop      13   5  149M 147M  1140 S N   0.0 29.4   0:07 ntop1
> 6715 ntop      13   5  149M 147M  1140 S N   0.0 29.4   0:00 ntop1
> 6716 ntop      17   5  149M 147M  1140 R N  97.0 29.4   7:01 ntop1
> 409 root       9   0 49892  48M  1028 S     0.0  9.7  29:15 bgpd
> 404 root       9   0 23172  22M   668 S     0.0  4.5   1:47 zebra
> 
> -rw-r--r--    1 root     root       189186 May 6 12:31 serialCache.db
> 
> I recompiled and put the following line (the on you deleted in patch BMS0063)
> in again and ntop is quite stable again after 15min:
> 
> 7667 ntop      13   5 13452  11M  1140 S N   0.0  2.2   0:00 ntop1
> 7668 ntop      13   5 13452  11M  1140 S N   0.0  2.2   0:02 ntop1
> 7669 ntop      13   5 13452  11M  1140 S N   0.0  2.2   0:00 ntop1
> 7670 ntop      16   5 13452  11M  1140 R N   0.9  2.2   0:07 ntop1
> 
> -rw-r--r--    1 root     root        98945 May  6 12:54 serialCache.db
> 
> > Still, serialCache depends totally on how many IPs and MAC addresses ntop
> > sees...
> Before that over the weekend I had a 9MB serialCache file. If you think
> that the 100K file I have now is not ok, then I will mail it to you.
> Sadly, I didn't saved that 9MB :-(
> 
> bye,
> 
> -christian-
> 
> --
> Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
> ch@westend.com     Internet & Security for Professionals    Fax 0241/911879
> WESTEND ist CISCO Systems Partner - Authorized Reseller
> 
> _______________________________________________
> Ntop-dev mailing list
> Ntop-dev@unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop-dev

--
Luca Deri                     NETikos S.p.A.
Via Matteucci 34/B	      56124 Pisa, Italy.
Ph. +39/050/968.639           Fax. +39/050/968.626
Personal: luca@lucaderi.org   Business: luca.deri@netikos.com
WWW: http://www.lucaderi.org/ ICQ: 68183632
Hacker: someone who loves to program and enjoys being
clever about it - Richard Stallman

Received: (qmail 12077 invoked from network); 7 May 2002 15:38:48 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 7 May 2002 15:38:48 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from bstrauss3.attbi.com (12-239-131-178.client.attbi.com [12.239.131.178])
	by cache.unipi.it (8.11.6/8.11.6) with SMTP id g47Fcm206455
	for <ntop-dev@unipi.it>; Tue, 7 May 2002 17:38:48 +0200 (MEST)
Received: (qmail 32112 invoked from network); 7 May 2002 15:38:41 -0000
Received: from unknown (HELO swallowtailnew) (192.168.42.3)
  by 0 with SMTP; 7 May 2002 15:38:41 -0000
From: "Burton M. Strauss III" <Burton@ntopsupport.com>
To: "Ntop-Dev" <ntop-dev@Unipi.IT>
Cc: "Stanley Hopcroft" <Stanley.Hopcroft@IPAustralia.Gov.AU>
Date: Tue, 7 May 2002 10:42:49 -0500
Message-ID: <JIEPJGFPFMFIGBNCPKGGOECHCHAA.Burton@ntopsupport.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Importance: Normal
In-Reply-To: <20020507175109.B183@IPAustralia.Gov.AU>
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] RE: [Ntop] Problem with 2.0.99 (3rd of May snapshot). Can't \
                compile with --enbable-debug.
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

It happens - we don't often build w/ debug... it generates so much output...  At
least I don't, I usually just put #define DEBUG #undef DEBUG around the code I'm
worried about.

I think it also sets different compiler parameters (more strict), and that's
what's causing the errors.  When Luca removed the parameters from those
functions, he defined them as xxx() not xxx(void) (old style vs. new style)...

That leaves this:

initialize.c:572: `numDbEntries' undeclared (first use in this function)
initialize.c:572: (Each undeclared identifier is reported only once
initialize.c:572: for each function it appears in.)

FWIW, it's been wrong since at least the 2.0 released version...

Chasing it down, there were a bunch of other errors.  I've made the various
changes - about 6-8 files - so that it compiles w/ --enable-debug.  No clue if
it really runs.  Anyway, I'm going to commit the changes to the source.


-----Burton

PS: Please send to the list, not me personally - and developer problems really
should go to ntop-dev.  I'm copying the list on this msg.





-----Original Message-----
From: Stanley Hopcroft [mailto:Stanley.Hopcroft@IPAustralia.Gov.AU]
Sent: Tuesday, May 07, 2002 2:51 AM
To: Burton M. Strauss III
Subject: Re: [Ntop] Problem with 2.0.99 (3rd of May snapshot). Can't
compile with --enbable-debug.


Dear Sir,

gmake raises an error after trying to build ntop with --enable-debug.

Same result after gmake clean; remove config.status and .cache and
repeating configure and gmake.

I am not sure this is relevant or even useful.

Yours sincerely.

--

Here is the gmake output

tssyd> gmake
gmake  all-recursive
gmake[1]: Entering directory
`/usr/home/anwsmh/build/ntop-current-3-May-2002/ntop-current/ntop'
Making all in .
gmake[2]: Entering directory
`/usr/home/anwsmh/build/ntop-current-3-May-2002/ntop-current/ntop'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H
-I. -I/usr/local/include -I/usr/include/openssl    -g -g -O2 -pipe
-ggdb3 -Wall -Wshadow -Wpointer-arith -Wcast-align -Winline
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -c
initialize.c
rm -f .libs/initialize.lo
gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/include/openssl -g
-g -O2 -pipe -ggdb3 -Wall -Wshadow -Wpointer-arith -Wcast-align -Winline
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-Wp,-MD,.deps/initialize.pp -c initialize.c  -fPIC -DPIC -o
.libs/initialize.lo
In file included from ntop.h:2110,
                 from initialize.c:25:
globals-core.h:143: warning: declaration of `signal' shadows global
declaration
initialize.c:272: warning: no previous prototype for `initCounters'
initialize.c: In function `initGdbm':
initialize.c:572: `numDbEntries' undeclared (first use in this function)
initialize.c:572: (Each undeclared identifier is reported only once
initialize.c:572: for each function it appears in.)
initialize.c: At top level:
initialize.c:586: warning: no previous prototype for `initThreads'
initialize.c: In function `initThreads':
initialize.c:622: warning: long int format, pthread_t arg (arg 5)
initialize.c:635: warning: long int format, pthread_t arg (arg 5)
initialize.c:645: warning: long int format, pthread_t arg (arg 5)
initialize.c:659: warning: long int format, pointer arg (arg 5)
initialize.c:669: warning: long int format, pthread_t arg (arg 5)
initialize.c: In function `initApps':
initialize.c:696: warning: long int format, pthread_t arg (arg 5)
initialize.c: In function `initDevices':
initialize.c:851: warning: declaration of `i' shadows previous local
initialize.c: At top level:
initialize.c:956: warning: no previous prototype for `initLibpcap'
initialize.c:1177: warning: no previous prototype for
`parseTrafficFilter'
initialize.c: In function `startSniffer':
initialize.c:1253: warning: long int format, pthread_t arg (arg 5)
gmake[2]: *** [initialize.lo] Error 1
gmake[2]: Leaving directory
`/usr/home/anwsmh/build/ntop-current-3-May-2002/ntop-current/ntop'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/home/anwsmh/build/ntop-current-3-May-2002/ntop-current/ntop'
gmake: *** [all-recursive-am] Error 2
tssyd>

This is your ntop 2.0.99 configuration:

Host System Type  : i386-unknown-freebsd4.5
Compiler (cflags) : gcc -g -g -O2 -pipe -ggdb3 -Wall -Wshadow
-Wpointer-arith -Wcast-align -Winline -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H
Include path      :  -I/usr/local/include -I/usr/include/openssl
System Libs       :  -lc_r
Core Libs         :  -lpcap -L/usr/local/lib -lgdbm
Additional Libs   :  -lcrypt -lm -lz -lssl -lcrypto
LBL pcap in       : standard installation
GNU gdbm in       : /usr/local
MultiThread mode  : yes
Install path      : /usr/local/ntop-03-05-2002

Now type 'make' or 'gmake' (GNU make) on *BSD and Solaris
systems to build ntop 2.0.99.





Received: (qmail 12532 invoked from network); 7 May 2002 15:42:18 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 7 May 2002 15:42:18 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g47FgL206688
	for <ntop-dev@unipi.it>; Tue, 7 May 2002 17:42:21 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g47FgEG17042
	for <ntop-dev@unipi.it>; Tue, 7 May 2002 17:42:14 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Tue, 7 May 2002 17:42:20 +0200
Message-ID: 20020507_154220_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv5064

Modified Files:
	globals-core.h main.c webInterface.c reportUtils.c sessions.c
	protocols.c initialize.c
Log Message:
Minor updates so that ntop compiles with --enable-debug.
Note that this isn't often used because of the volume of output generated.
-----Burton (ref BMS-0070)



Received: (qmail 12538 invoked from network); 7 May 2002 15:42:24 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 7 May 2002 15:42:24 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g47FgQ206696
	for <ntop-dev@unipi.it>; Tue, 7 May 2002 17:42:26 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g47FgOG17046
	for <ntop-dev@unipi.it>; Tue, 7 May 2002 17:42:24 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Tue, 7 May 2002 17:42:26 +0200
Message-ID: 20020507_154226_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop/intop
In directory jabber:/tmp/cvs-serv5064/intop

Modified Files:
	nettable.c open.c init.c
Log Message:
Minor updates so that ntop compiles with --enable-debug.
Note that this isn't often used because of the volume of output generated.
-----Burton (ref BMS-0070)



Received: (qmail 13854 invoked from network); 7 May 2002 16:05:09 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 7 May 2002 16:05:09 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g47G5C207825
	for <ntop-dev@unipi.it>; Tue, 7 May 2002 18:05:12 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g47G59G17122
	for <ntop-dev@unipi.it>; Tue, 7 May 2002 18:05:10 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Tue, 7 May 2002 18:05:11 +0200
Message-ID: 20020507_160511_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv5213

Modified Files:
	ntop.h ntop.c
Log Message:
Minor updates to ntop for single threaded mode.

WARNING: This change has undergone very limited testing, as multithreading
mode is the norm and vastly prefered.

(Multithreaded mode is turned off by ./configure --disable-mt
or if `pthread_create' can not be found in libpthread)

-----Burton (Ref: BMS-0066)



Received: (qmail 13860 invoked from network); 7 May 2002 16:05:15 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 7 May 2002 16:05:15 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g47G5I207833
	for <ntop-dev@unipi.it>; Tue, 7 May 2002 18:05:18 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g47G5FG17126
	for <ntop-dev@unipi.it>; Tue, 7 May 2002 18:05:16 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Tue, 7 May 2002 18:05:17 +0200
Message-ID: 20020507_160517_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop/plugins
In directory jabber:/tmp/cvs-serv5213/plugins

Modified Files:
	sflowPlugin.c
Log Message:
Minor updates to ntop for single threaded mode.

WARNING: This change has undergone very limited testing, as multithreading
mode is the norm and vastly prefered.

(Multithreaded mode is turned off by ./configure --disable-mt
or if `pthread_create' can not be found in libpthread)

-----Burton (Ref: BMS-0066)



Received: (qmail 14193 invoked from network); 7 May 2002 16:08:04 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 7 May 2002 16:08:04 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from genesis.westend.com (genesis.westend.com [212.117.67.2])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g47G86208037
	for <ntop-dev@unipi.it>; Tue, 7 May 2002 18:08:07 +0200 (MEST)
Received: (from ch@localhost)
	by genesis.westend.com (8.8.6/8.8.6) id SAA10320;
	Tue, 7 May 2002 18:07:25 +0200 (MET DST)
Date: Tue, 7 May 2002 18:07:18 +0200
From: Christian Hammers <ch@westend.com>
To: Luca Deri <l.deri@tecsiel.it>
Cc: ntop-dev@Unipi.IT
Subject: Re: [Ntop-dev] ntop on a router (Was: serialCache is growing too fast for my \
                flash card :-()
Message-ID: <20020507160718.GB5055@westend.com>
References: <20020503153454.GA2262@westend.com> \
<JIEPJGFPFMFIGBNCPKGGAEPCCGAA.Burton@ntopsupport.com> \
                <20020506105555.GA28155@westend.com> <3CD7F299.2FC0CA58@tecsiel.it>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3CD7F299.2FC0CA58@tecsiel.it>
User-Agent: Mutt/1.3.25i
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Hi Luca

On Tue, May 07, 2002 at 05:28:25PM +0200, Luca Deri wrote:
> looking at the figures below I see that ntop is growing too much. This

We have two growings here. First the memory growing and second the growing
of the serialCache.

a) The memory (I mean VSZ in top here) grows quickly to
   about 14M and is now after two days at 17M. I guess it will stay there as
   there's no fast growing visible.

   The growing to 140MB only occured after I tried Burton's serialCache fix.
   This was reproducible. I removed the fixed, i.e. inserted that single line
   in hash.c again and everything balanced around 17MB again.

b) the serialCache.db is still a problem. Grew up to 1.4M in the first day
   and does never shrink.
   As you pointed out, this is a known issue. Seems as if I have to restart
   ntop once a day to be safe :-(

> Could you please tell me more about your router (model, capabilities,
> etc.) and the environment where you're running it?
The router is a normal PC (AMD Duron/850MHz) with 512MB RAM and a 120MB
flash card instead of a harddisk (which was the reason I saw the growing
of 1-2MB so fast...).
The router has 4 Intel Etherexpress NICs, three for BGP4 peers to our
customers and upstream providers and one to our internal network. So it's a
classical ISP border router.

Regarding the netflow thing, the short explanation again. I do netflow
export on currently two of the four ethernet devices, each have it's own
ntop in it's own directory (e.g. /usr/local/ntop-eth0/). Each ntop uses a
filter like:
	--filter-expression ether dst 00:02:B3:96:57:DD
So that only incoming packets are processed, not outgoing. This, too,
leaded to my problems that I have only incomplete TCP sessions, but is
necessary for the netflow system to work.

bye,

-christian-

--
Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
ch@westend.com     Internet & Security for Professionals    Fax 0241/911879
          WESTEND ist CISCO Systems Partner - Authorized Reseller


Received: (qmail 15063 invoked from network); 7 May 2002 16:44:44 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 7 May 2002 16:44:44 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from genesis.westend.com (genesis.westend.com [212.117.67.2])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g47Gil209681
	for <ntop-dev@unipi.it>; Tue, 7 May 2002 18:44:47 +0200 (MEST)
Received: (from ch@localhost)
	by genesis.westend.com (8.8.6/8.8.6) id SAA18261;
	Tue, 7 May 2002 18:44:10 +0200 (MET DST)
Date: Tue, 7 May 2002 18:44:07 +0200
From: Christian Hammers <ch@westend.com>
To: Luca Deri <l.deri@tecsiel.it>
Cc: ntop-dev@Unipi.IT
Subject: Re: [Ntop-dev] ntop on a router (Was: serialCache is growing too fast for my \
                flash card :-()
Message-ID: <20020507164407.GA14562@westend.com>
References: <20020503153454.GA2262@westend.com> \
<JIEPJGFPFMFIGBNCPKGGAEPCCGAA.Burton@ntopsupport.com> \
<20020506105555.GA28155@westend.com> <3CD7F299.2FC0CA58@tecsiel.it> \
                <20020507160718.GB5055@westend.com> <3CD7FDF2.588AA013@tecsiel.it>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3CD7FDF2.588AA013@tecsiel.it>
User-Agent: Mutt/1.3.25i
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Hi

On Tue, May 07, 2002 at 06:16:50PM +0200, Luca Deri wrote:
> > in hash.c again and everything balanced around 17MB again.
> Good: please report me about this in the next days.
I will do so.

> > b) the serialCache.db is still a problem. Grew up to 1.4M in the first day
> > and does never shrink.
> > As you pointed out, this is a known issue. Seems as if I have to restart
> > ntop once a day to be safe :-(
> I will fix this soon, before 2.1. Stay tuned, it's a matter of time.
great to hear!


> > Regarding the netflow thing, the short explanation again. I do netflow
> > export on currently two of the four ethernet devices, each have it's own
> > ntop in it's own directory (e.g. /usr/local/ntop-eth0/). Each ntop uses a
> > filter like:
> > --filter-expression ether dst 00:02:B3:96:57:DD
> > So that only incoming packets are processed, not outgoing. This, too,
> > leaded to my problems that I have only incomplete TCP sessions, but is
> > necessary for the netflow system to work.
> Ok, but this is not a solution, just a workaround. As you know NF much
> better than me, what is the ultimate solution for this problem?

The ultimate solution would be the following. One process of ntop. The
ntop plugin then lets choose which interfaces will have netflow export
turned on and which don't. For every interface is only the half of the
sessions exported that came through that interface in, i.e. was received
by it, never what was send!

Little picture for the input-interface-accounting thing:

                                customer-N
 			            |
				    |eth1
 				  NTOP-N
				    |eth0
		  eth1   eth0       |		   eth0   eth1
   INTERNET-W ---- NTOP-W ------ My Backbone   ----- NTOP-E  --- INTERNET-E
                                    |
                                    |eth1
                                  NTOP-S
 				    |eth0
                                    |
                                 customer-S

Let's imagine I have two upstream provides W and E (west,east,..) and only
two customers (south,north).

Now, example1, customer S produces traffic with customer N, then the traffic
will be accounted four times, NTOP-S at eth0 in, eth1 out, and on NTOP-N
at eth0 in and eth1 out.  Then, when customer N replies, the packets go
through the same interfaces in reverse direction.

As we won't account every byte only once, netflow chooses to account it
at the point where it _first enters the provider backbone_. In this case,
the packages from S to N are accounted at eth0 of NTOP-S and the reply
packages from N to S at NTOP-N on interface eth1.

So at e.g. NTOP-S I have to manually disable the eth1 interface because it
points to the backbone and has no customers on it but in addition I must
say ntop never to export the bytes, it receives from eth1 and forwards to
eth0 because they must alreay be accountet on NTOP-W,NTOP-N or NTOP-E.

Packets that are originated by the router or destinated for him do not
need to be accounted necessarily if that's a problem. There's not much
traffic that the router produces itself except for some telnet/ssh sessions
and some remote loggin (I'm not sure how the ciscos behave there).

This is not easy for the current session handling.. but maybe you find a
way!

bye,

-christian-

--
Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
ch@westend.com     Internet & Security for Professionals    Fax 0241/911879
          WESTEND ist CISCO Systems Partner - Authorized Reseller


Received: (qmail 281 invoked from network); 8 May 2002 09:03:51 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 8 May 2002 09:03:51 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from bstrauss3.attbi.com (12-239-131-178.client.attbi.com [12.239.131.178])
	by cache.unipi.it (8.11.6/8.11.6) with SMTP id g47Lic222645
	for <ntop-dev@unipi.it>; Tue, 7 May 2002 23:44:39 +0200 (MEST)
Received: (qmail 2411 invoked from network); 7 May 2002 21:44:32 -0000
Received: from unknown (HELO swallowtailnew) (192.168.42.3)
  by 0 with SMTP; 7 May 2002 21:44:32 -0000
From: "Burton M. Strauss III" <Burton@ntopsupport.com>
To: "Ntop" <ntop@Unipi.IT>, "Ntop-Dev" <ntop-dev@Unipi.IT>
Cc: "Luca Deri" <deri@ntop.org>, "Rocco Carbone" <rocco@tecsiel.it>
Date: Tue, 7 May 2002 16:48:42 -0500
Message-ID: <JIEPJGFPFMFIGBNCPKGGEEDCCHAA.Burton@ntopsupport.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Importance: Normal
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] The challenge is upon YOU and YOU and even YOU (hiding in the \
                back row over there)...
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Seriously:

I've just committed my last planned enhancement (--use-syslogúcility) and Luca
is working on the serialCache.db growth problem.

Hopefully in a few hours, Luca will roll the release to 2.0.99-rc1, being the
1st release candidate for ntop 2.1.  Expect a note to the list and on Snapshot
when that happens, indicating which snapshot release will contain -rc1.

Remember: ntop is Luca Deri's tool and I don't speak for him.  As always, this
is only my opinion.  If I had a meaningful one (opinion), my cat wouldn't allow
me to post it anyway, so all you are going to get this drivel.

======================================================================================================================
 ntop 2.1 will represent a quantum improvement over ntop 2.0 in features and
stability.  Are there going to be issues?  Yes - no software package will ever
be perfect.


But EACH ONE OF YOU can contribute to the ntop 2.1 release in TWO meaningful
ways.


1. After the -rc1 release, download, compile and run it in your environment.
Report bugs.  Give MEANINGFUL and complete bug reports - environment, specific
cases, etc. - see "HOWTO ask for help" at http://snapshot.ntop.org/faq.php#83

Also, be sure to classify the bug in the report's subject:

(This is from when I used to do this for a living)

 Severity 1 - <product> fails to run using common parameters and there is no
work-around
 Severity 2 - <product>fails to run using common parameters and there is a
work-around
              <product>fails to run using uncommon parameters
              <product>runs, but critical data is erroneous
 Severity 3 - Data is erroneous, etc.
 Severity 4 - Cosmetics

  Enhancements (gee, could <product> do this?) are a further, and separate and
inappropriate for a -rc period, category.


2.     D O C U M E N T A T I O N

How you can help:

     Write some.
     Review some (Change Log, FAQ entries, BUILD- files, etc.).

     Post it to the list (I suggest a [DOC] tag) for review & inclusion

<soapbox>
     Why is the documentation non-existent, outdated or suck?

Look in the mirror.  If a dozen people (out of the 370+ people subscribed to
ntop/ntop-dev lists) would have been willing to spend 5 minutes a day over the
past 3 months, we'd have a decent manual and be a lot better off.  With all the
benefits you get from ntop, now is the time to pony up a little sweat-equity!
</soapbox>


What happens next?

Of course, it's ultimately Luca's plan.


My suggestion to him was to allow a short period for testing, and then to
release 2.1.

During this period I suggested we focus on cleaning up the existing
documentation, FAQ, Change Log, Web Pages, etc., and also that we only fix major
bugs (show-stoppers, what I called Sev[erity]1 above).

I believe we also need to focus efforts on stable, current, platforms - this
means (for example) not Solaris 2.5.1 and not MinGW (the first is simply old,
the second is - at best - a kludge).  It means not focusing on unsupported
plugins, obsolete code, etc.  It means that "user how to" questions and
hand-holding (what some have called suck-only mode)

I also believe that users who are willing (and able) to help debug, will serve
themselves and the product the best.

Sev 2s, 3s and 4s will probably form the basis of a "Known Problems" list.

BTW: If you add the -K parameter to ntop, it will automatically enable the
backtrace if it's available on your system.  This may (or may not) be useful in
trapping SigSegv's...


Your comments are always welcomed...


-----Burton


PS: If you're going to refresh from the cvs for this, be sure and delete the
gdchart0.94c/zlib-1.1.3 and gdchart0.94c/gd-1.8.3/libpng-1.0.8 directories, to
eliminate any confusion.




Received: (qmail 304 invoked from network); 8 May 2002 09:03:52 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 8 May 2002 09:03:52 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g47I3W213401
	for <ntop-dev@unipi.it>; Tue, 7 May 2002 20:03:32 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g47I3UG17561
	for <ntop-dev@unipi.it>; Tue, 7 May 2002 20:03:30 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Tue, 7 May 2002 20:03:33 +0200
Message-ID: 20020507_180333_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv5672

Modified Files:
	webInterface.c
Log Message:
Minor cleanup: Moved "Started thread (nnnn) for web server." message (from
inside the thread to after the createThread() call).  Depending upon which
executes first, parent or child, the myGlobals value might not have
been stored, and would be reported as zero.

-----Burton (Ref: BMS-0065)



Received: (qmail 286 invoked from network); 8 May 2002 09:03:51 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 8 May 2002 09:03:51 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g47LP3221830
	for <ntop-dev@unipi.it>; Tue, 7 May 2002 23:25:03 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g47LP1G18307
	for <ntop-dev@unipi.it>; Tue, 7 May 2002 23:25:01 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Tue, 7 May 2002 23:25:03 +0200
Message-ID: 20020507_212503_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop/html
In directory jabber:/tmp/cvs-serv6140/html

Modified Files:
	ntop.html
Log Message:
Add --use-syslogúcility parameter.  Enhance/Correct documentation
(was --enable-syslog in one file) and add reporting of the facility
value to the configuration report.

Notes:  Existing -L does not change.
        Default log facility is now a #define in ntop.h
        The = is required in the parameter!!!
        --use-syslog is allowed (sets it to the default)
        Remember if you give the -d (--daemon) parameter, ntop
            forces logging on for child process and will use
            the default value.



Received: (qmail 421 invoked from network); 9 May 2002 07:33:39 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 9 May 2002 07:33:39 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g496uM209398
	for <ntop-dev@unipi.it>; Thu, 9 May 2002 08:56:22 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g496uMG22805
	for <ntop-dev@unipi.it>; Thu, 9 May 2002 08:56:22 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Thu, 9 May 2002 08:56:23 +0200
Message-ID: 20020509_065623_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop/html
In directory jabber:/tmp/cvs-serv20723

Modified Files:
	ntop.html
Log Message:
Added a note about mailing list subscription required in order to post messages.




Received: (qmail 1374 invoked from network); 9 May 2002 09:23:06 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 9 May 2002 09:23:06 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g499N9217519
	for <ntop-dev@unipi.it>; Thu, 9 May 2002 11:23:10 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g499N8G23212
	for <ntop-dev@unipi.it>; Thu, 9 May 2002 11:23:08 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Thu, 9 May 2002 11:23:11 +0200
Message-ID: 20020509_092311_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv145

Modified Files:
	emitter.c globals-core.c globals-core.h graph.c hash.c http.c
	main.c ntop.h ntop_win32.c ntop_win32.h pbuf.c protocols.c
	reportUtils.c sql.c util.c
Log Message:
Added patch courtesy of
            Axel Thimm <Axel.Thimm+ntop@physik.fu-berlin.de>

Added ability to run ntop as a service under Win32 (NT/2K/XP)




Received: (qmail 1380 invoked from network); 9 May 2002 09:23:09 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 9 May 2002 09:23:09 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g499NE217527
	for <ntop-dev@unipi.it>; Thu, 9 May 2002 11:23:14 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g499NCG23216
	for <ntop-dev@unipi.it>; Thu, 9 May 2002 11:23:12 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Thu, 9 May 2002 11:23:15 +0200
Message-ID: 20020509_092315_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop/plugins
In directory jabber:/tmp/cvs-serv145/plugins

Modified Files:
	icmpPlugin.c netflowPlugin.c
Log Message:
Added patch courtesy of
            Axel Thimm <Axel.Thimm+ntop@physik.fu-berlin.de>

Added ability to run ntop as a service under Win32 (NT/2K/XP)




Received: (qmail 1386 invoked from network); 9 May 2002 09:23:15 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 9 May 2002 09:23:15 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g499NJ217535
	for <ntop-dev@unipi.it>; Thu, 9 May 2002 11:23:19 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g499NGG23221
	for <ntop-dev@unipi.it>; Thu, 9 May 2002 11:23:17 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Thu, 9 May 2002 11:23:20 +0200
Message-ID: 20020509_092320_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop/intop
In directory jabber:/tmp/cvs-serv145/intop

Modified Files:
	intop.c
Log Message:
Added patch courtesy of
            Axel Thimm <Axel.Thimm+ntop@physik.fu-berlin.de>

Added ability to run ntop as a service under Win32 (NT/2K/XP)




Received: (qmail 1987 invoked from network); 9 May 2002 09:45:16 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 9 May 2002 09:45:16 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g499jK218553
	for <ntop-dev@unipi.it>; Thu, 9 May 2002 11:45:20 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g499jJG23344
	for <ntop-dev@unipi.it>; Thu, 9 May 2002 11:45:19 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Thu, 9 May 2002 11:45:22 +0200
Message-ID: 20020509_094522_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv1503

Modified Files:
	protocols.c
Log Message:
Changed type (int -> u_int) for better tackling
DHCP messages. This is yet another patch but not
the final fix as Axel stated



Received: (qmail 10519 invoked from network); 9 May 2002 19:52:18 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 9 May 2002 19:52:18 -0000
Received: from nnlx001.nomennescio (IDENT:1020973964@nn.xs4all.nl [194.109.39.71])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g49JqL220639
	for <ntop-dev@unipi.it>; Thu, 9 May 2002 21:52:21 +0200 (MEST)
Received: from nomennescio.net (nnws001.nomennescio [10.240.100.1])
	by nnlx001.nomennescio (8.11.6/8.11.6) with ESMTP id g49JqRx11099
	(using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits) verified OK)
	for <ntop-dev@unipi.it>; Thu, 9 May 2002 21:52:32 +0200
Message-ID: <3CDAD365.4030707@nomennescio.net>
Date: Thu, 09 May 2002 21:52:05 +0200
From: Mike Klinkert <michael@nomennescio.net>
Organization: Nomen Nescio
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc1) Gecko/20020417
X-Accept-Language: en, nl
MIME-Version: 1.0
To: ntop-dev@Unipi.IT
Subject: Re: [Ntop-dev] HTTPS broken pictures
References: <3CD6BB43.EC300E56@tecsiel.it>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-MailScanner: Found to be clean
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Luca Deri wrote:

> Hi all,
> the broken picture problem under https should be gone. Can you please
> resync and let me know?
> 
> 
I just tested the pictures under https. Pictures now do show up
(Mozilla-1.0rc1), however after browsing for about 30 secs or so, it
seems that ntop still blocks. I was browsing the "Active TCP Sessions"
page. That page did not show the images for the previous and next pages.
I guess ntop blocks, so the page never finishes loading. After that, no
page can be show (timeout will occur eventually).

> Thanks, Luca
> 
--
Mike.




Received: (qmail 11691 invoked from network); 9 May 2002 20:26:18 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 9 May 2002 20:26:18 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g49KQM222334
	for <ntop-dev@unipi.it>; Thu, 9 May 2002 22:26:22 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g49KQCG24755
	for <ntop-dev@unipi.it>; Thu, 9 May 2002 22:26:14 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Thu, 9 May 2002 22:26:22 +0200
Message-ID: 20020509_202622_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author burton)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv3141

Modified Files:
	configure.in
Log Message:
Fixed error during make arising from comment in parameters to autoconf's
AC_OUTPUT macro.  Specifically:

configure.in:1146: error: m4_popdef: undefined macro: AC_Dest
acgeneral.m4:3404: AC_CONFIG_FILES is expanded from...
configure.in:1146: the top level
make: *** [configure] Error 1

     (Note that the line #s may vary)

Problem cropped up when plugins/pep/Makefile was removed from the "normal"
ntop build, by making it a comment, creating a situation - comment in a macro
parameter - which autoconf doesn't handle well.

Updated file to move this line:

dnl> plugins/pep/Makefile

before the macro.


-----Burton (Ref: BMS-0071)



Received: (qmail 19043 invoked from network); 10 May 2002 07:20:28 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 10 May 2002 07:20:28 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4A7KV221382
	for <ntop-dev@unipi.it>; Fri, 10 May 2002 09:20:31 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4A7KRG26486
	for <ntop-dev@unipi.it>; Fri, 10 May 2002 09:20:27 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Fri, 10 May 2002 09:20:33 +0200
Message-ID: 20020510_072033_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author dennis)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv4579

Modified Files:
	ntop.8
Log Message:
* fix typo


Received: (qmail 45431 invoked from network); 13 May 2002 13:22:12 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 13 May 2002 13:22:12 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4DDMB213016
	for <ntop-dev@unipi.it>; Mon, 13 May 2002 15:22:11 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4DDM8s03707
	for <ntop-dev@unipi.it>; Mon, 13 May 2002 15:22:08 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Mon, 13 May 2002 15:22:10 +0200
Message-ID: 20020513_132210_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv10915

Modified Files:
	acconfig.h address.c globals.h hash.c http.c initialize.c
	ntop.c ntop.h pbuf.c report.c reportUtils.c sql.c util.c
	webInterface.c configure.in configure
Log Message:
1. Removed serialCache.db
2. Added a fix courtesy of
        Christian Vogel <chris@obelix.hedonism.cx>
   that removes some warnings when ntop is started with -n
3. Fixed a memory leak




Received: (qmail 45661 invoked from network); 13 May 2002 13:39:41 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 13 May 2002 13:39:41 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4DDdd213783
	for <ntop-dev@unipi.it>; Mon, 13 May 2002 15:39:39 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4DDdbs03761
	for <ntop-dev@unipi.it>; Mon, 13 May 2002 15:39:37 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Mon, 13 May 2002 15:39:39 +0200
Message-ID: 20020513_133939_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv18068

Modified Files:
	configure configure.in hash.c
Log Message:
Fix for endianess detection



Received: (qmail 53733 invoked from network); 14 May 2002 06:53:03 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 14 May 2002 06:53:03 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4E6r0213577
	for <ntop-dev@unipi.it>; Tue, 14 May 2002 08:53:00 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4E6qvs06020
	for <ntop-dev@unipi.it>; Tue, 14 May 2002 08:52:57 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Tue, 14 May 2002 08:53:00 +0200
Message-ID: 20020514_065300_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv1935

Modified Files:
	acconfig.h
Log Message:
Added Endian stuff



Received: (qmail 53864 invoked from network); 14 May 2002 06:54:19 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 14 May 2002 06:54:19 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4E6sG213676
	for <ntop-dev@unipi.it>; Tue, 14 May 2002 08:54:16 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4E6sDs06024
	for <ntop-dev@unipi.it>; Tue, 14 May 2002 08:54:13 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Tue, 14 May 2002 08:54:16 +0200
Message-ID: 20020514_065416_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv1943

Modified Files:
	address.c
Log Message:
Removed warning



Received: (qmail 54100 invoked from network); 14 May 2002 07:03:15 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 14 May 2002 07:03:15 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4E73C214001
	for <ntop-dev@unipi.it>; Tue, 14 May 2002 09:03:12 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4E736s06057
	for <ntop-dev@unipi.it>; Tue, 14 May 2002 09:03:07 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Tue, 14 May 2002 09:03:11 +0200
Message-ID: 20020514_070311_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv2318

Modified Files:
	ntop.c
Log Message:
Removed old function for purging serial.db that's onger used



Received: (qmail 57848 invoked from network); 14 May 2002 12:14:54 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 14 May 2002 12:14:54 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4ECEp229880
	for <ntop-dev@unipi.it>; Tue, 14 May 2002 14:14:51 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4ECEms06828
	for <ntop-dev@unipi.it>; Tue, 14 May 2002 14:14:50 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Tue, 14 May 2002 14:14:51 +0200
Message-ID: 20020514_121451_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv15060

Modified Files:
	admin.c globals-core.h main.c Makefile.am Makefile.in
Log Message:
Added fix courtesy of
        C C Magnus Gustavsson <magnus@gustavsson.se>.
ntop users can now use 'A' for setting the admin pw and quitting
afterwards. This could be useful while installing packages



Received: (qmail 58087 invoked from network); 14 May 2002 12:31:59 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 14 May 2002 12:31:59 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4ECVu200719
	for <ntop-dev@unipi.it>; Tue, 14 May 2002 14:31:56 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4ECVns06890
	for <ntop-dev@unipi.it>; Tue, 14 May 2002 14:31:50 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Tue, 14 May 2002 14:31:52 +0200
Message-ID: 20020514_123152_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv17940

Modified Files:
	ntop.8
Log Message:
Added -A flag to the man page



Received: (qmail 58393 invoked from network); 14 May 2002 13:04:30 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 14 May 2002 13:04:30 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4ED4R202113
	for <ntop-dev@unipi.it>; Tue, 14 May 2002 15:04:27 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4ED4Ls06968
	for <ntop-dev@unipi.it>; Tue, 14 May 2002 15:04:21 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Tue, 14 May 2002 15:04:23 +0200
Message-ID: 20020514_130423_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv22846

Modified Files:
	http.c
Log Message:
Added better error report for HTTPS



Received: (qmail 58558 invoked from network); 14 May 2002 13:06:10 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 14 May 2002 13:06:10 -0000
Received: from jabber.tecsiel.it ([195.31.151.66])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4ED66202123
	for <ntop-dev@unipi.it>; Tue, 14 May 2002 15:06:06 +0200 (MEST)
Received: from tecsiel.it (localhost [127.0.0.1])
	by jabber.tecsiel.it (8.9.3+Sun/8.9.3) with ESMTP id GAA22859
	for <ntop-dev@unipi.it>; Tue, 14 May 2002 06:06:04 -0700 (PDT)
Message-ID: <3CE10BBC.BF9BA9C5@tecsiel.it>
Date: Tue, 14 May 2002 15:06:04 +0200
From: Luca Deri <l.deri@tecsiel.it>
Organization: NETikos S.p.A.
X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 i86pc)
X-Accept-Language: en
MIME-Version: 1.0
To: ntop-dev Mailing List <ntop-dev@Unipi.IT>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] ntop & browsers
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
X-Reply-To: l.deri@tecsiel.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Hi all,
I've run some tests with Opera 6. It looks that OpenSSL doesn't like the
SSL packets generated by Opera. ntop doesn't hang anymore and it prints
an error on the command line. I an useng OpenSSL 0.96b whereas the
latest version is 0.96d. Can somebody try the latest OpenSSL version and
let me know?

Thanks, Luca

--
Luca Deri                     NETikos S.p.A.
Via Matteucci 34/B	      56124 Pisa, Italy.
Ph. +39/050/968.639           Fax. +39/050/968.626
Personal: luca@lucaderi.org   Business: luca.deri@netikos.com
WWW: http://www.lucaderi.org/ ICQ: 68183632
Hacker: someone who loves to program and enjoys being
clever about it - Richard Stallman

Received: (qmail 60543 invoked from network); 14 May 2002 14:56:53 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 14 May 2002 14:56:53 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4EEuo207362
	for <ntop-dev@unipi.it>; Tue, 14 May 2002 16:56:50 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4EEums07291
	for <ntop-dev@unipi.it>; Tue, 14 May 2002 16:56:49 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Tue, 14 May 2002 16:56:51 +0200
Message-ID: 20020514_145651_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author burton)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv23392

Modified Files:
	acconfig.h
Log Message:
Added ENDIAN defines so that autoheader et al would have a proper
template and the CVS would compile.

-----Burton (REF BMS-0072)



Received: (qmail 61897 invoked from network); 14 May 2002 17:56:07 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 14 May 2002 17:56:07 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4EHu3217269
	for <ntop-dev@unipi.it>; Tue, 14 May 2002 19:56:03 +0200 (MEST)
Received: from swallowtail ([12.239.135.207]) by rwcrmhc51.attbi.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP
          id <20020514172714.GAXL29832.rwcrmhc51.attbi.com@swallowtail>;
          Tue, 14 May 2002 17:27:14 +0000
From: "Burton M. Strauss III" <Burton@ntopsupport.com>
To: <ntop-dev@Unipi.IT>
Cc: <l.deri@tecsiel.it>
Subject: RE: [Ntop-dev] ntop & browsers
Date: Tue, 14 May 2002 12:31:49 -0500
Message-ID: <JIEPJGFPFMFIGBNCPKGGGEIICHAA.Burton@ntopsupport.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <3CE10BBC.BF9BA9C5@tecsiel.it>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Importance: Normal
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

I just installed OpenSSL 9.6d and still have problems...

Netscape 6.2.2 (Win2K) now causes an error message on ntop:

"17905:error:140EC0AF:SSL routines:SSL2_READ_INTERNAL:non SSLv2 initial
packet:S2_pkt.c:187"

Opera 6.0B1 (Linux) still just hangs the web server and never gets a
response back.

-----Burton

-----Original Message-----
From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
Of Luca Deri
Sent: Tuesday, May 14, 2002 8:06 AM
To: ntop-dev Mailing List
Subject: [Ntop-dev] ntop & browsers


Hi all,
I've run some tests with Opera 6. It looks that OpenSSL doesn't like the
SSL packets generated by Opera. ntop doesn't hang anymore and it prints
an error on the command line. I an useng OpenSSL 0.96b whereas the
latest version is 0.96d. Can somebody try the latest OpenSSL version and
let me know?

Thanks, Luca

--
Luca Deri                     NETikos S.p.A.
Via Matteucci 34/B	      56124 Pisa, Italy.
Ph. +39/050/968.639           Fax. +39/050/968.626
Personal: luca@lucaderi.org   Business: luca.deri@netikos.com
WWW: http://www.lucaderi.org/ ICQ: 68183632
Hacker: someone who loves to program and enjoys being
clever about it - Richard Stallman
_______________________________________________
Ntop-dev mailing list
Ntop-dev@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-dev


Received: (qmail 62421 invoked from network); 14 May 2002 18:13:01 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 14 May 2002 18:13:01 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4EICu218032
	for <ntop-dev@unipi.it>; Tue, 14 May 2002 20:12:56 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4EICts07668
	for <ntop-dev@unipi.it>; Tue, 14 May 2002 20:12:55 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Tue, 14 May 2002 20:12:56 +0200
Message-ID: 20020514_181256_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author burton)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv24376

Modified Files:
	Makefile.am Makefile.in
Log Message:
Tiny fix (which should not affect users).

Add $(DESTDIR) before $(bindir) for the cp of ntop-cert.pem in install-data-local.

This should only affect: make DESTDIR=xxxx (i.e. when building the rpm package).

-----Burton (ref BMS-0072)



Received: (qmail 63312 invoked from network); 14 May 2002 19:42:43 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 14 May 2002 19:42:43 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from mail.oculan.com (opennms.org [209.116.71.164])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4EJgd221993
	for <ntop-dev@Unipi.IT>; Tue, 14 May 2002 21:42:39 +0200 (MEST)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mail.oculan.com (Postfix) with ESMTP id EF93C1470DB
	for <ntop-dev@Unipi.IT>; Tue, 14 May 2002 15:42:37 -0400 (EDT)
Received: from linux-lovelace.internal.opennms.org (65-86-121-50.client.dsl.net \
[65.86.121.50])  by mail.oculan.com (Postfix) with ESMTP id B3B9E1470F2
	for <ntop-dev@Unipi.IT>; Tue, 14 May 2002 15:42:32 -0400 (EDT)
From: Tanner Lovelace <lovelace@opennms.org>
To: ntop-dev@Unipi.IT
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.3-1mdk
Date: 14 May 2002 15:42:31 -0400
Message-Id: <1021405352.23770.24.camel@linux-lovelace.internal.opennms.org>
Mime-Version: 1.0
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
X-Virus-Scanned: by AMaViS 0.3.12pre1
Subject: [Ntop-dev] Small function prototype problem
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Greetings,

In globals-core.h, there is a small problem with the redefinition
of free to be ntop_safefree.  Specifically, the prototype of
ntop_safefree expects to have a void** pointer and the define
casts it to a single void*.  This poses no problem in straight C,
but if you're doing anything in C++, especially those close
to standards compliance like g++ 3.0.x, it will refuse to compile.
The solution is simple: just add the extra * to the define line.
C doesn't care one way or the other, so it doesn't change anything
if you're not using C++.  A patch to do just that is provided below.

Thanks,
Tanner Lovelace
--
Tanner Lovelace | lovelace@opennms.org | http://www.opennms.org/
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
GPG Fingerprint = AFD2 597F 4028 FFE2 B11A  4383 BE46 B4E1 26DC 03A3
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
 101010 - The Ultimate answer to Life, the Universe and Everything.


--- globals-core.h~	2002-05-07 18:19:51.000000000 -0400
+++ globals-core.h	2002-05-14 15:15:40.000000000 -0400
@@ -126,7 +126,7 @@
 extern char*          ntop_strdup(char *str, char* file, int line);
 extern void           ntop_free(void **ptr, char* file, int line);
 #else
-#define free(a)       ntop_safefree((void*)&(a), __FILE__, __LINE__)
+#define free(a)       ntop_safefree((void**)&(a), __FILE__, __LINE__)
 extern void           ntop_safefree(void **ptr, char* file, int line);
 #define malloc(sz)    ntop_safemalloc(sz, __FILE__, __LINE__)
 extern void*          ntop_safemalloc(unsigned int sz, char* file, int line);


Received: (qmail 70070 invoked from network); 15 May 2002 06:15:25 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 15 May 2002 06:15:25 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4F6FK221814
	for <ntop-dev@unipi.it>; Wed, 15 May 2002 08:15:20 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4F6FHs09474
	for <ntop-dev@unipi.it>; Wed, 15 May 2002 08:15:17 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Wed, 15 May 2002 08:15:20 +0200
Message-ID: 20020515_061520_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv27012

Modified Files:
	globals-core.h
Log Message:
Added fix to the free() prototype
courtesy of Tanner Lovelace <lovelace@opennms.org>



Received: (qmail 71739 invoked from network); 15 May 2002 07:23:41 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 15 May 2002 07:23:41 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4F7Nb224899
	for <ntop-dev@unipi.it>; Wed, 15 May 2002 09:23:37 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4F7NXs09607
	for <ntop-dev@unipi.it>; Wed, 15 May 2002 09:23:34 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Wed, 15 May 2002 09:23:38 +0200
Message-ID: 20020515_072338_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv11489

Modified Files:
	globals.h http.c
Log Message:
Added enhancement to keep nasty guys away.
Everytime a bad URL is requested, ntop records the IP
address which originated the request. ntop will not
respond to future requests from there addresses. The
list of 'nasty addresses' is 3 elements long (elements
are shifted when a new IP is address).
This is not the ultimate solution but it avoid to see
multiple attempts from the same source as the ones below:
15/May/2002 02:51:31 [http.c:1006] ERROR: URL security: \
'scripts/..%%35%63../winnt/system32/cmd.exe?/c+dir' rejected \
(code=2)(clienta.74.223.14) 15/May/2002 02:51:32 [http.c:877] URL security(2): ERROR: \
Found % in URL...rejecting request 15/May/2002 02:51:32 [http.c:1006] ERROR: URL \
security: 'scripts/..%%35c../winnt/system32/cmd.exe?/c+dir' rejected \
(code=2)(clienta.74.223.14) 15/May/2002 02:51:32 [http.c:901] URL security(3): ERROR: \
Found .. in URL...rejecting request 15/May/2002 02:51:32 [http.c:1006] ERROR: URL \
security: 'scripts/..%25%35%63../winnt/system32/cmd.exe?/c+dir' rejected \
(code=3)(clienta.74.223.14) 15/May/2002 02:51:33 [http.c:901] URL security(3): ERROR: \
Found .. in URL...rejecting request 15/May/2002 02:51:33 [http.c:1006] ERROR: URL \
security: 'scripts/..%252f../winnt/system32/cmd.exe?/c+dir' rejected \
(code=3)(clienta.74.223.14) 15/May/2002 05:02:24 [http.c:907] URL security(4): ERROR: \
Prohibited character(s) [ ] in URL... rejecting request




Received: (qmail 72637 invoked from network); 15 May 2002 09:24:49 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 15 May 2002 09:24:49 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from orion2.iberdrola.es ([217.22.96.165])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4F9Od200412;
	Wed, 15 May 2002 11:24:40 +0200 (MEST)
Received: from larra2 ([217.22.96.131]) by orion2.iberdrola.es with SMTP (Microsoft \
Exchange Internet Mail Service Version 5.5.2655.15)  id J4HMNWD7; Wed, 15 May 2002 \
                11:24:58 +0200
Received: by o-bilarr1.iberdrola.es with Internet Mail Service (5.5.2655.15)
	id <2Z2DR3LB>; Wed, 15 May 2002 11:24:59 +0200
Message-ID: <6C56AD31C5FAD411B2300006298FA4CA01CD52AF@b-bilarr0.iberdrola.es>
From: "Rivera Alonso, David" <drivera@iberdrola.es>
To: "'ntop-dev@unipi.it'" <ntop-dev@Unipi.IT>,
   "'ntop@unipi.it'"
	 <ntop@Unipi.IT>
Date: Wed, 15 May 2002 11:24:56 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.15)
Content-Type: text/plain;
	charset="iso-8859-1"
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] Most stable ntop 2.0.XX snapshot for Solaris 5.7?
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Dear friends,

which ntop 2.0.XX snapshot would you recommend as most stable and easy to
compile in Solaris 5.7?

regards,

DAVID

Received: (qmail 75161 invoked from network); 15 May 2002 13:42:53 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 15 May 2002 13:42:53 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from orion2.iberdrola.es ([217.22.96.166])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4FDgl213204;
	Wed, 15 May 2002 15:42:47 +0200 (MEST)
Received: from larra1 ([217.22.96.130]) by orion2.iberdrola.es with SMTP (Microsoft \
Exchange Internet Mail Service Version 5.5.2655.15)  id J4HMG5ZV; Wed, 15 May 2002 \
                15:43:08 +0200
Received: by o-bilarr2.iberdrola.es with Internet Mail Service (5.5.2655.15)
	id <JVTJR5DH>; Wed, 15 May 2002 15:43:06 +0200
Message-ID: <6C56AD31C5FAD411B2300006298FA4CA01CD52BA@b-bilarr0.iberdrola.es>
From: "Rivera Alonso, David" <drivera@iberdrola.es>
To: "'ntop-dev@unipi.it'" <ntop-dev@Unipi.IT>,
   "'ntop@unipi.it'"
	 <ntop@Unipi.IT>
Date: Wed, 15 May 2002 15:42:59 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.15)
Content-Type: text/plain;
	charset="iso-8859-1"
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] Compilation errors in Solaris
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Dear friends,

I'm compiling ntop snapshot from 02april2002 in Solaris 5.7 with GNU
gcc3.0.3 and binutils 2.11.2
(both as packages from SUNFREEWARE.COM) installed under /usr/local.
So, the compiler, linker and assembler are GNU (see order in PATH variable)

PATH=/usr/local/bin:/usr/local/sbin:/usr/local/include:usr/local/lib:/usr/cc
s/bin:/usr/include/sys:/usr/sbin:/usr/bin

I follow this steps (as told in the README):

1. Get mandatory packages/tools
   - gdbm       http://www.gnu.org/
   - libpcap    http://www.tcpdump.org/

2. Build chart libraries
   - cd gdchart0.94c/
   - ./configure
   - cd gd-1.8.3/libpng-1.0.8
   - cp scripts/makefile.[make your choice] Makefile
   - make
   - cd ../../zlib-1.1.3/
   - ./configure
   - make
   - cd ..
   - make

3. Build ntop
   - cd ntop
   - ./configure
   - make
   - make install

When I "make" ntop, I get this error:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include
-I/opt/sw_instalable/ntop-current/gdchart0.94c -g -O2 -pipe
-Wp,-MD,.deps/sflowPo
sflowPlugin.c:194: field `ip_v6' has incomplete type
sflowPlugin.c:195: confused by earlier errors, bailing out
{standard input}: Assembler messages:
{standard input}:895: Warning: end of file in string: inserted '"'
{standard input}:1054: Warning: .stabs: Missing comma
make[3]: *** [sflowPlugin.lo] Error 1
make[3]: Leaving directory `/opt/sw_instalable/ntop-current/ntop/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/sw_instalable/ntop-current/ntop/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/sw_instalable/ntop-current/ntop'
make: *** [all-recursive-am] Error 2

Anyway, I believe I don't really need this PLUGINS section to fully make, do
I?
So, I go on and "make install". I get the same error. And when I start NTOP
I get:

	ld.so.1: ntop: fatal: libz.so: open failed: No such file or
directory
	Killed

Any clues on the plugins error and the libz error (maybe the problem is that
I have the zlib 1.1.4 installed in /usr/local and the release included with
NTOP snapshot is 1.1.3)?

many thanks,

DAVID

Received: (qmail 86085 invoked from network); 16 May 2002 06:46:29 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 16 May 2002 06:46:29 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4G6kN220292
	for <ntop-dev@unipi.it>; Thu, 16 May 2002 08:46:23 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4G6kLs13652
	for <ntop-dev@unipi.it>; Thu, 16 May 2002 08:46:21 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Thu, 16 May 2002 08:46:25 +0200
Message-ID: 20020516_064625_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop/utils
In directory jabber:/tmp/cvs-serv19381

Added Files:
	init.d_ntop
Log Message:
Added script for /etc/init.d/ntop
Author: Paul Mansfield <paul.mansfield@uk.worldpay.com>



Received: (qmail 86605 invoked from network); 16 May 2002 07:54:45 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 16 May 2002 07:54:45 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4G7sd223292
	for <ntop-dev@unipi.it>; Thu, 16 May 2002 09:54:39 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4G7sZs13769
	for <ntop-dev@unipi.it>; Thu, 16 May 2002 09:54:36 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Thu, 16 May 2002 09:54:41 +0200
Message-ID: 20020516_075441_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv2616

Modified Files:
	ntop.c plugin.c reportUtils.c sessions.c webInterface.c
Log Message:
Fixed bug in the code that handles passive FTP (passive FTP
traffic was not recognised as such)

Plugins now terminate/start when the user changes their state
using the web interface




Received: (qmail 86769 invoked from network); 16 May 2002 07:55:51 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 16 May 2002 07:55:51 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4G7tj223471
	for <ntop-dev@unipi.it>; Thu, 16 May 2002 09:55:45 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4G7tfs13773
	for <ntop-dev@unipi.it>; Thu, 16 May 2002 09:55:42 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Thu, 16 May 2002 09:55:47 +0200
Message-ID: 20020516_075547_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop/plugins
In directory jabber:/tmp/cvs-serv2630

Modified Files:
	netflowPlugin.c pdaPlugin.c
Log Message:
Added termination function to the netflow plugin
Cut name of PDAplugin author (was too long)



Received: (qmail 816 invoked from network); 17 May 2002 10:58:06 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 17 May 2002 10:58:06 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4HAvxi28468
	for <ntop-dev@unipi.it>; Fri, 17 May 2002 12:57:59 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4HAv4s17624
	for <ntop-dev@unipi.it>; Fri, 17 May 2002 12:57:05 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Fri, 17 May 2002 12:57:42 +0200
Message-ID: 20020517_105742_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author burton)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv11378

Modified Files:
	util.c
Log Message:
Update "NULL" mutex messages to differentiate between a real null value
and an un-initialized mutex.  Also added an error message if the createMutex
call fails.

-----Burton (Ref: BMS-0074b)



Received: (qmail 2200 invoked from network); 17 May 2002 14:07:49 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 17 May 2002 14:07:49 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4HE7fi09558
	for <ntop-dev@unipi.it>; Fri, 17 May 2002 16:07:41 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4HE7es18444
	for <ntop-dev@unipi.it>; Fri, 17 May 2002 16:07:40 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Fri, 17 May 2002 16:07:43 +0200
Message-ID: 20020517_140743_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv12339

Modified Files:
	graph.c ntop.h ntop_win32.c ntop_win32.h sessions.c
Log Message:
Added fixes for Win32
Fixed bug on host/IP traffic chart



Received: (qmail 6650 invoked from network); 17 May 2002 18:08:13 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 17 May 2002 18:08:13 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from mailhub.txc.com (transfire.txc.com [208.5.237.254])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4HI84i21326
	for <ntop-dev@unipi.it>; Fri, 17 May 2002 20:08:04 +0200 (MEST)
Received: from txc.com (bikram.txc.com [172.17.0.52])
	by mailhub.txc.com (8.9.3/8.9.3) with ESMTP id OAA00958;
	Fri, 17 May 2002 14:08:02 -0400
Received: (from igor@localhost)
	by txc.com (8.11.6/8.11.6) id g4HI8WW23402;
	Fri, 17 May 2002 14:08:32 -0400
Date: Fri, 17 May 2002 14:08:32 -0400
From: Igor Schein <igor@txc.com>
To: ntop-dev@Unipi.IT
Cc: "Burton M. Strauss III" <Burton@ntopsupport.com>
Message-ID: <20020517140832.K17845@txc.com>
References: <20020517125006.I17845@txc.com> \
                <JIEPJGFPFMFIGBNCPKGGGEMECHAA.Burton@ntopsupport.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5.1i
In-Reply-To: <JIEPJGFPFMFIGBNCPKGGGEMECHAA.Burton@ntopsupport.com>; from \
                Burton@ntopsupport.com on Fri, May 17, 2002 at 12:22:00PM -0500
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] Re: [Ntop] Sorting problem
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
X-Reply-To: igor@txc.com
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

On Fri, May 17, 2002 at 12:22:00PM -0500, Burton M. Strauss III wrote:
> First off, ONE QUESTION PER message - otherwise the back traffic in the
> archive is useless...
> 
> Answer: No clue - I must say that it works fine for me.
> 
> The percentages are fried, but it's working fine for me - just remember that
> some are MB and others are KB (1/1000 MB), so it will sort
> 
> 23MB
> 7.4MB
> 6.9MB
> 896.9KB
> etc.
> 
> 
> That was code that Luca reworked a couple of months ago and has worked for
> me baring one bug which he's fixed.
> 
> -----Burton

Here's what I see at the top of "Network Traffic: Data Sent" table in
presumably sorted "Actual Thpt" column ( the column I'm most often
care about ):

27.8 Kbps
4.7 Kbps
1.5 Kbps
24.4 Kbps
289.4 Kbps
1.3 Mbps

Look everything but sorted to me, no matter how you look at it.
The same column in "Network Traffic: Data Rcvd" table is sorted
properly.

Thanks again

Igor

> 
> -----Original Message-----
> From: ntop-admin@unipi.it [mailto:ntop-admin@unipi.it]On Behalf Of Igor
> Schein
> Sent: Friday, May 17, 2002 11:50 AM
> To: ntop@Unipi.IT
> Subject: [Ntop] Sorting problem
> 
> 
> Hi,
> 
> Sorting by columns in "Network Traffic: Data Sent" area still doesn't
> work as of May 17 snapshot.  Is there a chance it'll be fixed anytime
> soon?  I already got used to an idea that "Active TCP Sessions" is
> gonna stay disabled for some time.
> 
> <snip>
> 
> Thanks
> 
> Igor

Received: (qmail 7594 invoked from network); 17 May 2002 19:42:21 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 17 May 2002 19:42:21 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4HJgCi25873
	for <ntop-dev@unipi.it>; Fri, 17 May 2002 21:42:13 +0200 (MEST)
Received: from swallowtail ([12.239.135.207]) by rwcrmhc52.attbi.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP
          id <20020517194206.MARS18801.rwcrmhc52.attbi.com@swallowtail>;
          Fri, 17 May 2002 19:42:06 +0000
From: "Burton M. Strauss III" <Burton@ntopsupport.com>
To: <ntop-dev@Unipi.IT>
Cc: <igor@txc.com>
Subject: RE: [Ntop-dev] Sorting problem
Date: Fri, 17 May 2002 14:46:52 -0500
Message-ID: <JIEPJGFPFMFIGBNCPKGGIEMLCHAA.Burton@ntopsupport.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
In-Reply-To: <20020517140832.K17845@txc.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

'kay - that one I knew about and have reported to Luca.   You didn't say
WHICH report under sent, so I assumed it was the first ones (which HAD been
broken, but were fixed).

Please grab -rc1 and retest it - if - as I suspect - it's still broken, look
for a msg I'll post in a minute re rc1 bug reports and we'll try to get Luca
to fix it...

-----Burton

-----Original Message-----
From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
Of Igor Schein
Sent: Friday, May 17, 2002 1:09 PM
To: ntop-dev@Unipi.IT
Cc: Burton M. Strauss III
Subject: [Ntop-dev] Re: [Ntop] Sorting problem


On Fri, May 17, 2002 at 12:22:00PM -0500, Burton M. Strauss III wrote:
> First off, ONE QUESTION PER message - otherwise the back traffic in the
> archive is useless...
> 
> Answer: No clue - I must say that it works fine for me.
> 
> The percentages are fried, but it's working fine for me - just remember
that
> some are MB and others are KB (1/1000 MB), so it will sort
> 
> 23MB
> 7.4MB
> 6.9MB
> 896.9KB
> etc.
> 
> 
> That was code that Luca reworked a couple of months ago and has worked for
> me baring one bug which he's fixed.
> 
> -----Burton

Here's what I see at the top of "Network Traffic: Data Sent" table in
presumably sorted "Actual Thpt" column ( the column I'm most often
care about ):

27.8 Kbps
4.7 Kbps
1.5 Kbps
24.4 Kbps
289.4 Kbps
1.3 Mbps

Look everything but sorted to me, no matter how you look at it.
The same column in "Network Traffic: Data Rcvd" table is sorted
properly.

Thanks again

Igor

> 
> -----Original Message-----
> From: ntop-admin@unipi.it [mailto:ntop-admin@unipi.it]On Behalf Of Igor
> Schein
> Sent: Friday, May 17, 2002 11:50 AM
> To: ntop@Unipi.IT
> Subject: [Ntop] Sorting problem
> 
> 
> Hi,
> 
> Sorting by columns in "Network Traffic: Data Sent" area still doesn't
> work as of May 17 snapshot.  Is there a chance it'll be fixed anytime
> soon?  I already got used to an idea that "Active TCP Sessions" is
> gonna stay disabled for some time.
> 
> <snip>
> 
> Thanks
> 
> Igor
_______________________________________________
Ntop-dev mailing list
Ntop-dev@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-dev


Received: (qmail 8351 invoked from network); 17 May 2002 20:07:33 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 17 May 2002 20:07:33 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4HK7Oi27061;
	Fri, 17 May 2002 22:07:24 +0200 (MEST)
Received: from swallowtail ([12.239.135.207]) by rwcrmhc52.attbi.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP
          id <20020517200718.MOTJ18801.rwcrmhc52.attbi.com@swallowtail>;
          Fri, 17 May 2002 20:07:18 +0000
From: "Burton M. Strauss III" <Burton@ntopsupport.com>
To: "Ntop" <ntop@Unipi.IT>, "Ntop-Dev" <ntop-dev@Unipi.IT>
Date: Fri, 17 May 2002 15:12:05 -0500
Message-ID: <JIEPJGFPFMFIGBNCPKGGKEMNCHAA.Burton@ntopsupport.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] Reporting bugs in 2.1 release candidates
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

To report a bug in the 2.0.99-rc1 (2.1 release candidate):

1. Put RC1BUG in the subject along with a meaningful title
      "ntop problem" won't do.  "ntop seg faults in xxxx.c at line xxxx" is
great


2. Make explicit WHICH RC you are reporting this against.  Where you got it,
etc.
      "RC1, downloaded from ntop.org on 18May2002, built from source"

   Also indicate if you have followed the procedure in BUILD-NTOP.txt to
make a static linked version OR are using shared libraries installed with
the OS.


3. Give a detailed explanation of the problem


4. Background information

The EXACT command line you use to invoke ntop.  If it's in a script, cut &
paste it and resolve all the variables!

Web interface problems: The exact URL you used from the browser.  (If you
are in the normal frameset, you may need to right click - open in a new
window - to see the url).  Otherwise, give the FULL navigation, e.g.   Data
Sent | Throughput, clicked on "Host" to sort)

Error Messages: Cut & paste the exact text.  If it's in the log, give us 15
or 20 lines before.

      If the problem is a segmentation fault, include the backtrace
(available with the gcc compiler if you specify the -K parameter).  This is
only a minimal trace and may not give us the information we need, but it's
better than nothing.

      For repeatable seg faults, please see instructions on using gdb at
http://snapshot.ntop.org and post the "info stack" and relevant variable
"print" command outputs.


4. Environment - please give the following information:

OS & Version  (e.g. Solaris 8/i386 or RedHat Linux 7.3 or whatever)

CPU (type & quantity), Memory (e.g. 1 P3-800, 128MB)

# network interfaces and types (vendor, bus, etc.), plus where they are on
the network (e.g.
two NetGear RT311s (PCI), one on the internal network, one connected to the
cable modem).  We're trying to see roughly where are the interface(s) you're
monitoring and what their bandwidth is.

How many machines (traffic sources/destinations) and users are being
monitored. (e.g. 10 hosts - 2 are very busy ftp servers, the rest user
workstations)

What else (other daemons) is/are running on the machine, load, etc.  Again,
we're interested if this is a very busy, memory constrained machine, or ntop
has a dual Pentium 1000, with 1GB of ram to monitor a 56k dialup...


?s/Issues - sing out, but remember, more information is always better than
to little.


-----Burton


Received: (qmail 15263 invoked from network); 18 May 2002 03:29:27 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 18 May 2002 03:29:27 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4I3TIi16368;
	Sat, 18 May 2002 05:29:18 +0200 (MEST)
Received: from swallowtail ([12.239.135.207]) by rwcrmhc53.attbi.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP
          id <20020518032907.ULLH12519.rwcrmhc53.attbi.com@swallowtail>;
          Sat, 18 May 2002 03:29:07 +0000
From: "Burton M. Strauss III" <Burton@ntopsupport.com>
To: "Ntop" <ntop@Unipi.IT>, "Ntop-Dev" <ntop-dev@Unipi.IT>
Date: Fri, 17 May 2002 22:33:56 -0500
Message-ID: <JIEPJGFPFMFIGBNCPKGGIENICHAA.Burton@ntopsupport.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] RC1 rpms are available
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

at http://www.ntopsupport.com/download.html

Only lightly tested, but they do install and run for me...

-----Burton



Received: (qmail 17964 invoked from network); 18 May 2002 10:56:41 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 18 May 2002 10:56:41 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from figg.isecure.com.au (ns2.isecure.com.au [202.125.4.72])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4IAuUi05648
	for <ntop-dev@unipi.it>; Sat, 18 May 2002 12:56:31 +0200 (MEST)
Received: from iron.isentry.net.au (iron.isecure.com.au [202.125.4.94] (may be \
forged))  by figg.isecure.com.au (8.11.3/8.11.3) with ESMTP id g4IAuRL09347
	for <ntop-dev@unipi.it>; Sat, 18 May 2002 20:56:27 +1000
Received: (from smap@localhost)
	by iron.isentry.net.au (8.11.2/8.10.2) id g4IAuRs20662
	for <ntop-dev@unipi.it>; Sat, 18 May 2002 20:56:27 +1000 (EST)
X-Authentication-Warning: iron.isentry.net.au: smap set sender to \
                <xwin@IPAustralia.Gov.AU> using -f
Received: from nodnsquery(10.11.3.10) by iron via smap (V5.5)
	id xma020648; Sat, 18 May 02 20:56:20 +1000
Received: from vmail.aipo.gov.au (localhost [127.0.0.1])
	by gibbons.isecure.com.au (8.11.3/8.10.2) with ESMTP id g4IAuJ507925
	for <ntop-dev@unipi.it>; Sat, 18 May 2002 20:56:19 +1000
Received: from stan.aipo.gov.au (wf-70.aipo.gov.au [192.168.1.70])
	by vmail.aipo.gov.au (8.11.6/8.11.6) with ESMTP id g4IAuI975357
	for <ntop-dev@unipi.it>; Sat, 18 May 2002 20:56:18 +1000 (EST)
	(envelope-from xwin@IPAustralia.Gov.AU)
Received: (from xwin@localhost)
	by stan.aipo.gov.au (8.11.6/8.11.6) id g4IAuHL00240
	for ntop-dev@unipi.it; Sat, 18 May 2002 20:56:17 +1000 (EST)
	(envelope-from xwin@IPAustralia.Gov.AU)
X-Authentication-Warning: stan.aipo.gov.au: xwin set sender to \
                xwin@IPAustralia.Gov.AU using -f
Date: Sat, 18 May 2002 20:56:16 +1000
From: Stanley Hopcroft <Stanley.Hopcroft@IPAustralia.Gov.AU>
To: Ntop-Dev <ntop-dev@Unipi.IT>
Message-ID: <20020518205614.A184@IPAustralia.Gov.AU>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5.1i
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] RC1BUG: Wrong %s in Sent or Received data web display.
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Dear Ladies and Gentlemen,

1 & 2

I am writing to report a low severity potential problem with the rc1 of
ntop (built from source, with static library support from the link on
www.ntop.org 'ntop 2.0.99 released'. Build mainly follows directions in
docs/BUILD-NTOP.txt).

3

The problem is that web displays of the data sent and received (eg
http://yada:3000/sortDataSentIP.html) have incorrect percentages in
column 2 eg

 REFRESH(120 sec): http://localhost:3000/sortDataReceivedIP.html

                                                    Network
Traffic: Data Received

   Host Domain Data  Descending order, click to reverse FTP HTTP DNS
Telnet NBios-IP Mail DHCP/BOOTP SNMP NNTP NFS X11 SSH Gnutella
   Morpheus WinMX Audiogalaxy Other IP
   ipa01.aipo.gov.au Flag for domain au 5.2 MB 86.9 %         1022.6 KB
4.2 MB
   syd1.aipo.gov.au Flag for domain au 1.6 MB 27.1 %         1.4 MB
234.9 KB
   pc09011.aipo.gov.au Flag for domain au 980.8 KB 16.1 %
111.3 KB         869.5 KB
   tssyd.aipo.gov.au Flag for domain au 310.4 KB 5.1 %     62.4 KB
235.2 KB         12.9 KB
   noteshub01.aipo.gov.au Flag for domain au 183.2 KB 3.0 %
183.2 KB
   saptst.aipo.gov.au Flag for domain au 93.4 KB 1.5 %         120
93.3 KB
   sapdev.aipo.gov.au Flag for domain au 90.4 KB 1.5 %         989
89.4 KB
   syd_apas Flag for domain au 81.6 KB 1.4 %         74.6 KB
7.0 KB
   ipaprint.aipo.gov.au Flag for domain au 73.8 KB 1.2 %         310
73.5 KB

 REFRESH(120 sec): http://localhost:3000/sortDataSentIP.html

                                                      Network
Traffic: Data Sent

   Host Domain Data  Descending order, click to reverse FTP HTTP DNS
Telnet NBios-IP Mail DHCP/BOOTP SNMP NNTP NFS X11 SSH Gnutella
   Morpheus WinMX Audiogalaxy Other IP
   ipa01.aipo.gov.au Flag for domain au 6.5 MB 106.2 %         1.2 MB
5.2 MB
   syd1.aipo.gov.au Flag for domain au 1.6 MB 25.7 %         1.2 MB
321.0 KB
   tssyd.aipo.gov.au Flag for domain au 693.6 KB 11.1 %     36.8 KB
643.5 KB         13.3 KB
   pc09011.aipo.gov.au Flag for domain au 423.6 KB 6.8 %
76.0 KB         347.6 KB
   noteshub01.aipo.gov.au Flag for domain au 148.8 KB 2.4 %
148.8 KB
   sydpscam.aipo.gov.au Flag for domain au 98.4 KB 1.6 %         11.8 KB
86.6 KB
   saptst.aipo.gov.au Flag for domain au 89.4 KB 1.4 %         430
89.0 KB
   sapdev.aipo.gov.au Flag for domain au 86.5 KB 1.4 %         996
85.5 KB
   wins.aipo.gov.au Flag for domain au 58.5 KB 0.9 %         4.1 KB
54.5 KB


The values are incorrect because the sum of the percentages is > 100.

4 ../bin/ntop -c -u nobody -d -P /var/log/ntop -w 3000 -S 1 -i fxp0 net
192.168.102.0 mask 255.255.255.0 && echo -n ' ntop'

Problem evident when browsing

http://localhost:3000/sortDataReceivedIP.html
http://localhost:3000/sortDataSent.html

5 FreeBSD 4.5-RELEASE-p4 (ie RELEASE + only security patches)

Uniprocessor PII 233 MHz. 64 MB RAM 250 MB swap.

Single PCI NIC (Intel 10/100 PRO running at 10 Mbps connected to Cisco
2820 switch).


Very lightly loaded eg

tssyd> top -b
last pid:  3231;  load averages:  0.00,  0.00,  0.00  up 16+01:08:18
20:48:13
14 processes:  1 running, 12 sleeping, 1 zombie

Mem: 19M Active, 22M Inact, 13M Wired, 5384K Cache, 15M Buf, 1788K Free
Swap: 250M Total, 20K Used, 250M Free


  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
 2967 nobody     2   0 12892K  8160K poll     0:11  0.05%  0.05% ntop
   62 root       2   0  1300K   704K select   1:21  0.00%  0.00% ntpd
   71 root       2   0  2216K  1252K select   0:18  0.00%  0.00% sshd
   69 root      10   0   984K   592K nanslp   0:11  0.00%  0.00% cron
   59 root       2   0   948K   532K select   0:08  0.00%  0.00% syslogd
 3181 root       2   0  2368K  1700K select   0:00  0.00%  0.00% sshd
 3231 anwsmh    30   0  1864K   916K RUN      0:00  0.00%  0.00% top
 3182 anwsmh    18   0  1368K   936K pause    0:00  0.00%  0.00% csh
  105 root       3   0   948K   528K ttyin    0:00  0.00%  0.00% getty
  106 root       3   0   948K   528K ttyin    0:00  0.00%  0.00% getty
  107 root       3   0   948K   528K ttyin    0:00  0.00%  0.00% getty
  108 root       3   0   944K   504K siodcd   0:00  0.00%  0.00% getty
   21 root      18   0   208K    60K pause    0:00  0.00%  0.00%
adjkerntz

Ntop is monitoring a segment with less than 30 Win 9x hosts running
office applications which they download from a local MS file server.
Dataabases and Internet are accessed via 128 kbps Frame Relay link (via
a single ethernet interface router on that segment). The segment
contains <= 6 Jet Direct printers (with their rotten IPX SAPs).

Thank you,

Yours sincerely.


--
Stanley Hopcroft

Say that he's a loser 'cause he got no common sense
Because he don't increase his worth at someone else's expense.
Because he's not afraid of trying, 'cause he don't look at you and smile,
'Cause he doesn't tell you jokes or fairy tales, say he's got no style.

When the whip that's keeping you in line doesn't make him jump,
Say he's hard-of-hearin', say that he's a chump.
Say he's out of step with reality as you try to test his nerve
Because he doesn't pay no tribute to the king that you serve.

He's the property of Jesus
Resent him to the bone
You got something better
You've got a heart of stone

from 'Property of Jesus', Bob Dylan circa 1981

Received: (qmail 25372 invoked from network); 19 May 2002 12:16:45 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 19 May 2002 12:16:45 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4JCGYx07607
	for <ntop-dev@unipi.it>; Sun, 19 May 2002 14:16:34 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4JCGQs23999
	for <ntop-dev@unipi.it>; Sun, 19 May 2002 14:16:26 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Sun, 19 May 2002 14:16:37 +0200
Message-ID: 20020519_121637_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author burton)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv27852

Modified Files:
	ntop.h
Log Message:
Fixed typo in netFlow structure comment.

-----Burton (NR)



Received: (qmail 324 invoked from network); 20 May 2002 07:15:53 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 20 May 2002 07:15:53 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4JJHbx23416
	for <ntop-dev@unipi.it>; Sun, 19 May 2002 21:17:37 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4JJHbs06833
	for <ntop-dev@unipi.it>; Sun, 19 May 2002 21:17:37 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Sun, 19 May 2002 21:17:38 +0200
Message-ID: 20020519_191738_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv29552

Modified Files:
	address.c
Log Message:
Reworked routine that takes care of address resolution. Now the
routine code is much simpler (and hopefully bugless)



Received: (qmail 321 invoked from network); 20 May 2002 07:15:53 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 20 May 2002 07:15:53 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4JJZZx24182
	for <ntop-dev@unipi.it>; Sun, 19 May 2002 21:35:35 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4JJZYs07107
	for <ntop-dev@unipi.it>; Sun, 19 May 2002 21:35:34 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Sun, 19 May 2002 21:35:35 +0200
Message-ID: 20020519_193535_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv29645

Modified Files:
	hash.c
Log Message:
Changed logic for hash extension: the hash does not double its size
but it is extended with not more than 4096 buckets. This avoids to have
large hashes



Received: (qmail 63936 invoked from network); 14 May 2002 21:13:17 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 14 May 2002 21:13:17 -0000
Received: from mixer.unipi.it (mixer.unipi.it [131.114.188.5])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4ELDC226106
	for <ntop-dev@unipi.it>; Tue, 14 May 2002 23:13:12 +0200 (MEST)
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by mixer.unipi.it (8.11.6/8.11.6) with ESMTP id g4EIZSc04803
	for <ntop-dev@unipi.it>; Tue, 14 May 2002 20:35:28 +0200 (MEST)
Received: from clsppop1.clsp.uswest.net (clsppop1.clsp.uswest.net [207.109.160.1])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4EIZPs07726
	for <ntop-dev@ntop.org>; Tue, 14 May 2002 20:35:26 +0200
Received: (qmail 92332 invoked by alias); 14 May 2002 18:28:21 -0000
Delivered-To: fixup-ntop-dev@ntop.org@fixme
Received: (qmail 92317 invoked by uid 0); 14 May 2002 18:28:21 -0000
Received: from dsl-gw2-c101.clsp.uswest.net (HELO dave) (63.227.180.101)
  by clsppop1.clsp.uswest.net with SMTP; 14 May 2002 18:28:21 -0000
From: "Dave Cook" <dcook@ccs-a.com>
To: <ntop-dev@ntop.org>
Date: Tue, 14 May 2002 12:35:16 -0600
Message-ID: <EOEOJFDLKKKBHKEDJDHLKEHGCCAA.dcook@ccs-a.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] Need information about translation
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Dear Ntop Dev team,

I currently work with the Chinese Telecommunications Hardware/ISP division
on various projects and would like to translate Ntop to Simplified Chinese.
I am unable to find translation information on the Ntop.org web site.  I was
wondering if you could send me any information that you can about how to
translate Ntop.

Thank you for your assistance,

Dave Cook
CCSA
642 North Tower
Colorado Springs, CO 80905
Voice: (719) 635-8565
email: dcook@ccs-a.com
  Fax: (703) 783-6622
  Web: http://www.ccs-a.com



Received: (qmail 289 invoked from network); 20 May 2002 07:14:58 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 20 May 2002 07:14:58 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4K2DIx11838
	for <ntop-dev@unipi.it>; Mon, 20 May 2002 04:13:18 +0200 (MEST)
Received: from saturn.sst.ll.mit.edu (steve.sst.ll.mit.edu [129.55.21.11])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g4K2DFs08096
	for <ntop-dev@ntop.org>; Mon, 20 May 2002 04:13:16 +0200
X-Authentication-Warning: jake.unipi.it: Host steve.sst.ll.mit.edu [129.55.21.11] \
                claimed to be saturn.sst.ll.mit.edu
Received: from localhost (saturn [192.5.135.115])
	by saturn.sst.ll.mit.edu (8.10.2+Sun/8.9.3) with ESMTP id g4K2DB705324
	for <ntop-dev@ntop.org>; Sun, 19 May 2002 22:13:12 -0400 (EDT)
Date: Sun, 19 May 2002 22:13:36 -0400
Mime-Version: 1.0 (Apple Message framework v481)
Content-Type: text/plain; charset=US-ASCII; format=flowed
From: "Robert K. Cunningham" <rkc@ll.mit.edu>
To: ntop-dev@ntop.org
Content-Transfer-Encoding: 7bit
Message-Id: <314379EE-6B97-11D6-9D44-0003936C5A08@ll.mit.edu>
X-Mailer: Apple Mail (2.481)
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] Mac OS X Binary?
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Luca,
   I know I'm being lazy, but why did you stop providing the Mac OS X
binary of ntop?

Rob
______________________________________________
Dr. Robert K. Cunningham             voice:  (781) 981-7623
Assistant Leader                     fax:    (781) 981-0186
Information Systems Technology Group e-mail: rkc@ll.mit.edu
MIT Lincoln Laboratory               www:    http://www.ll.mit.edu/IST/
244 Wood Street                      pgp:    http://pgpkeys.mit.edu:11371
Lexington, MA 02420-9185


Received: (qmail 9657 invoked from network); 21 May 2002 07:15:02 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 21 May 2002 07:15:02 -0000
Received: from mixer.unipi.it (mixer.unipi.it [131.114.188.5])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4L7Epx11623
	for <ntop-dev@unipi.it>; Tue, 21 May 2002 09:14:52 +0200 (MEST)
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by mixer.unipi.it (8.11.6/8.11.6) with ESMTP id g4L70gl12307
	for <ntop-dev@unipi.it>; Tue, 21 May 2002 09:00:42 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4L70c418393
	for <ntop-dev@unipi.it>; Tue, 21 May 2002 09:00:39 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Tue, 21 May 2002 09:00:42 +0200
Message-ID: 20020521_070042_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv22772

Modified Files:
	configure configure.in
Log Message:
Added checks for tcp.h syslog.h sys/syslog.h



Received: (qmail 9658 invoked from network); 21 May 2002 07:15:02 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 21 May 2002 07:15:02 -0000
Received: from mixer.unipi.it (mixer.unipi.it [131.114.188.5])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4L7Eqx11625
	for <ntop-dev@unipi.it>; Tue, 21 May 2002 09:14:52 +0200 (MEST)
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by mixer.unipi.it (8.11.6/8.11.6) with ESMTP id g4L7EBl13465
	for <ntop-dev@unipi.it>; Tue, 21 May 2002 09:14:11 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4L7E7418430
	for <ntop-dev@unipi.it>; Tue, 21 May 2002 09:14:08 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Tue, 21 May 2002 09:14:11 +0200
Message-ID: 20020521_071411_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv532

Modified Files:
	main.c ntop.c ntop.h webInterface.c
Log Message:
Fixed some problems caused by the
introduction of use-syslog



Received: (qmail 1305 invoked from network); 21 May 2002 10:30:43 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 21 May 2002 10:30:43 -0000
Received: from mixer.unipi.it (mixer.unipi.it [131.114.188.5])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4LAUrw19211
	for <ntop-dev@unipi.it>; Tue, 21 May 2002 12:30:53 +0200 (MEST)
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by mixer.unipi.it (8.11.6/8.11.6) with ESMTP id g4KLx8l09278
	for <ntop-dev@unipi.it>; Mon, 20 May 2002 23:59:08 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4KLx6417165
	for <ntop-dev@unipi.it>; Mon, 20 May 2002 23:59:06 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Mon, 20 May 2002 23:59:08 +0200
Message-ID: 20020520_215908_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author burton)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv6875

Modified Files:
	ntop.h globals.h main.c util.c globals-core.c webInterface.c
	ntop.c ntop.8 ntop.txt
Log Message:
Modification to ntop's parameters to allow specification of the syslog
facility via a --use-syslogúcility parameter.

Note that unlike the usual short/long mapping, -L and --use-syslog
are not exactly equivalent - see the comments in the code and
documentation file.

Note that to use the parameter it must be coded as:

     --use-syslogúcility

If you code:

     --use-syslog facility

the facility is ignored and it's treated just like -L (which uses a default
facility)

-----Burton (ref BMS0060)

PS: I was sure I had checked this in a while back, but can't find any
records... so here it is.




Received: (qmail 1367 invoked from network); 21 May 2002 10:31:09 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 21 May 2002 10:31:09 -0000
Received: from mixer.unipi.it (mixer.unipi.it [131.114.188.5])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4LAVJw19291
	for <ntop-dev@unipi.it>; Tue, 21 May 2002 12:31:19 +0200 (MEST)
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from mailhub.txc.com (transfire.txc.com [208.5.237.254])
	by mixer.unipi.it (8.11.6/8.11.6) with ESMTP id g4KLael07619
	for <ntop-dev@unipi.it>; Mon, 20 May 2002 23:36:41 +0200 (MEST)
Received: from txc.com (bikram.txc.com [172.17.0.52])
	by mailhub.txc.com (8.9.3/8.9.3) with ESMTP id RAA25148
	for <ntop-dev@unipi.it>; Mon, 20 May 2002 17:36:33 -0400
Received: (from igor@localhost)
	by txc.com (8.11.6/8.11.6) id g4KLb4w08699
	for ntop-dev@unipi.it; Mon, 20 May 2002 17:37:04 -0400
Date: Mon, 20 May 2002 17:37:04 -0400
From: Igor Schein <igor@txc.com>
To: ntop-dev@Unipi.IT
Message-ID: <20020520173704.A17845@txc.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5.1i
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] RC1BUG: sorting broken Data Sent/Throughput/Actual Thpt
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
X-Reply-To: igor@txc.com
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

version 2.0.99 built on 05/17/02 07:37:55 PM from sources accroding
to the procedure.

I still cannot sort by Actual Thpt in Data Sent tab - the column remains
unsorted.

I'm not gonna be completely formal with this bug report, because the
problem appears to be generic.  If any1 is actually able to sort by
that column with the same version of code, please let me know, and
I'll resubmit a complete bug report.

Thanks

Igor

Received: (qmail 4053 invoked from network); 21 May 2002 12:08:56 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 21 May 2002 12:08:56 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4LC95w27251
	for <ntop-dev@unipi.it>; Tue, 21 May 2002 14:09:05 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4LC8x419061
	for <ntop-dev@unipi.it>; Tue, 21 May 2002 14:09:00 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Tue, 21 May 2002 14:09:05 +0200
Message-ID: 20020521_120905_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv1880

Modified Files:
	address.c hash.c config.h.in configure configure.in
Log Message:
Changed the way the hash is extended
Added check for gethostbyaddr_r
Use of gethostbyaddr_r is available



Received: (qmail 4426 invoked from network); 21 May 2002 12:38:36 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 21 May 2002 12:38:36 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from mx1.cegetel.fr (mx1-out.cegetel.fr [195.115.41.100])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4LCcjw28947;
	Tue, 21 May 2002 14:38:45 +0200 (MEST)
Received: from pegase.univers.cegetel.fr (localhost [127.0.0.1])
	by mx1.cegetel.fr (8.9.3+Sun/8.9.3) with ESMTP id OAA18071;
	Tue, 21 May 2002 14:38:39 +0200 (MET DST)
Received: by PEGASE with Internet Mail Service (5.5.2653.19)
	id <LLBP2LWB>; Tue, 21 May 2002 14:38:24 +0200
Message-ID: <40043BDD1EC9D211946400A024A6E18409AA73D8@cassandre.sfr.com>
From: THELLIER Francis <francis.thellier@cegetel.fr>
To: "'ntop-dev@unipi.it'" <ntop-dev@Unipi.IT>
Cc: "'ntop@unipi.it'" <ntop@Unipi.IT>
Date: Tue, 21 May 2002 14:38:22 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] How can I generate one graph per source IP ???
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Hello,

I wan't to produce graphs statistics for throughput and protocols

I would like to have one graph per IP, is this possible ???
Does anyone have a suggestion or can help me to have one graph per source IP
?

I hope heard from anyone soon,
any suggestion would be greatly appreciated,

Thanks in advance,
Francis

Received: (qmail 5032 invoked from network); 21 May 2002 13:57:06 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 21 May 2002 13:57:06 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4LDvEw03171
	for <ntop-dev@unipi.it>; Tue, 21 May 2002 15:57:14 +0200 (MEST)
Received: from swallowtail ([12.239.135.207]) by rwcrmhc54.attbi.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP
          id <20020521135708.DIKM13253.rwcrmhc54.attbi.com@swallowtail>;
          Tue, 21 May 2002 13:57:08 +0000
From: "Burton M. Strauss III" <Burton@ntopsupport.com>
To: <ntop-dev@Unipi.IT>
Cc: <dcook@ccs-a.com>
Subject: RE: [Ntop-dev] Need information about translation
Date: Tue, 21 May 2002 09:02:28 -0500
Message-ID: <JIEPJGFPFMFIGBNCPKGGEEPJCHAA.Burton@ntopsupport.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <EOEOJFDLKKKBHKEDJDHLKEHGCCAA.dcook@ccs-a.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Importance: Normal
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

No good answer - ntop isn't really written with i18n in mind.

Most of the text is generated in-line, on the fly.  My suggestion - as the
simplest way - would be to create an new messagetext.h file, with #defines
for the various translatable phrases and then work through the code moving
text from in-line text to use the #defines.  Once that was in place, we
could then look at some form of run-time substitution...

Of course, I think we would be open to another methodology, based on the
contribution of effort (sweat equity).  Propose a design and commit to the
development effort!

-----Burton

-----Original Message-----
From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
Of Dave Cook
Sent: Tuesday, May 14, 2002 1:35 PM
To: ntop-dev@ntop.org
Subject: [Ntop-dev] Need information about translation


Dear Ntop Dev team,

I currently work with the Chinese Telecommunications Hardware/ISP division
on various projects and would like to translate Ntop to Simplified Chinese.
I am unable to find translation information on the Ntop.org web site.  I was
wondering if you could send me any information that you can about how to
translate Ntop.

Thank you for your assistance,

Dave Cook
CCSA
642 North Tower
Colorado Springs, CO 80905
Voice: (719) 635-8565
email: dcook@ccs-a.com
  Fax: (703) 783-6622
  Web: http://www.ccs-a.com


_______________________________________________
Ntop-dev mailing list
Ntop-dev@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-dev


Received: (qmail 6462 invoked from network); 21 May 2002 14:12:18 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 21 May 2002 14:12:18 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4LECSw04347
	for <ntop-dev@unipi.it>; Tue, 21 May 2002 16:12:28 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4LECI419444
	for <ntop-dev@unipi.it>; Tue, 21 May 2002 16:12:18 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Tue, 21 May 2002 16:12:24 +0200
Message-ID: 20020521_141224_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author burton)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv2073

Modified Files:
	term.c
Log Message:
Fix (minor) free(null) causing seg fault during shutdown.

-----Burton (ref: BMS-0076)



Received: (qmail 7826 invoked from network); 21 May 2002 16:44:55 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 21 May 2002 16:44:55 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4LGj4w12785
	for <ntop-dev@unipi.it>; Tue, 21 May 2002 18:45:04 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4LGip419822
	for <ntop-dev@unipi.it>; Tue, 21 May 2002 18:44:53 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Tue, 21 May 2002 18:45:03 +0200
Message-ID: 20020521_164503_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author burton)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv3368

Modified Files:
	main.c
Log Message:
Mea culpa, Mea maxima culpa...

I'm guilty of the sin of believing all compilers are gnu compilers...

The use-syslog fix didn't compile on Luca's Sun Solaris box.

Anyway, Luca partly fixed it - just chainsawed the offending block out.
This fix makes it default properly with a little message.  If I can
figure out how to do the same thing under Solaris, I'll reinstate it.
Otherwise, I'll make this gnu specific...

-----Burton (ref BMS-0060 bis)




Received: (qmail 8615 invoked from network); 21 May 2002 18:29:24 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 21 May 2002 18:29:24 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from mail.opennms.org (opennms.org [209.116.71.164])
	by cache.unipi.it (8.11.6/8.11.6) with ESMTP id g4LITXw18125
	for <ntop-dev@unipi.it>; Tue, 21 May 2002 20:29:33 +0200 (MEST)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mail.opennms.org (Postfix) with ESMTP id 557DF14707F
	for <ntop-dev@unipi.it>; Tue, 21 May 2002 14:29:28 -0400 (EDT)
Received: from linux-lovelace.internal.opennms.org (65-86-121-50.client.dsl.net \
[65.86.121.50])  by mail.opennms.org (Postfix) with ESMTP id DF331146F30
	for <ntop-dev@unipi.it>; Tue, 21 May 2002 14:29:26 -0400 (EDT)
From: Tanner Lovelace <lovelace@opennms.org>
To: ntop-dev@Unipi.IT
In-Reply-To: <1021443782.23637.47.camel@linux-lovelace.internal.opennms.org>
References: <1021443782.23637.47.camel@linux-lovelace.internal.opennms.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.3-1mdk
Date: 21 May 2002 14:29:25 -0400
Message-Id: <1022005766.12239.42.camel@linux-lovelace.internal.opennms.org>
Mime-Version: 1.0
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
X-Virus-Scanned: by AMaViS 0.3.12pre1
Subject: [Ntop-dev] RC1BUG: function prototype
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

On Wed, 2002-05-15 at 02:15, cvs-commit@ntop.org wrote:
> Update of /export/home/ntop/ntop
> In directory jabber:/tmp/cvs-serv27012
> 
> Modified Files:
> 	globals-core.h
> Log Message:
> Added fix to the free() prototype
> courtesy of Tanner Lovelace <lovelace@opennms.org>

Luca,

Thanks very much for applying my fix, but I just looked at it
(sorry about the week delay) and it actually should be added
in one other place.  You added it for the #define of free
in the MEMORY_DEBUG section.  It should also be added to
the #define of free in the #else section 7 lines below that.

Thanks,
Tanner Lovelace
--
Tanner Lovelace | lovelace@opennms.org | http://www.opennms.org/
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
GPG Fingerprint = AFD2 597F 4028 FFE2 B11A  4383 BE46 B4E1 26DC 03A3
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
          Si hoc legere scis, nimium eruditionis habes.


Received: (qmail 16588 invoked from network); 22 May 2002 14:46:14 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 22 May 2002 14:46:14 -0000
Received: from email.tridata.com.br ([200.173.154.66])
	by cache.unipi.it (8.12.3/8.11.6) with SMTP id g4MEkKJ8025862
	for <ntop-dev@unipi.it>; Wed, 22 May 2002 16:46:21 +0200 (MEST)
Received: (qmail 1587 invoked from network); 22 May 2002 14:47:35 -0000
Received: from unknown (HELO sup01.tridata.com.br) (192.168.100.46)
  by 200.173.154.66 with SMTP; 22 May 2002 14:47:35 -0000
Content-Type: text/plain;
  charset="iso-8859-1"
From: Ricardo Jorge <ricardoj@tridata.com.br>
Organization: Tridata Tecnologia Ltda
To: ntop-dev@Unipi.IT
Date: Wed, 22 May 2002 11:48:36 -0300
User-Agent: KMail/1.4.1
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200205221148.37551.ricardoj@tridata.com.br>
X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/)
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] Field error in IPTraffic Table
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
X-Reply-To: ricardoj@tridata.com.br
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Hi there !

	When I try to save (using UDP connection) from NTOP to an ODBC database, some 
errors happened and I've found that some fields in the IPTraffic are 
incorrect (I mean : what was defined in the /database dir in the 
MySQLdefs.txt file) .

	As soon as I fixed it, I was able to save to my database.

	I am sending the correct tables below. I hope this help.

	Thank you all for this incredible tool.


			Ricardo Jorge

P.S.	I also developed a small module using Tcl to receive the UDP connection 
and save SQL statements into an ODBC database. If someone think this could 
help, I can send it to the list.

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

# phpMyAdmin MySQL-Dump
# version 2.2.5
# http://phpwizard.net/phpMyAdmin/
# http://phpmyadmin.sourceforge.net/ (download page)
#
# Máquina: 127.0.0.1
# Data de Criação: 22-Mai-2002 às 10:12
# Versão do servidor: 3.23.46
# versão do PHP: 4.1.1
# Base de Dados : `NTOP`
# --------------------------------------------------------

#
# Estrutura da tabela `Hosts`
#

DROP TABLE IF EXISTS Hosts;
CREATE TABLE Hosts (
  ID int(11) NOT NULL auto_increment,
  IPaddress char(16) NOT NULL default '',
  MACaddress char(50) default NULL,
  NICvendor char(32) default NULL,
  OsName char(50) default NULL,
  PktRcvd int(11) default NULL,
  PktSent int(11) default NULL,
  PktMulticastSent int(11) default NULL,
  PktBroadcastSent int(11) default NULL,
  DataSent int(11) default NULL,
  DataRcvd int(11) default NULL,
  FirstSeen datetime default NULL,
  LastSeen datetime default NULL,
  DataMulticastSent int(11) default NULL,
  DataBroadcastSent int(11) default NULL,
  PRIMARY KEY  (ID),
  KEY ID (ID)
) TYPE=MyISAM;
# --------------------------------------------------------

#
# Estrutura da tabela `IPtraffic`
#

DROP TABLE IF EXISTS IPtraffic;
CREATE TABLE IPtraffic (
  IPaddress char(16) NOT NULL default '',
  TCPSentLoc int(11) default NULL,
  TCPSentRem int(11) default NULL,
  TCPrcvdLoc int(11) default NULL,
  TCPrcvdFromRem int(11) default NULL,
  UDPSentLoc int(11) default NULL,
  UDPSentRem int(11) default NULL,
  UDPrcvdLoc int(11) default NULL,
  UDPrcvdFromRem int(11) default NULL,
  ICMPsent int(11) default NULL,
  ICMPrcvd int(11) default NULL,
  OSPFsent int(11) default NULL,
  OSPFrcvd int(11) default NULL,
  IGMPsent int(11) default NULL,
  IGMPrcvd int(11) default NULL,
  PRIMARY KEY  (IPaddress)
) TYPE=MyISAM;
# --------------------------------------------------------

#
# Estrutura da tabela `NameMapper`
#

DROP TABLE IF EXISTS NameMapper;
CREATE TABLE NameMapper (
  IPaddress char(16) NOT NULL default '',
  Name char(50) default NULL,
  PRIMARY KEY  (IPaddress)
) TYPE=MyISAM;
# --------------------------------------------------------

#
# Estrutura da tabela `NonIPTraffic`
#

DROP TABLE IF EXISTS NonIPTraffic;
CREATE TABLE NonIPTraffic (
  IPaddress char(16) NOT NULL default '',
  IPXsent int(11) default NULL,
  IPXrcvd int(11) default NULL,
  OSIsent int(11) default NULL,
  OSIrcvd int(11) default NULL,
  DLCsent int(11) default NULL,
  DLCrcvd int(11) default NULL,
  ARPsent int(11) default NULL,
  ARPrcvd int(11) default NULL,
  DECNETsent int(11) default NULL,
  DECNETrcvd int(11) default NULL,
  ATALKsent int(11) default NULL,
  ATALKrcvd int(11) default NULL,
  NBIOSsent int(11) default NULL,
  NBIOSrcvd int(11) default NULL,
  OtherSent int(11) default NULL,
  OtherRcvd int(11) default NULL,
  PRIMARY KEY  (IPaddress)
) TYPE=MyISAM;
# --------------------------------------------------------

#
# Estrutura da tabela `TCPsessions`
#

DROP TABLE IF EXISTS TCPsessions;
CREATE TABLE TCPsessions (
  Client char(18) default NULL,
  Server char(18) default NULL,
  ClientPort int(11) default NULL,
  ServerPort int(11) default NULL,
  DataSent char(16) default NULL,
  DataRcvd char(16) default NULL,
  FirstSeen datetime default NULL,
  LastSeen datetime default NULL,
  ID int(11) NOT NULL auto_increment,
  PRIMARY KEY  (ID),
  KEY ID (ID)
) TYPE=MyISAM;



Received: (qmail 21366 invoked from network); 23 May 2002 02:17:50 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 23 May 2002 02:17:50 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.12.3/8.11.6) with ESMTP id g4N2HvJ8000645
	for <ntop-dev@unipi.it>; Thu, 23 May 2002 04:17:58 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4N2Hl424638
	for <ntop-dev@unipi.it>; Thu, 23 May 2002 04:17:47 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Thu, 23 May 2002 04:17:59 +0200
Message-ID: 20020523_021759_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author burton)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop/docs
In directory jabber:/tmp/cvs-serv5557

Modified Files:
	1STRUN.txt
Log Message:
Update documentation to include use of the -A parameter.

-----Burton (ref: NA)



Received: (qmail 21644 invoked from network); 23 May 2002 02:38:12 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 23 May 2002 02:38:12 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39])
	by cache.unipi.it (8.12.3/8.11.6) with ESMTP id g4N2cIJ8001587
	for <ntop-dev@unipi.it>; Thu, 23 May 2002 04:38:18 +0200 (MEST)
Received: from swallowtail ([12.239.135.207]) by rwcrmhc53.attbi.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP
          id <20020523023812.YVMD11659.rwcrmhc53.attbi.com@swallowtail>;
          Thu, 23 May 2002 02:38:12 +0000
From: "Burton M. Strauss III" <Burton@ntopsupport.com>
To: <ntop-dev@Unipi.IT>
Cc: <ricardoj@tridata.com.br>, "Luca Deri" <deri@ntop.org>
Subject: RE: [Ntop-dev] Field error in IPTraffic Table
Date: Wed, 22 May 2002 21:43:45 -0500
Message-ID: <JIEPJGFPFMFIGBNCPKGGOEBKCIAA.Burton@ntopsupport.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
In-Reply-To: <200205221148.37551.ricardoj@tridata.com.br>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Thanks for the script... however, there are a lot of differences from your
version to the one in docs/

I was wondering how much of these are meaningful?  Luckily I know quite
about SQL, albeit not much about MySQL... in the future, it would be helpful
if you could reduce the changes to the bare minimum...

The default NULL and the drop table, plus the comments I'm ok with...
(Basically in my experience, this is what happens when you let the DBMS
auto-generate a script - it puts all the optional stuff in...)

     INT vs int(11)  -- shouldn't matter, that's probably the default int
format (11 digits) in whatever version you're running.

     TYPE=MyISAM; on each table -- don't know that one...  I'll assume it's
not meaningful..

So, all that aside, the meaningful part of the diff is this:

--- mySQLdefs.txt       Wed Jan  2 02:17:05 2002
+++ mySQLdefs.txt.2     Wed May 22 21:31:52 2002
@@ -23,12 +23,12 @@
      (
      IPaddress            CHAR(16) NOT NULL,
-     TCPsentLocally       INT,
-     TCPsentRemotely      INT,
-     TCPrcvdLocally       INT,
-     TCPrcvdFromRemote    INT,
-     UDPsentLocally       INT,
-     UDPsentRemotely      INT,
-     UDPrcvdLocally       INT,
-     UDPrcvdFromRemote    INT,
+  TCPSentLoc int,
+  TCPSentRem int,
+  TCPrcvdLoc int,
+  TCPrcvdFromRem int,
+  UDPSentLoc int,
+  UDPSentRem int,
+  UDPrcvdLoc int,
+  UDPrcvdFromRem int,
      ICMPsent             INT,
      ICMPrcvd             INT,

Which is just a few field name changes...

Anybody have preferences (code is in sql.c ~194) --- if nobody squawks, I'll
update the .txt file tomorrow...

-----Burton


-----Original Message-----
From: ntop-dev-admin@unipi.it [mailto:ntop-dev-admin@unipi.it]On Behalf
Of Ricardo Jorge
Sent: Wednesday, May 22, 2002 9:49 AM
To: ntop-dev@Unipi.IT
Subject: [Ntop-dev] Field error in IPTraffic Table


Hi there !

	When I try to save (using UDP connection) from NTOP to an ODBC database,
some
errors happened and I've found that some fields in the IPTraffic are
incorrect (I mean : what was defined in the /database dir in the
MySQLdefs.txt file) .

	As soon as I fixed it, I was able to save to my database.

	I am sending the correct tables below. I hope this help.

	Thank you all for this incredible tool.


			Ricardo Jorge

P.S.	I also developed a small module using Tcl to receive the UDP connection
and save SQL statements into an ODBC database. If someone think this could
help, I can send it to the list.

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

# phpMyAdmin MySQL-Dump
# version 2.2.5
# http://phpwizard.net/phpMyAdmin/
# http://phpmyadmin.sourceforge.net/ (download page)
#
# Máquina: 127.0.0.1
# Data de Criação: 22-Mai-2002 às 10:12
# Versão do servidor: 3.23.46
# versão do PHP: 4.1.1
# Base de Dados : `NTOP`
# --------------------------------------------------------

#
# Estrutura da tabela `Hosts`
#

DROP TABLE IF EXISTS Hosts;
CREATE TABLE Hosts (
  ID int(11) NOT NULL auto_increment,
  IPaddress char(16) NOT NULL default '',
  MACaddress char(50) default NULL,
  NICvendor char(32) default NULL,
  OsName char(50) default NULL,
  PktRcvd int(11) default NULL,
  PktSent int(11) default NULL,
  PktMulticastSent int(11) default NULL,
  PktBroadcastSent int(11) default NULL,
  DataSent int(11) default NULL,
  DataRcvd int(11) default NULL,
  FirstSeen datetime default NULL,
  LastSeen datetime default NULL,
  DataMulticastSent int(11) default NULL,
  DataBroadcastSent int(11) default NULL,
  PRIMARY KEY  (ID),
  KEY ID (ID)
) TYPE=MyISAM;
# --------------------------------------------------------

#
# Estrutura da tabela `IPtraffic`
#

DROP TABLE IF EXISTS IPtraffic;
CREATE TABLE IPtraffic (
  IPaddress char(16) NOT NULL default '',
  TCPSentLoc int(11) default NULL,
  TCPSentRem int(11) default NULL,
  TCPrcvdLoc int(11) default NULL,
  TCPrcvdFromRem int(11) default NULL,
  UDPSentLoc int(11) default NULL,
  UDPSentRem int(11) default NULL,
  UDPrcvdLoc int(11) default NULL,
  UDPrcvdFromRem int(11) default NULL,
  ICMPsent int(11) default NULL,
  ICMPrcvd int(11) default NULL,
  OSPFsent int(11) default NULL,
  OSPFrcvd int(11) default NULL,
  IGMPsent int(11) default NULL,
  IGMPrcvd int(11) default NULL,
  PRIMARY KEY  (IPaddress)
) TYPE=MyISAM;
# --------------------------------------------------------

#
# Estrutura da tabela `NameMapper`
#

DROP TABLE IF EXISTS NameMapper;
CREATE TABLE NameMapper (
  IPaddress char(16) NOT NULL default '',
  Name char(50) default NULL,
  PRIMARY KEY  (IPaddress)
) TYPE=MyISAM;
# --------------------------------------------------------

#
# Estrutura da tabela `NonIPTraffic`
#

DROP TABLE IF EXISTS NonIPTraffic;
CREATE TABLE NonIPTraffic (
  IPaddress char(16) NOT NULL default '',
  IPXsent int(11) default NULL,
  IPXrcvd int(11) default NULL,
  OSIsent int(11) default NULL,
  OSIrcvd int(11) default NULL,
  DLCsent int(11) default NULL,
  DLCrcvd int(11) default NULL,
  ARPsent int(11) default NULL,
  ARPrcvd int(11) default NULL,
  DECNETsent int(11) default NULL,
  DECNETrcvd int(11) default NULL,
  ATALKsent int(11) default NULL,
  ATALKrcvd int(11) default NULL,
  NBIOSsent int(11) default NULL,
  NBIOSrcvd int(11) default NULL,
  OtherSent int(11) default NULL,
  OtherRcvd int(11) default NULL,
  PRIMARY KEY  (IPaddress)
) TYPE=MyISAM;
# --------------------------------------------------------

#
# Estrutura da tabela `TCPsessions`
#

DROP TABLE IF EXISTS TCPsessions;
CREATE TABLE TCPsessions (
  Client char(18) default NULL,
  Server char(18) default NULL,
  ClientPort int(11) default NULL,
  ServerPort int(11) default NULL,
  DataSent char(16) default NULL,
  DataRcvd char(16) default NULL,
  FirstSeen datetime default NULL,
  LastSeen datetime default NULL,
  ID int(11) NOT NULL auto_increment,
  PRIMARY KEY  (ID),
  KEY ID (ID)
) TYPE=MyISAM;


_______________________________________________
Ntop-dev mailing list
Ntop-dev@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-dev


Received: (qmail 23117 invoked from network); 23 May 2002 07:12:50 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 23 May 2002 07:12:50 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.12.3/8.11.6) with ESMTP id g4N7CuJ8014779
	for <ntop-dev@unipi.it>; Thu, 23 May 2002 09:12:56 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4N7Cj425170
	for <ntop-dev@unipi.it>; Thu, 23 May 2002 09:12:45 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Thu, 23 May 2002 09:12:58 +0200
Message-ID: 20020523_071258_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv17993

Modified Files:
	address.c
Log Message:
Minor changes: added comment and shifted some rows.




Received: (qmail 23194 invoked from network); 23 May 2002 07:13:10 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 23 May 2002 07:13:10 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.12.3/8.11.6) with ESMTP id g4N7DGJ8014810
	for <ntop-dev@unipi.it>; Thu, 23 May 2002 09:13:16 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4N7D4425174
	for <ntop-dev@unipi.it>; Thu, 23 May 2002 09:13:05 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Thu, 23 May 2002 09:13:18 +0200
Message-ID: 20020523_071318_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv18000

Modified Files:
	ntop.h
Log Message:
Fixed #include for sys/syslog.h



Received: (qmail 23280 invoked from network); 23 May 2002 07:13:38 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 23 May 2002 07:13:38 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.12.3/8.11.6) with ESMTP id g4N7DjJ8014825
	for <ntop-dev@unipi.it>; Thu, 23 May 2002 09:13:45 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4N7DX425178
	for <ntop-dev@unipi.it>; Thu, 23 May 2002 09:13:34 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Thu, 23 May 2002 09:13:47 +0200
Message-ID: 20020523_071347_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv18011

Modified Files:
	reportUtils.c
Log Message:
Fixed sort for Data Sent/Throughput



Received: (qmail 23721 invoked from network); 23 May 2002 07:38:04 -0000
Received: from mailserver.unipi.it (HELO cache.unipi.it) (131.114.21.25)
  by 0 with SMTP; 23 May 2002 07:38:04 -0000
Organization:  Centro di Servizi per la rete di Ateneo - Pisa - Italy
Received: from jake.unipi.it (jake.unipi.it [131.114.21.22])
	by cache.unipi.it (8.12.3/8.11.6) with ESMTP id g4N7cBJ8016146
	for <ntop-dev@unipi.it>; Thu, 23 May 2002 09:38:11 +0200 (MEST)
Received: from localhost ([195.31.151.66])
	by jake.unipi.it (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g4N7bx425232
	for <ntop-dev@unipi.it>; Thu, 23 May 2002 09:37:59 +0200
X-Authentication-Warning: jake.unipi.it: Host [195.31.151.66] claimed to be localhost
To: ntop-dev@Unipi.IT
From: cvs-commit@ntop.org
X-Mailer: Perl script "/export/home/ntop/CVSROOT/sendMail.pl" using Mail::Sender \
0.7.13 by Jenda Krynicky  running on localhost (127.0.0.1)
Date: Thu, 23 May 2002 09:38:13 +0200
Message-ID: 20020523_073813_007147.cvs-commit@ntop.org
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Subject: [Ntop-dev] New ntop commit (author deri)
Sender: ntop-dev-admin@unipi.it
Errors-To: ntop-dev-admin@unipi.it
X-BeenThere: ntop-dev@unipi.it
X-Mailman-Version: 2.0.10
Precedence: bulk
Reply-To: ntop-dev@unipi.it
List-Unsubscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=unsubscribe>
List-Id: Ntop developers list <ntop-dev.unipi.it>
List-Post: <mailto:ntop-dev@unipi.it>
List-Help: <mailto:ntop-dev-request@unipi.it?subject=help>
List-Subscribe: <http://listgateway.unipi.it/mailman/listinfo/ntop-dev>,
	<mailto:ntop-dev-request@unipi.it?subject=subscribe>
List-Archive: <http://listgateway.unipi.it/pipermail/ntop-dev/>

Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv21147

Modified Files:
	reportUtils.c
Log Message:
Fixed bug that prevented 'receive only hosts' (e.g. multicast addresses) to showwho \
contacted them.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic