cvs-commit | 8 Jun 2004 16:24

New ntop commit (author deri)

Update of /export/home/ntop/ntop/plugins
In directory unknown:/tmp/cvs-serv10102

Modified Files:
	rrdPlugin.c 
Log Message:
Fixed buffer overflow problem
Cole | 9 Jun 2004 01:15
Favicon

Ntop 3 & FreeBSD 4.9 Problem

Hi

Ive just installed Ntop-3.0 out of ports on FreeBSD-4.9.  Now all our
servers are FreeBSD 4.9, and on a few of them, i get the following errors.
And this is a clean install of Ntop-3.0.
All the servers im having problems on are not even the same hardware. But
they are all running the same kernel and same environment.  The funny thing
is, it happens on some, and not others, so i was wondering if any of you
have any ideas or any suggestions as to how to fix this or at least why it
is happening and can point me in the right directions.

Oh, Ntop has full read/write access to those plugins, and they are all in
that specified directory. And they were all installed when Ntop-3.0 was
installed out of ports.

Thanks
/Cole

Heres the Errors.

Wed Jun  9 01:07:52 2004  **WARNING** Unable to locate plugin
'/usr/local/lib/ntop/plugins/icmpPlugin.so' entry function [Invalid shared
object handle 0x28070300]
Wed Jun  9 01:07:52 2004  THREADMGMT: Packet processor thread running...
Wed Jun  9 01:07:52 2004  THREADMGMT: Fingerprint scan thread running...
Wed Jun  9 01:07:52 2004  THREADMGMT: Idle host scan thread running...
Wed Jun  9 01:07:52 2004  THREADMGMT: Address resolution thread running...
Wed Jun  9 01:07:52 2004  CHKVER: Checking current ntop version at
version.ntop.org/version.xml
Wed Jun  9 01:07:52 2004  **WARNING** Unable to locate plugin
(Continue reading)

Mike Slifcak | 9 Jun 2004 03:48

Re: Ntop 3 & FreeBSD 4.9 Problem

Cole wrote:
> Hi
> 
> Ive just installed Ntop-3.0 out of ports on FreeBSD-4.9.  Now all our
> servers are FreeBSD 4.9, and on a few of them, i get the following errors.
> And this is a clean install of Ntop-3.0.
> All the servers im having problems on are not even the same hardware. But
> they are all running the same kernel and same environment.  The funny thing
> is, it happens on some, and not others, so i was wondering if any of you
> have any ideas or any suggestions as to how to fix this or at least why it
> is happening and can point me in the right directions.
> 
> Oh, Ntop has full read/write access to those plugins, and they are all in
> that specified directory. And they were all installed when Ntop-3.0 was
> installed out of ports.
> 
> Thanks
> /Cole
> 
> Heres the Errors.
> 
> Wed Jun  9 01:07:52 2004  **WARNING** Unable to locate plugin
> '/usr/local/lib/ntop/plugins/icmpPlugin.so' entry function [Invalid shared
> object handle 0x28070300]
> Wed Jun  9 01:07:52 2004  THREADMGMT: Packet processor thread running...
> Wed Jun  9 01:07:52 2004  THREADMGMT: Fingerprint scan thread running...
> Wed Jun  9 01:07:52 2004  THREADMGMT: Idle host scan thread running...
> Wed Jun  9 01:07:52 2004  THREADMGMT: Address resolution thread running...
> Wed Jun  9 01:07:52 2004  CHKVER: Checking current ntop version at
> version.ntop.org/version.xml
(Continue reading)

Wayne So | 9 Jun 2004 04:48
Picon

zlib : html page no data

Hi,

Any fix has been released for the bug "gzflush error(-2)" ? ? ?

I have updated the redhat kernel to 2.4.21-15ELsmp. 

I have tried to compile the ntop with and without zlib, but the result is same (no html page response to user).

Please advise.

Wayne
Burton M. Strauss III | 9 Jun 2004 05:07

RE: Ntop 3 & FreeBSD 4.9 Problem

Not a clue.  I've tried a couple of times to get the ports updated with
versions I understand, but my submissions get ignored.  So take it up with
whomever is packaging it.  Or try my port package in the source tree.

-----Burton

> -----Original Message-----
> From: ntop-dev-bounces <at> unipi.it [mailto:ntop-dev-bounces <at> unipi.it]On
> Behalf Of Cole
> Sent: Tuesday, June 08, 2004 6:15 PM
> To: ntop-dev <at> Unipi.IT
> Subject: [Ntop-dev] Ntop 3 & FreeBSD 4.9 Problem
>
>
> Hi
>
> Ive just installed Ntop-3.0 out of ports on FreeBSD-4.9.  Now all our
> servers are FreeBSD 4.9, and on a few of them, i get the following errors.
> And this is a clean install of Ntop-3.0.
> All the servers im having problems on are not even the same hardware. But
> they are all running the same kernel and same environment.  The
> funny thing
> is, it happens on some, and not others, so i was wondering if any of you
> have any ideas or any suggestions as to how to fix this or at least why it
> is happening and can point me in the right directions.
>
> Oh, Ntop has full read/write access to those plugins, and they are all in
> that specified directory. And they were all installed when Ntop-3.0 was
> installed out of ports.
>
(Continue reading)

Burton M. Strauss III | 9 Jun 2004 05:07

RE: zlib : html page no data

Nobody is working on it that I'm aware of.  Basically it doesn't fail for
Luca or me...

The zlib folks thought it was some type of memory corruption in the malloc()
chains, but the only way to catch that would be for somebody for whom it's
failing to run under valgrind and catch it.

The init.d/ script in the ntop source tree has a valgrind option, so it's
possible - you'll need a current valgrind installed and then try
/etc/init.d/ntop valgrind.

Then let it run and see if there's anything obvious in the valgrind logs.

-----Burton

> -----Original Message-----
> From: ntop-dev-bounces <at> unipi.it [mailto:ntop-dev-bounces <at> unipi.it]On
> Behalf Of Wayne So
> Sent: Tuesday, June 08, 2004 9:48 PM
> To: ntop-dev <at> Unipi.IT
> Subject: [Ntop-dev] zlib : html page no data
>
>
> Hi,
>
> Any fix has been released for the bug "gzflush error(-2)" ? ? ?
>
> I have updated the redhat kernel to 2.4.21-15ELsmp.
>
> I have tried to compile the ntop with and without zlib, but the
(Continue reading)

Wayne So | 9 Jun 2004 11:35
Picon

RE: zlib : html page no data

Hi Buton,

I found the problem is seems solved, when my browser disable HTTP/1.1 option. 

is ntop support HTTP/1.0 request only ? 

Regards,
Wayne

On Tue, 8 Jun 2004 22:07 , 'Burton M. Strauss III' <Burton <at> ntopsupport.com> sent:

>Nobody is working on it that I'm aware of.  Basically it doesn't fail for
>Luca or me...
>
>The zlib folks thought it was some type of memory corruption in the malloc()
>chains, but the only way to catch that would be for somebody for whom it's
>failing to run under valgrind and catch it.
>
>The init.d/ script in the ntop source tree has a valgrind option, so it's
>possible - you'll need a current valgrind installed and then try
>/etc/init.d/ntop valgrind.
>
>Then let it run and see if there's anything obvious in the valgrind logs.
>
>-----Burton
>
>> -----Original Message-----
>> From: ntop-dev-bounces <at> unipi.it [ntop-dev-bounces <at> unipi.it','','','')">ntop-dev-bounces <at> unipi.it]On
>> Behalf Of Wayne So
>> Sent: Tuesday, June 08, 2004 9:48 PM
(Continue reading)

Burton M. Strauss III | 9 Jun 2004 15:06

RE: zlib : html page no data

Nope.  But there are some differences in the 1.1-style request.

Again, the only way to figure out what's up is to run under valgrind or
another memory allocation monitor.

-----Burton

> -----Original Message-----
> From: ntop-dev-bounces <at> unipi.it [mailto:ntop-dev-bounces <at> unipi.it]On
> Behalf Of Wayne So
> Sent: Wednesday, June 09, 2004 4:35 AM
> To: 'Burton M. Strauss III'; ntop-dev <at> Unipi.IT
> Subject: RE: [Ntop-dev] zlib : html page no data
>
>
> Hi Buton,
>
> I found the problem is seems solved, when my browser disable
> HTTP/1.1 option.
>
> is ntop support HTTP/1.0 request only ?
>
> Regards,
> Wayne
>
>
>
> On Tue, 8 Jun 2004 22:07 , 'Burton M. Strauss III'
> <Burton <at> ntopsupport.com> sent:
>
(Continue reading)

Cole | 9 Jun 2004 15:30
Favicon

Re: Ntop 3 & FreeBSD 4.9 Problem

Hey

The problem occured on the machine i built it on. I installed and compiled
everything on that machine, and it gave me errors. I built the package from
ports. Downloaded .tgz. compiled, installed. and ntop runs, but it gives out
those errors.

This isnt before moving it or anything, it was built on that pc, and thats
the one that is giving the problems.

/Cole

----- Original Message -----
From: "Mike Slifcak" <slif <at> bellsouth.net>
To: <ntop-dev <at> unipi.it>
Sent: Wednesday, June 09, 2004 3:48 AM
Subject: Re: [Ntop-dev] Ntop 3 & FreeBSD 4.9 Problem

> Cole wrote:
> > Hi
> >
> > Ive just installed Ntop-3.0 out of ports on FreeBSD-4.9.  Now all our
> > servers are FreeBSD 4.9, and on a few of them, i get the following
errors.
> > And this is a clean install of Ntop-3.0.
> > All the servers im having problems on are not even the same hardware.
But
> > they are all running the same kernel and same environment.  The funny
thing
> > is, it happens on some, and not others, so i was wondering if any of you
(Continue reading)

Burton M. Strauss III | 9 Jun 2004 15:40

RE: Ntop 3 & FreeBSD 4.9 Problem

The message is a simple pass through from the underlying OS function. ntop
tried it, it failed, here's what the OS said. Bada-bing Bada-boom...

I notice, Googling for the error message, that you received no reply from
the FreeBSD list...

Something is wrong with your setup.  No clue what.  But there are lots of
FreeBSD uses - last time the stats were run (3Jun), it was 394 FreeBSD
4.9...

Go back and READ the output from your make - there will be errors or
warnings in there, likely that you ignored... don't ignore, fix...

-----Burton

> -----Original Message-----
> From: ntop-dev-bounces <at> unipi.it [mailto:ntop-dev-bounces <at> unipi.it]On
> Behalf Of Cole
> Sent: Wednesday, June 09, 2004 8:31 AM
> To: ntop-dev <at> Unipi.IT
> Subject: Re: [Ntop-dev] Ntop 3 & FreeBSD 4.9 Problem
>
>
> Hey
>
> The problem occured on the machine i built it on. I installed and compiled
> everything on that machine, and it gave me errors. I built the
> package from
> ports. Downloaded .tgz. compiled, installed. and ntop runs, but
> it gives out
(Continue reading)


Gmane